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

Re: what creates a Packages{,.gz} etc. file ?



I did this same thing to setup a Debian mirror at work.  If you look
carefully, all you have to do is delete the existings Packages.gz files
(since they are for a single CD) and mv Packages-cd.gz Packages.gz (do the
same for the uncompressed packages).  It's a lot easier if you do this
with a find . -name Packages-cd -exec mv ..., because there are about 6 of
them.

BTW, this worked for everything *except* non-US, which I need to look
further into.  It could just be that I have the source URL in apt
definined incorrectly.

HTH,
tony

On Fri, 5 May 2000, Jordi Mallach wrote:

> On Wed, May 03, 2000 at 05:30:00PM +1000, Andrew J Cosgriff wrote:
> > dpkg-scanpackages was it.  I missed it when I did a "man -k Packages".
> 
> Related to this, I have a question also.
> One friend has a new hard drive and wants to copy his 3 unofficial potato
> CDs into it, and make them aptable. So I copied the CDs on a
> debian/dist/{m,c,n-f,n-u} tree and I guess I only need to run
> dpkg-scanpackages on each directory to generate the Packages files. The
> problem is I don't know which is the overrides file in the CDs. Is it
> necessary?
> 
> An example would be the best help.
> 
> -- 
> Jordi Mallach Pérez || jordi@pusa.informat.uv.es   || Rediscovering Freedom,
> ka Oskuro in RL-MUD || jordi@sindominio.net        || Using Debian GNU/Linux
> 
> http://sindominio.net  GnuPG public information:      pub  1024D/917A225E 
> telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E
> 

  tony@mancill.com         |  After all is said and done, 
http://www.debian.org      |  a heck of a lot more is said than done.
                           |     (fortune)


Reply to: