Comment 8 for bug 1960582

Revision history for this message
Martin Belanger (uzebis) wrote :

I hit the same issue upgrading from 20.04 to 22.04. This morning there was a pop-up window telling that a new version of Ubuntu (22.04) was available and whether I wanted to upgrade. I clicked on upgrade now. During the install I saw error message for some packages being upgraded including dpkg. What was suggested above (sudo cp /var/backups/dpkg.*) has improved things a bit, but now I'm getting:

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2232 not upgraded.
78 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
dpkg: error: duplicate file trigger interest for filename '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders' and package 'libgdk-pixbuf-2.0-0:i386'
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't clean the currently selected dpkg states