Work-around to "recreate" .list file

WORK-AROUND: to re-create the .list file, where the broken package is "update-manager" and a local copy exists in the cache.

# dpkg --no-debsig --no-triggers --force-all -r update-manager
# dpkg --no-debsig --no-triggers --force-all -i /var/cache/apt/archives/update-manager_1%3a0.126.6_all.deb
# aptitude reinstall update-manager

I'm not 100% sure that both --no-debsig and --no-triggers are necessary; I had them so I used them. Note that technically I was on an Ubuntu Karmic system, but in theory this should work fine for Debian too.

Substitute 'apt-get' instead of 'aptitude' if that's what you normally use.

See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552517
dpkg ugly/confusing error message on corrupt .list file




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to