On Mon, May 15, 2006 at 04:01:46PM +0200, CJ van den Berg wrote:
>On Mon, May 15, 2006 at 02:37:33PM +0100, Magnus Therning wrote:
>> 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.
>
>Ah, I think I understand what you want now.
>
>This should be what you want...
>
>~i~R~i!~M
>
>I hope! ;)

Nope :(

As a test I did this:

 1. Find package that's marked auto and kept installed by some other
    package (I picked vim-gnome, it's kept installed by another vim
    package).
 2. Switch to flat view.
 3. Limit the view using your expression above.

If it all works then the package I marked should show up, after all it's
not marked auto and another installed package keeps it installed
(through a recommends). No luck though, vim-gnome doesn't show up :(

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]
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.

DRM discourages piracy like Thalidomide promotes healthy childbirth.
     -- Mark Hewitt, on the ORG discuss list

Attachment: pgpM5yI9okR0W.pgp
Description: PGP signature

Reply via email to