Hello List,
On 05/05/13 07:07, Bob Proulx wrote:
Jerome BENOIT wrote:
Bob Proulx wrote:
Jerome BENOIT wrote:
Is there an easy way to get it from the .debian.tar.(gz|bz2|xz) ?
$ tar xf emacs23-non-dfsg_23.4+1-1.debian.tar.gz --to-stdout
debian/control | sed -n '/^Section:/{s/.*
Hi Bob,
On 04/05/13 05:04, Bob Proulx wrote:
Hi Jerome,
Jerome BENOIT wrote:
I was looking for a ready to use tool to extract the components:
I guess I have to write my own stuff to do so.
How about:
$ tar --to-stdout -xf emacs23-non-dfsg_23.4+1-1.debian.tar.gz
debian/control |
Jerome BENOIT wrote:
Bob Proulx wrote:
Jerome BENOIT wrote:
Is there an easy way to get it from the .debian.tar.(gz|bz2|xz) ?
$ tar xf emacs23-non-dfsg_23.4+1-1.debian.tar.gz --to-stdout
debian/control | sed -n '/^Section:/{s/.* //;s@/.*@@p;q}'
non-free
You are faster than
Hello List,
given a package name, how can we know to which Debian component (man, contrib,
non-free) it belongs ?
Thanks in advance,
Jerome
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive:
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
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
Jerome BENOIT wrote:
Is there an easy way to get it from the .debian.tar.(gz|bz2|xz) ?
Look at the debian/control file. Look for the Section: field. What
does it say? The main/ is implied and so not included. But any
section that is other than main will be stated there. If it doesn't
say
Hi Again,
On 04/05/13 03:18, Bob Proulx wrote:
Jerome BENOIT wrote:
Is there an easy way to get it from the .debian.tar.(gz|bz2|xz) ?
Look at the debian/control file.
I got this part.
I was looking for a ready to use tool to extract the components:
I guess I have to write my own stuff to do
Hi Jerome,
Jerome BENOIT wrote:
I was looking for a ready to use tool to extract the components:
I guess I have to write my own stuff to do so.
How about:
$ tar --to-stdout -xf emacs23-non-dfsg_23.4+1-1.debian.tar.gz debian/control
| grep ^Section:
Section: non-free/editors
Section:
On Sat, 04 May 2013 01:41:45 +0200
Jerome BENOIT g62993...@rezozer.net wrote:
Hello List,
given a package name, how can we know to which Debian component (man,
contrib, non-free) it belongs ?
Thanks in advance,
Jerome
aptitude -F 'Package: %p - Section: %s' search '^package_name$'
10 matches
Mail list logo