Comment 2 for bug 523779

JW (arch0njw) wrote :

I think I managed to fix this.

First, I uninstalled all *-dbg packages.

$ dpkg -l | grep dbg | grep ii
$ sudo dpkg -r graphicsmagick-dbg kdebase-dbg kdebase-workspace-dbg kdegraphics-dbg kdelibs-dbg kdenetwork-dbg kdepim-dbg kdeplasma-addons-dbg libc6-dbg libcurl3-dbg qt-x11-free-dbg libqt4-dbg

Then I ran "sudo apt-get upgrade" (aliased to "upgrade") and continued uninstalling debug packages until it worked.

  700 upgrade
  701 sudo dpkg -r kdelibs5-dbg kdepimlibs-dbg
  702 upgrade
  703 sudo dpkg -r kdebase-runtime-dbg
  704 upgrade
  705 sudo dpkg -r kscreensaver-xsavers

I also had to uninstall kscreensaver-xsavers, but could install it again after the upgrade was complete.