aptitude: no way to rexeg for main/restricted/universe/multiverse?

Jason Ribeiro jason.ribeiro at gmail.com
Fri Aug 10 12:17:55 UTC 2007

I tried looking for this once and couldn't find it.  I ended up using
~s to match on section.  The things in "restricted" will have a
section like "restricted/x11" for example.  Same for multiverse and
universe.  For main, I just matched for sections without "universe"
"multiverse" or "restrcicted".

On 8/9/07, Kristian Erik Hermansen <kristian.hermansen at gmail.com> wrote:
> Hey guys,
> I read through the aptitude documentation man pages and also
> /usr/share/doc/aptitude/README, but no where does it mention a way to
> regex for the repository 'c-value' provided by apt.  For instance,
> look at the output of an 'apt-cache policy' command...
>  500 http://mirror.cc.columbia.edu feisty-security/multiverse Packages
>      release v=7.04,o=Ubuntu,a=feisty-security,l=Ubuntu,c=multiverse
>      origin mirror.cc.columbia.edu
> Using this command, 'aptitude search ~Afeisty-security', I am able to
> list all packages that are in the current feisty-security repository,
> tagged via apt's 'a-value'.  What I am looking for is a way to search
> for the 'c-value'.  Ultimately, I am looking for a way to list all the
> packages in an easy fashion without grepping around 'dpkg
> --get-selections'.  Does this feature exist?
> --
> Kristian Erik Hermansen
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

More information about the Ubuntu-devel-discuss mailing list