At 11:52 pm, Saturday, July 27 2002, Matt Hope mumbled:
> That'll give you the list of packages. I cant think of an efficently
> way, offhand, of downloading the named packages, other than using
> grep-dctrl or "apt-cache show $pkg | grep ^Filename" (sorry, not sure
> of the exact invocation for grep-dctrl), and appending that filename
> to a mirror url.
> 
grep-dctrl needs a filename thrown to it, so I use grep-available, like so:

steven@broken:~$ grep-available -r -FPackage -sFilename '^libc6$'
Filename: pool/main/g/glibc/libc6_2.2.4-7_i386.deb

Feed that too 'cut -d\  -f2 | sed
's/^/http:\/\/planetmirror.com\/debian\//'' and that to wget, and ergo.

-- 
                                           Steve
<jim> Lemme make sure I'm not wasting time here... bcwhite will remove
      pkgs that havent been fixed that have outstanding bugs of severity
      "important".  True or false?
<JHM> jim: "important" or higher.  True.
<jim> Then we're about to lose ftp.debian.org and dpkg :)
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to