Determining which component a package came from

Peter Garrett peter.garrett at
Thu Mar 9 20:33:18 UTC 2006

On Thu, 9 Mar 2006 14:05:09 -0600
"Jason OConnell" <jloconne at> wrote:

> How can you tell if a package came from 'main', 'restricted', 'universe', or
> 'multiverse' , or better yet, show me all packages that came from that
> paticular component?

apt-cache policy <packagename>   will show the origin of the package.

For instance,

apt-cache policy totem-xine
  Installed: 1.2.0-0ubuntu3
  Candidate: 1.2.0-0ubuntu3
  Version table:
 *** 1.2.0-0ubuntu3 0
        500 breezy/universe Packages
        100 /var/lib/dpkg/status

I don't know how you list all packages from a particular component, though.


More information about the ubuntu-users mailing list