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

Kristian Erik Hermansen kristian.hermansen at gmail.com
Thu Aug 9 18:00:18 UTC 2007


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




More information about the Ubuntu-devel-discuss mailing list