[Bug 2048529] Re: Do we need to keep libvirt-bin forever?
Christian Ehrhardt
2048529 at bugs.launchpad.net
Wed Jan 10 06:46:08 UTC 2024
Here is what happens when taking the default except where just hitting enter would abort the upgrade.
Logging all decisions (except the do you really want to do that inside ssh)
...
Xenial -> Bionic
3 installed packages are no longer supported by Canonical. You can
still get support from the community.
4 packages are going to be removed. 227 new packages are going to be
installed. 436 packages are going to be upgraded.
You have to download a total of 350 M. This download will take about
1 minute with your connection.
Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.
Continue [yN] Details [d]
y
39 packages are going to be removed.
Continue [yN] Details [d]d
...
Remove: initscripts insserv libbind9-140 libcryptsetup4
libdns-export162 libdns162 libevent-2.0-5 libgdbm3 libicu55
libisc-export160 libisc160 libisccc140 libisccfg140 libjson-c2
liblwres141 libmpfr4 libpng12-0 libprocps4 libpython3.5-minimal
libpython3.5-stdlib libreadline6 libxtables11 python3.5
python3.5-minimal sysv-rc
Remove (was auto installed) cgmanager libboost-iostreams1.58.0
libboost-random1.58.0 libboost-system1.58.0 libboost-thread1.58.0
libcgmanager0 libnih-dbus1 libpython3.5 libx86-1 libxen-4.6
linux-headers-4.4.0-210 linux-headers-4.4.0-210-generic pm-utils
vbetool
Continue [yN] Details [d]
N
Restart required
(has to be done to be able to enter the next upgrade)
Continue [yN]
Y
---
# Now Bionic to Focal
16 installed packages are no longer supported by Canonical. You can
still get support from the community.
3 packages are going to be removed. 195 new packages are going to be
installed. 603 packages are going to be upgraded.
You have to download a total of 453 M. This download will take about
1 minute with your connection.
Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.
Continue [yN] Details [d]
Remove: btrfs-tools command-not-found-data gcc-5-base gcc-6-base
libffi6 libhogweed4 liblvm2app2.2 liblvm2cmd2.02 libnettle6 libnih1
libplymouth4 libvirt-bin ureadahead
Remove (was auto installed) augeas-lenses bridge-utils cgmanager
ebtables efibootmgr gcc-8-base libargon2-0 libaugeas0 libbind9-160
libbluetooth3 libboost-iostreams1.58.0 libboost-random1.58.0
libboost-system1.58.0 libboost-thread1.58.0 libbrlapi0.6
libcgmanager0 libdns-export1100 libdns1100 libevent-2.1-6 libgdbm5
libicu60 libip4tc0 libip6tc0 libiptc0 libirs160 libisc-export169
libisc169 libisccc160 libisccfg160 libjson-c3 liblwres160 libnetcf1
libnih-dbus1 libntfs-3g88 libperl5.26 libprocps6 libpython3.5
libpython3.6 libpython3.6-minimal libpython3.6-stdlib libreadline7
libsdl1.2debian libvpx5 libx86-1 libxen-4.6 libxen-4.9
libxenstore3.0 libxentoolcore1 linux-headers-4.15.0-213
linux-headers-4.15.0-213-generic linux-headers-4.4.0-210
linux-headers-4.4.0-210-generic linux-image-4.4.0-210-generic
linux-modules-4.4.0-210-generic nplan perl-modules-5.26 pm-utils
python3-asn1crypto python3-pam python3.6 python3.6-minimal vbetool
xdelta3
Continue [yN] Details [d]
N
Restart required
Continue [yN]
y
$ apt-cache policy libvirt-bin libvirt-clients; virsh -v
libvirt-bin:
Installed: 4.0.0-1ubuntu8.21
Candidate: 4.0.0-1ubuntu8.21
Version table:
*** 4.0.0-1ubuntu8.21 100
100 /var/lib/dpkg/status
libvirt-clients:
Installed: 6.0.0-0ubuntu8.16
Candidate: 6.0.0-0ubuntu8.16
Version table:
*** 6.0.0-0ubuntu8.16 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
100 /var/lib/dpkg/status
6.0.0-0ubuntu8 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
6.0.0
So, if paying attention and saying "no" there, it actually is just fine.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2048529
Title:
Do we need to keep libvirt-bin forever?
Status in libvirt package in Ubuntu:
Incomplete
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
# History
In debian/1.2.10-1 7ca6a8a libvirt-bin was changed to be a
transitional.
This will need to be retained until an LTS change happens so for Ubuntu this was kept and up until Xenial libvirt-bin was a package with content.
Then it followed Debian
Later in yakkety yak and later it got changed to be a transitional in 1.3.1-2
Since we'd need to wait for an Ubuntu LTS 1.3.3-2ubuntu1 kept libvirt-bin (the transitional) around this stayed another while.
Then post Bionic we dropped even that and libvirt-bin was no more (no
package, no transitional, no nothing).
# Problem
This is kind of how transitions work, but now we've got a report that
if people installed e.g. on Xenial and just `apt install libvirt-bin`
to get virsh and other things back then. And upgrade through to e.g.
focal or even later - they got the replacement packages like `libvirt-
clients` removed (presumably as nothing depended on it anymore).
TODO:
This history is a bit convoluted as the timing was so different due to waiting until after LTSes.
But we need to:
1. Install xenial, install libvirt-bin, do-release-upgrade through to Jammy, check if libvirt-clients is still around or not.
2. if not, then this is a bug and we need to find how to avoid.
Potentially this is needed in all >Bionic and need to retain the
libvirt-bin transitional forever? This feels so worng, with a deeper
look I hope we can find what is actually going on and find a better
solution.
P.S. original reporter is Mmike on #ubuntu-server in IRC
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2048529/+subscriptions
More information about the foundations-bugs
mailing list