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

Re: base-contents.txt (was Re: Clean patches for Credit Card CD)

On Wed, May 24, 2000 at 11:06:34AM -0500, Adam Di Carlo wrote:
> Ben Collins <bcollins@debian.org> writes:
> > Ok. Maybe we can for a --get-selections instead into another file.
> Ew.  Having two files would be rank.

Then can we have just the one from --get-selections? Problem with that is
it has no version numbers, just package name and status. Maybe we need a
special generated file from a script like:

for pkg in `dpkg --get-selections | grep 'install$' | awk '{print $1}'`; do
    ver=`dpkg -s $pkg | grep ^Version: | awk '{print $2}'`
    echo "$pkg $ver"

(add in the -r option for the chroot of course).


/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '

Reply to: