change from apt-get to aptitude

habtool habtool at gmail.com
Tue Apr 21 13:50:24 UTC 2009


On Tue, 2009-04-21 at 15:34 +0200, Kogler Johannes wrote:
> Hello.
> 
> As yet I've always been upgrading our Ubuntu systems with apt-get. Due
> to recommandations to use aptitude instead of apt-get I would like to
> update the systems by using the aptitude command for the future.
> 
> When I try to get aptitude's intended actions by "aptitude -sfy
> install", I see that aptitude would delete 23 packages. These packages
> are shown as automatically installed, although some packages have been
> manually installed. In every action aptitude wants to remove these
> packages. Is there a possiblity to change the package states of these
> packages from automatically to manually installed without removing them?
> 
> Thanks for your answer!
> 
> Best regards,
> Johannes Kogler
> 


You could explicitly install those packages, I think that will solve
this issue:

sudo type aptitude install package-names-it-wants-to-autoremove

You could also look into debfoster






More information about the ubuntu-users mailing list