Bug#47839: Work-around to "recreate" .list file

View: New views
1 Messages — Rating Filter:   Alert me  

Bug#47839: Work-around to "recreate" .list file

by JP Vossen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-dpkg-bugs-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...