Verification part II:
upgrade to proposed, then also re-install (to showcase future updates)
You can see that this update not only finally works, but also correctly backs up the former version (there is nothing we can do for former former versions).
root@j-vm:~# apt-cache policy qemu-block-extra; apt install -y --reinstall qemu-block-extra; systemctl status run-qemu.mount; ls -laF /run/qemu/
qemu-block-extra:
Installed: 1:6.2+dfsg-2ubuntu6.16
Candidate: 1:6.2+dfsg-2ubuntu6.17
Version table:
1:6.2+dfsg-2ubuntu6.17 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
*** 1:6.2+dfsg-2ubuntu6.16 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
100 /var/lib/dpkg/status
1:6.2+dfsg-2ubuntu6 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
Suggested packages:
samba vde2 debootstrap
The following packages will be upgraded:
qemu-block-extra qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
6 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
Need to get 15.4 MB of archives.
After this operation, 5120 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-system-gui amd64 1:6.2+dfsg-2ubuntu6.17 [220 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-block-extra amd64 1:6.2+dfsg-2ubuntu6.17 [68.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-system-x86 amd64 1:6.2+dfsg-2ubuntu6.17 [10.1 MB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-system-common amd64 1:6.2+dfsg-2ubuntu6.17 [2047 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-utils amd64 1:6.2+dfsg-2ubuntu6.17 [1525 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-system-data all 1:6.2+dfsg-2ubuntu6.17 [1431 kB]
Fetched 15.4 MB in 3s (5868 kB/s)
(Reading database ... 72988 files and directories currently installed.)
Preparing to unpack .../0-qemu-system-gui_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ...
Unpacking qemu-system-gui (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.16) ...
Preparing to unpack .../1-qemu-block-extra_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ...
Unpacking qemu-block-extra (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.16) ...
Preparing to unpack .../2-qemu-system-x86_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ...
Unpacking qemu-system-x86 (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.16) ...
Preparing to unpack .../3-qemu-system-common_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ...
Unpacking qemu-system-common (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.16) ...
Preparing to unpack .../4-qemu-utils_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ...
Unpacking qemu-utils (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.16) ...
Preparing to unpack .../5-qemu-system-data_1%3a6.2+dfsg-2ubuntu6.17_all.deb ...
Unpacking qemu-system-data (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.16) ...
Setting up qemu-system-common (1:6.2+dfsg-2ubuntu6.17) ...
Setting up qemu-system-data (1:6.2+dfsg-2ubuntu6.17) ...
Setting up qemu-utils (1:6.2+dfsg-2ubuntu6.17) ...
Setting up qemu-block-extra (1:6.2+dfsg-2ubuntu6.17) ...
Setting up qemu-system-x86 (1:6.2+dfsg-2ubuntu6.17) ...
Setting up qemu-system-gui (1:6.2+dfsg-2ubuntu6.17) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
● run-qemu.mount - Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there
Loaded: loaded (/proc/self/mountinfo; enabled; vendor preset: enabled)
Active: active (mounted) since Mon 2024-02-05 10:40:29 UTC; 2min 0s ago
Where: /run/qemu
What: tmpfs
Tasks: 0 (limit: 1171)
Memory: 8.0K
CPU: 2ms
CGroup: /system.slice/run-qemu.mount
Feb 05 10:40:29 j-vm systemd[1]: Mounting Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there...
Feb 05 10:40:29 j-vm systemd[1]: Mounted Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there.
total 0
drwxr-xr-x 3 root root 60 Feb 5 10:42 ./
drwxr-xr-x 29 root root 840 Feb 5 10:38 ../
drwxr-xr-x 2 root root 140 Feb 5 10:42 Debian_1_6.2+dfsg-2ubuntu6.16/
root@j-vm:~# sleep 10s
root@j-vm:~# apt-cache policy qemu-block-extra; apt install -y --reinstall qemu-block-extra; systemctl status run-qemu.mount; ls -laF /run/qemu/
qemu-block-extra:
Installed: 1:6.2+dfsg-2ubuntu6.17
Candidate: 1:6.2+dfsg-2ubuntu6.17
Version table:
*** 1:6.2+dfsg-2ubuntu6.17 500
500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1:6.2+dfsg-2ubuntu6.16 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
1:6.2+dfsg-2ubuntu6 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 40 not upgraded.
Need to get 68.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 qemu-block-extra amd64 1:6.2+dfsg-2ubuntu6.17 [68.1 kB]
Fetched 68.1 kB in 0s (144 kB/s)
(Reading database ... 72988 files and directories currently installed.)
Preparing to unpack .../qemu-block-extra_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ...
Unpacking qemu-block-extra (1:6.2+dfsg-2ubuntu6.17) over (1:6.2+dfsg-2ubuntu6.17) ...
Setting up qemu-block-extra (1:6.2+dfsg-2ubuntu6.17) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
● run-qemu.mount - Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there
Loaded: loaded (/proc/self/mountinfo; enabled; vendor preset: enabled)
Active: active (mounted) since Mon 2024-02-05 10:40:29 UTC; 2min 52s ago
Where: /run/qemu
What: tmpfs
Tasks: 0 (limit: 1171)
Memory: 8.0K
CPU: 2ms
CGroup: /system.slice/run-qemu.mount
Feb 05 10:40:29 j-vm systemd[1]: Mounting Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there...
Feb 05 10:40:29 j-vm systemd[1]: Mounted Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there.
total 0
drwxr-xr-x 4 root root 80 Feb 5 10:43 ./
drwxr-xr-x 29 root root 840 Feb 5 10:38 ../
drwxr-xr-x 2 root root 140 Feb 5 10:42 Debian_1_6.2+dfsg-2ubuntu6.16/
drwxr-xr-x 2 root root 140 Feb 5 10:43 Debian_1_6.2+dfsg-2ubuntu6.17/
Verification part II:
upgrade to proposed, then also re-install (to showcase future updates)
You can see that this update not only finally works, but also correctly backs up the former version (there is nothing we can do for former former versions).
root@j-vm:~# apt-cache policy qemu-block-extra; apt install -y --reinstall qemu-block-extra; systemctl status run-qemu.mount; ls -laF /run/qemu/ 2ubuntu6. 16 2ubuntu6. 17 6.2+dfsg- 2ubuntu6. 17 500 archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages 2ubuntu6. 16 500 archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages security. ubuntu. com/ubuntu jammy-security/main amd64 Packages dpkg/status 6.2+dfsg- 2ubuntu6 500 archive. ubuntu. com/ubuntu jammy/main amd64 Packages system- common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-system-gui amd64 1:6.2+dfsg- 2ubuntu6. 17 [220 kB] archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-block-extra amd64 1:6.2+dfsg- 2ubuntu6. 17 [68.1 kB] archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-system-x86 amd64 1:6.2+dfsg- 2ubuntu6. 17 [10.1 MB] archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-system-common amd64 1:6.2+dfsg- 2ubuntu6. 17 [2047 kB] archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-utils amd64 1:6.2+dfsg- 2ubuntu6. 17 [1525 kB] archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-system-data all 1:6.2+dfsg- 2ubuntu6. 17 [1431 kB] system- gui_1%3a6. 2+dfsg- 2ubuntu6. 17_amd64. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 16) ... block-extra_ 1%3a6.2+ dfsg-2ubuntu6. 17_amd64. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 16) ... system- x86_1%3a6. 2+dfsg- 2ubuntu6. 17_amd64. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 16) ... system- common_ 1%3a6.2+ dfsg-2ubuntu6. 17_amd64. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 16) ... utils_1% 3a6.2+dfsg- 2ubuntu6. 17_amd64. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 16) ... system- data_1% 3a6.2+dfsg- 2ubuntu6. 17_all. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 16) ... dfsg-2ubuntu6. 17) ... dfsg-2ubuntu6. 17) ... dfsg-2ubuntu6. 17) ... dfsg-2ubuntu6. 17) ... dfsg-2ubuntu6. 17) ... dfsg-2ubuntu6. 17) ...
qemu-block-extra:
Installed: 1:6.2+dfsg-
Candidate: 1:6.2+dfsg-
Version table:
1:
500 http://
*** 1:6.2+dfsg-
500 http://
500 http://
100 /var/lib/
1:
500 http://
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
qemu-
Suggested packages:
samba vde2 debootstrap
The following packages will be upgraded:
qemu-block-extra qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
6 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
Need to get 15.4 MB of archives.
After this operation, 5120 B of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 15.4 MB in 3s (5868 kB/s)
(Reading database ... 72988 files and directories currently installed.)
Preparing to unpack .../0-qemu-
Unpacking qemu-system-gui (1:6.2+
Preparing to unpack .../1-qemu-
Unpacking qemu-block-extra (1:6.2+
Preparing to unpack .../2-qemu-
Unpacking qemu-system-x86 (1:6.2+
Preparing to unpack .../3-qemu-
Unpacking qemu-system-common (1:6.2+
Preparing to unpack .../4-qemu-
Unpacking qemu-utils (1:6.2+
Preparing to unpack .../5-qemu-
Unpacking qemu-system-data (1:6.2+
Setting up qemu-system-common (1:6.2+
Setting up qemu-system-data (1:6.2+
Setting up qemu-utils (1:6.2+
Setting up qemu-block-extra (1:6.2+
Setting up qemu-system-x86 (1:6.2+
Setting up qemu-system-gui (1:6.2+
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host. self/mountinfo; enabled; vendor preset: enabled) slice/run- qemu.mount
● run-qemu.mount - Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there
Loaded: loaded (/proc/
Active: active (mounted) since Mon 2024-02-05 10:40:29 UTC; 2min 0s ago
Where: /run/qemu
What: tmpfs
Tasks: 0 (limit: 1171)
Memory: 8.0K
CPU: 2ms
CGroup: /system.
Feb 05 10:40:29 j-vm systemd[1]: Mounting Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there... 1_6.2+dfsg- 2ubuntu6. 16/ 2ubuntu6. 17 2ubuntu6. 17 2ubuntu6. 17 500 archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages dpkg/status 6.2+dfsg- 2ubuntu6. 16 500 archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages security. ubuntu. com/ubuntu jammy-security/main amd64 Packages 6.2+dfsg- 2ubuntu6 500 archive. ubuntu. com/ubuntu jammy/main amd64 Packages archive. ubuntu. com/ubuntu jammy-proposed/main amd64 qemu-block-extra amd64 1:6.2+dfsg- 2ubuntu6. 17 [68.1 kB] block-extra_ 1%3a6.2+ dfsg-2ubuntu6. 17_amd64. deb ... dfsg-2ubuntu6. 17) over (1:6.2+ dfsg-2ubuntu6. 17) ... dfsg-2ubuntu6. 17) ...
Feb 05 10:40:29 j-vm systemd[1]: Mounted Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there.
total 0
drwxr-xr-x 3 root root 60 Feb 5 10:42 ./
drwxr-xr-x 29 root root 840 Feb 5 10:38 ../
drwxr-xr-x 2 root root 140 Feb 5 10:42 Debian_
root@j-vm:~# sleep 10s
root@j-vm:~# apt-cache policy qemu-block-extra; apt install -y --reinstall qemu-block-extra; systemctl status run-qemu.mount; ls -laF /run/qemu/
qemu-block-extra:
Installed: 1:6.2+dfsg-
Candidate: 1:6.2+dfsg-
Version table:
*** 1:6.2+dfsg-
500 http://
100 /var/lib/
1:
500 http://
500 http://
1:
500 http://
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 40 not upgraded.
Need to get 68.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 68.1 kB in 0s (144 kB/s)
(Reading database ... 72988 files and directories currently installed.)
Preparing to unpack .../qemu-
Unpacking qemu-block-extra (1:6.2+
Setting up qemu-block-extra (1:6.2+
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host. self/mountinfo; enabled; vendor preset: enabled) slice/run- qemu.mount
● run-qemu.mount - Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there
Loaded: loaded (/proc/
Active: active (mounted) since Mon 2024-02-05 10:40:29 UTC; 2min 52s ago
Where: /run/qemu
What: tmpfs
Tasks: 0 (limit: 1171)
Memory: 8.0K
CPU: 2ms
CGroup: /system.
Feb 05 10:40:29 j-vm systemd[1]: Mounting Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there... 1_6.2+dfsg- 2ubuntu6. 16/ 1_6.2+dfsg- 2ubuntu6. 17/
Feb 05 10:40:29 j-vm systemd[1]: Mounted Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there.
total 0
drwxr-xr-x 4 root root 80 Feb 5 10:43 ./
drwxr-xr-x 29 root root 840 Feb 5 10:38 ../
drwxr-xr-x 2 root root 140 Feb 5 10:42 Debian_
drwxr-xr-x 2 root root 140 Feb 5 10:43 Debian_
Overall this verified that it works again.