Re: If apt-get crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Feb 2004, Sturla Holm Hansen wrote:

> Hi, just had a wonderful experience with apt-get while running a
> dist-upgrade....
> It crashed after installing a couple of hundred packages, leaving my
> system with dual installs of those packages.

Urgh.. that sounds seriously ugly: if you end up with dual installs of 
packages it basically means that rpm post% failed for each of those. While 
an occasional %post failures do happen due to bad scriptlets and such it's 
not a healthy sign if hundreds of packages are failing that way.

> What I had to do was manually remove all the packages not needed, or at
> least that was what i ended up doing.
> Just wondered if anyone has a better solution for this, is there a tool
> for checking for dual installs and removing the lowest version?

I don't think such a tool exists but wouldn't be hard to write with 
rpm-python bindings..

	- Panu -




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux