Re: apt-get transaction crashed, now 200+ duplicates

Gustavo Niemeyer <[email protected]> Thu, 27 Jan 2005 10:35:39 -0200
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
Hello Axel,

> During a heavy upgrade my laptop got off power and had the upgrade
> transaction crash.
> 
> Now I have more than 200 double packages. What can I do?
[...]
> I currently only see rpm -e --allmatches and apt-get install as a way
> out. Is that true?

Probably something close to that. You may try to remove only the new
versions with --justdb, and ask apt to upgrade again. You may also
try Smart with "smart fix", which will remove the old versions from
the duplicated packages which shouldn't be in the system (e.g. you
may want kernel packages to stay duplicated).

-- 
Gustavo Niemeyer
http://niemeyer.net