RESOLVED (I think): Re: [PLUG] Debian package downloads.

Jeme A Brelin jeme at brelin.net
Wed Oct 20 15:03:02 UTC 2004


On Wed, 20 Oct 2004, Jeme A Brelin wrote:
> I could just download all of my currently installed packages
[snip]
> Can anyone think of a simple way to do this?

I wrote a little shell-thingie to do this.  I guess I was just too tired
last night to put all the little pieces together.  It's actually quite
simple:

dpkg --get-selections|grep -v deinstall|sed -e 's/	.*//'|while read
file; do apt-get -dy --reinstall install $file; done

That seems to be working on a file by file basis.  I'd like to hand them
all to apt for one big download, but that seems harder even if it'd be a
little faster.

J.
-- 
   -----------------
     Jeme A Brelin
    jeme at brelin.net
   -----------------
 [cc] counter-copyright
 http://www.openlaw.org




More information about the PLUG mailing list