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

Re: Debian package component belonging



Jerome BENOIT wrote:
> given a package name, how can we know to which Debian component
> (man, contrib, non-free) it belongs ?

1. Use apt-cache to show the package header and look to see what
   section it it in.

  $ apt-cache show emacs23-common-non-dfsg | grep Section
  Section: non-free/editors

2.  Use apt-cache to show where a package comes from:

  $ apt-cache policy emacs23-common-non-dfsg
  emacs23-common-non-dfsg:
    Installed: 23.4+1-1
    Candidate: 23.4+1-1
    Version table:
   *** 23.4+1-1 0
          500 http://ftp.us.debian.org/debian/ sid/non-free amd64 Packages
          500 http://ftp.us.debian.org/debian/ testing/non-free amd64 Packages
          100 /var/lib/dpkg/status

3. Look for it here.  Scroll down to "Search package directories",
   Select "any", Enter the name in the form and hit Enter.

  http://www.debian.org/distrib/packages

Ends up here:

  http://packages.debian.org/sid/emacs23-common-non-dfsg

4. Install 'vrms' and wait for the email nagging you about non-free
   packages that you have installed! :-)

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: