Comment 6 for bug 2048529

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: Do we need to keep libvirt-bin forever?

I can now show that the behavior with just apt dist-upgrade behaves as I'd have expected.
libvirt-bin no more being in focal stays on 4.0.0-1ubuntu8.21 of bionic and keeps pulling things in

But indeed as reported when upgrading with do-release-upgrade the transitional package goes away and any following auto-remove would eliminate it.

In fact further upgrading to jammy in the test above does just that.
After another do-release-upgrade to in jammy it is gone.

ubuntu@x-lvb:~$ apt-cache policy libvirt-bin libvirt-clients; dpkg -S virsh; virsh -v
libvirt-bin:
  Installed: (none)
  Candidate: (none)
  Version table:
libvirt-clients:
  Installed: (none)
  Candidate: 8.0.0-1ubuntu7.7
  Version table:
     8.0.0-1ubuntu7.7 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     8.0.0-1ubuntu7.5 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     8.0.0-1ubuntu7 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
sosreport: /usr/lib/python3/dist-packages/sos/report/plugins/virsh.py
Command 'virsh' not found, but can be installed with:
sudo apt install libvirt-clients

But also, I looked through logs how things happened and I think it is not that weird.

It is like:

Remove (was auto installed)
<list>
[yN]

And to be clear, that only happened because I wanted the "yes to all experience".
I said I'm ok for it to remove those, so it is my fault I guess?

I'll need to do a run with just "enter enter enter" to make sure and see how it would behave there.