Broken APT -- how to fix this?

Ralf Mardorf kde.lists at yahoo.com
Fri Dec 2 23:21:30 UTC 2022


On Wed, 2022-11-30 at 15:47 -0500, Robert Heller wrote:
> > sudo apt autoremove
> 
> This failed.
> 
> > 
> > you probably also need to run
> > 
> > sudo apt update
> > sudo dpkg --configure -a
> > sudo apt install -f
> > 
> > to fix the broken install.
> > 
> 
> I ended up *manually* removing the packages one-by-one with sudo dpkg 
> --purge...

OK, the reason probably was that a renamed dependency contained equal
named files, hence to not break dependencies either the new or the old
packages were required, but installing the new packages with different
names required to remove the old packages first. To work around such a
dependency cycle, the maintainers of the third party repository probably
should have used transitional packages.




More information about the ubuntu-users mailing list