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

Re: Is there a "Pseudo Mirror Kit"?



On Thu, 1 Mar 2001, J.A. Bezemer wrote:
> > Le mar 27 fév 2001 à 01:48:25 +0100, J.A. Bezemer écrivait :
> > > > 	I'm happy now, I have my CD. But I would be much more happy if
> > > > there were a method or a tool to create my local mirror from just a
> > > > raw list of desired packages. Any hints?
> > > 
> > > Hmm.. Try something like this: get the Packages file, grep -e ^Package: -e
> > > ^Filename: Packages, then for each package in the list
> > > echo http://server/debian/`grep -A1 "^Package: $packagename" | grep ^Filename:
> > > | cut -d ' ' -f 2-` >> urls.txt, then wget -x -i urls.txt
> > 
> > 	So good! I understand I have to make my own script, based on
> > what you suggest. And if I use /var/lib/dpkg/available instead of
> > Packages as the packages list file, I'll have the latest version of
> > each package (assuming I've done apt-get update before).
> 
> Note that apt-get update does _not_ update /var/lib/dpkg/available. Either run
> /usr/lib/dpkg/methods/apt/update for that, or do
> apt-cache dumpavail > /tmp/Packages and use that instead.
>   Anne Bezemer

gee whiz, I spend months (years?) using the Debian system and I only get
useful information if I get lucky.

Can someone explain why apt-get update will not make a new 
/var/lib/dpkg/available?

It seems so, you know, useful.

As in something that everyone would use and enjoy.

I love apt.

I love Debian.

But this time I see a thing to fix.

Cheers, Bill Bennet.

"Where the only monopoly we support has a Boardwalk and a Baltic Avenue."



Reply to: