Hi!
Following How to upgrade a Debian template in-place | Qubes OS I read:
[user@debian-<new> ~]$ sudo sed -i 's/<old-name>/<new-name>/g' /etc/apt/sources.list
[user@debian-<new> ~]$ sudo sed -i 's/<old-name>/<new-name>/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 Index of /debian buster InRelease
Get:2 Index of /debian-security buster/updates InRelease [65.4 kB]
Hit:3 Index of /r4.0/vm/ buster InRelease
Get:4 Index of /debian-security buster/updates/main amd64 Packages [312 kB]
Get:5 Index of /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 Index of /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 Index of /debian buster main contrib non-free
#deb-src Index of /debian buster main contrib non-free
deb Index of /debian-security buster/updates main contrib non-free
#deb-src Index of /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] Index of /r4.0/vm/ buster main
#deb-src Index of /r4.0/vm/ buster main
# Qubes updates candidates repository
#deb [arch=amd64] Index of /r4.0/vm/ buster-testing main
#deb-src Index of /r4.0/vm/ buster-testing main
# Qubes security updates testing repository
#deb [arch=amd64] Index of /r4.0/vm/ buster-securitytesting main
#deb-src Index of /r4.0/vm/ buster-securitytesting main
# Qubes experimental/unstable repository
#deb [arch=amd64] Index of /r4.0/vm/ buster-unstable main
#deb-src Index of /r4.0/vm/ buster-unstable main
# Qubes Tor updates repositories
# Main qubes updates repository
#deb [arch=amd64] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster main
#deb-src tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster main
# Qubes updates candidates repository
#deb [arch=amd64] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster-testing main
#deb-src tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster-testing main
# Qubes security updates testing repository
#deb [arch=amd64] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster-securitytesting main
#deb-src tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster-securitytesting main
# Qubes experimental/unstable repository
#deb [arch=amd64] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster-unstable main
#deb-src tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.0/vm buster-unstable main
As no debian-11 exists in the files, it also won't be replaced with debian-11. Sorry, I'm not a debian expert, but this must be wrong!
Regards,
Ulrich