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

Re: how to download packages



Nick Hastings, 2002-Aug-08 14:00 +1000:
> 
> 1. Make a list of all packages.
> 
> dpkg --get-selections | grep '\<install\>' | cut -f1 | sort > pkgnames.txt
> 
> 2. apt-get them
> 
> apt-get -download-only --reinstall install `cat pkgnames.txt`
> 
> 3. Deal with the errors from unavaliable packages.
> 
> When apt-get complains:
> Sorry, re-installation of foo is not possible, it cannot be downloaded
> 
> edit pkgnames.txt and delete foo. then go back to step 2.

Thanks Nick!  This worked like a charm.  I got them all downloaded
(543 packages).

thanks again,
jc


--
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: