pull from the autoremove.
Amedee Van Gasse (Ubuntu)
amedee-ubuntu at amedee.be
Fri Apr 10 12:43:00 UTC 2009
On Fri, April 10, 2009 09:46, habtool wrote:
> On Fri, 2009-04-10 at 08:53 +0300, Mihamina Rakotomandimby (R12y) wrote:
>
>> Hi all,
>> Each time I apt-get somthing, I get this:
>>
>>
>> The following packages were automatically installed and are no longer
>> required:
>> xscreensaver-gl openoffice.org-draw ... Use 'apt-get autoremove' to
>> remove them.
>>
>> Ok, I understand.
>> The problem is 'openoffice.org-draw' and several others are something I
>> need. How could I pick 'openoffice.org-draw' and some others from that
>> list and then run 'apt-get autoremove' with just autoremoving the
>> others?
>>
>> Thank you.
>> The fact that some usefull packages are listed in this list prevents me
>> from running 'apt-get autoremove'.
>>
>> --
>> Chef de projet chez Vectoris
>> Phone: +261 33 11 207 36
>> System: xUbuntu 8.10 with almost all from package install
>> http://www.google.com/search?q=mihamina+rakotomandimby
>>
>>
>
> I may be wrong,
You are not wrong, you are right.
> but I think you can just explicitly install the ones you
> want to keep, dpkg then add adds them as installed by the user and not as a
> dependency of another program (which this system thinks is now gone and
> hence the dependency can be autoremoved).
>
> So type:
> sudo apt-get install openoffice.org-draw (and any others you want to keep
> on the autoremove list)
>
> Then try:
> sudo apt-get autoremove
>
> It should then not include the ones you explicitly installed as above.
You could also install debfoster.
>From Debian Package Of The Day:
http://debaday.debian.net/2007/11/11/debfoster-remove-a-package-and-its-dependencies/
"Debfoster exists to tell you which packages are installed on your machine
merely as dependencies for other packages. It then gives you the option of
removing the package and its dependencies. It also remembers your previous
responses so that it does not ask you about the same packages each time."
HTH, HAND.
--
Amedee
More information about the ubuntu-users
mailing list