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

Re: aptitude replacing debfoster [limiting the view]



On Mon, May 15, 2006 at 02:09:16PM +0200, CJ van den Berg wrote:
>On Mon, May 15, 2006 at 09:03:16AM +0100, Magnus Therning wrote:
>> Can I somehow limit(l) the package list in aptitude to only show me
>> packages that
>> 
>>  1. are installed, and
>>  2. aren't installed as a dependency of any other package, and
>>  3. are dependencies of another installed package?
>> 
>> AFAICS this would result in a list of packages that can be safely marked
>> "automatically installed" without being removed from the system.
>
>AFAICT this is what you want:
>
># aptitude search ~i\!~Rdepends:.\!~M
>
>/usr/share/doc/aptitude/html/en/ch02s03.html (in aptitude-doc-en) has the
>full details.

Not quite. :(

Limiting the package list to that in aptitude and then pressing 'M' does
result in the package being scheduled for deletion. With the proper filter
it should remain installed and be marked as automatically installed.

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus@therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Here's the social reason that DRM fails: keeping an honest user honest
is like keeping a tall user tall.
     -- Cory Doctorow, Microsoft Research DRM talk

Attachment: pgp9aaxAxUplg.pgp
Description: PGP signature


Reply to: