change from apt-get to aptitude

Sundar Nagarajan sundar.personal at
Wed Apr 22 08:51:22 UTC 2009

Brian McKee wrote:
> On Tue, Apr 21, 2009 at 9:34 AM, Kogler Johannes
> <Johannes.Kogler at> wrote:
>> 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?
> Check the man page - I believe it's aptitude unmarkauto packagename
> Brian

aptitude unmarkauto <packagename> is correct.

I have also seen other people on the list ask this question not 
specifically related to aptitude. If you are used to using apt-get (as I 
am), you can use 'apt-mark unmarkauto <packagename>' to mark a package 
as manually installed.

More information about the ubuntu-users mailing list