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

Re: Debian package component belonging



Hi Bob !

On 04/05/13 01:49, Bob Proulx wrote:
> 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! :-)

I understand now that the component is contained in the Section field, `main' not being given.

5.

Is there an easy way to get it from the .debian.tar.(gz|bz2|xz) ?

Thanks again,
Jerome

> 
> Bob


Reply to: