On 12/16/21 10:05 PM, frag wrote:
Hi Ulrich,
You should try the following commands:
$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
$ sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/qubes-r4.list
And I recommand you to clone your qube first as described.
Hi!
thanks for the reply. In fact I found out later reading
https://www.qubes-os.org/doc/template/debian/upgrade/#release-specific-notes
Maybe there should be anchors for each debian release, so the referrer
could point to specific instructions.
Regards,
Ulrich
regards,
Fred.
On 12/16/21 8:43 PM, Ulrich Windl wrote:
Hi!
Following https://www.qubes-os.org/doc/template/debian/upgrade/ I read:
[user@debian- ~]$ sudo sed -i 's///g'
/etc/apt/sources.list
[user@debian- ~]$ sudo sed -i 's///g'
/etc/apt/sources.list.d/qubes-r4.list
Continuing the instructions the upgrade was amazingly fast, so I
doubt, looking into the files:
ser@debian-11:~$ sudo sed -i 's/debian-10/debian-11/g'
/etc/apt/sources.list
user@debian-11:~$ sudo sed -i 's/debian-10/debian-11/g'
/etc/apt/sources.list.d/qubes-r4.list
user@debian-11:~$ sudo apt update
Hit:1 https://deb.debian.org/debian buster InRelease
Get:2 https://deb.debian.org/debian-security buster/updates InRelease
[65.4 kB]
Hit:3 https://deb.qubes-os.org/r4.0/vm buster InRelease
Get:4 https://deb.debian.org/debian-security buster/updates/main amd64
Packages [312 kB]
Get:5 https://deb.debian.org/debian-security buster/updates/main
Translation-en [165 kB]
Fetched 543 kB in 1s (572 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
user@debian-11:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
gstreamer1.0-pulseaudio libjsoncpp1 lightning
linux-headers-4.19.0-13-amd64
linux-headers-4.19.0-13-common linux-headers-4.19.0-14-amd64
linux-headers-4.19.0-14-common linux-headers-4.19.0-16-amd64
linux-headers-4.19.0-16-common linux-headers-4.19.0-6-amd64
linux-headers-4.19.0-6-common linux-image-4.19.0-13-amd64
linux-image-4.19.0-14-amd64 linux-image-4.19.0-16-amd64
linux-image-4.19.0-6-amd64 python-daemon python-dbus python-lockfile
python-numpy python-olefile python-pil python-pkg-resources python-xdg
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
libnss3
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,161 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://deb.debian.org/debian-security buster/updates/main amd64
libnss3 amd64 2:3.42.1-1+deb10u4 [1,161 kB]
Fetched 1,161 kB in 1s (1,191 kB/s)
Reading changelogs... Done
(Reading database ... 220971 files and directories currently installed.)
Preparing to unpack .../libnss3_2%3a3.42.1-1+deb10u4_amd64.deb ...
Unpacking libnss3:amd64 (2:3.42.1-1+deb10u4) over (2:3.42.1-1+deb10u3)
...
Setting up libnss3:amd64 (2:3.42.1-1+deb10u4) ...
Processing triggers for libc-bin (2.28-10) ...
user@debian-11:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer
required:
gstreamer1.0-pulseaudio libjsoncpp1 lightning
linux-headers-4.19.0-13-amd64
linux-headers-4.19.0-13-common linux-headers-4.19.0-14-amd64
linux-headers-4.19.0-14-common linux-headers-4.19.0-16-amd64
linux-headers-4.19.0-16-common linux-headers-4.19.0-6-amd64
linux-headers-4.19.0-6-common linux-image-4.19.0-13-amd64
linux-image-4.19.0-14-amd64 linux-image-4.19.0-16-amd64
linux-image-4.19.0-6-amd64 python-daemon python-dbus python-lockfile
python-numpy python-olefile python-pil python-pkg-resources python-xdg
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@debian-11:~$ cat /etc/apt/sources.list
deb https://deb.debian.org/debian buster main contrib non-free
#deb-src https://deb.debian.org/debian buster main contrib non-free
deb https://deb.debian.org/debian-security buster/updates main contrib
non-free
#deb-src https://deb.debian.org/debian-security buster/updates main
contrib non-free
user@debian-11:~$ cat /etc/apt/sources.list.d/qubes-r4.list
# Main qubes updates repository
deb [arch=amd64] https://deb.qubes-os.org/r4.0/vm buster main
#deb-src https://deb.qubes-os.org/r4.0/vm buster main
# Qubes updates candidates repository
#deb [arch=amd64] https://deb.qubes-os.org/r4.0/vm buster-testing main
#deb-src https://deb.qubes-os.org/r4.0/vm buster-testing main
# Qubes security updates testing repository
#deb [arch=amd64] https://deb.qubes-os.org/r4.0/vm
buster-securitytesting main
#deb-src