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

Re: How do I create a Packages file?



On Sat, Jul 28, 2001 at 12:21:10PM +0200, Raphael Hertzog wrote:

> The generated path (in the Packages file) should be relative to the root
> of the mirror so you generate it this way :
> $ cd /mirror/debian
> $ apt-ftparchive packages dists/stable/local >dists/stable/local/Packages


	When I run make mirrorcheck I get:

Failed to fetch
file:/mirror/debian/dists/potato/local/binary-i386/Packages

	So I ran the above apt-ftparchive:
	
    $ apt-ftparchive packages dists/stable/local/
>dists/stable/local/binary-386/Packages

	Which rid of the first error however it gives me instead:

Use of uninitialized value at /usr/share/debian-cd/tools/list2cds line 98.
Use of uninitialized value at /usr/share/debian-cd/tools/list2cds line 98.
Use of uninitialized value at /usr/share/debian-cd/tools/list2cds line 98.
Use of uninitialized value at /usr/share/debian-cd/tools/list2cds line 105.
Use of uninitialized value at /usr/share/debian-cd/tools/list2cds line 105.
Use of uninitialized value at /usr/share/debian-cd/tools/list2cds line 105.

Ign file: potato/local Release

	And when the images are created the CD will like this:

merckx:/mirror/tmp/potato-i386/CD1/dists/potato/local/binary-i386$ ls -l
total 116
-rw-r--r--    1 root     root            0 Jul 30 10:36 Packages
-rw-r--r--    1 root     root            0 Jul 30 10:36 Packages.cd
-rw-r--r--    1 root     root           20 Jul 30 10:36 Packages.cd.gz
-rw-r--r--    1 root     root           20 Jul 30 10:36 Packages.gz
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 admin
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 base
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 comm
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 devel
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 doc
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 editors
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 electronics
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 games
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 graphics
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 hamradio
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 interpreters
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 libs
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 mail
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 math
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 misc
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 net
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 news
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 oldlibs
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 otherosfs
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 science
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 shells
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 sound
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 tex
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 text
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 utils
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 web
drwxr-xr-x    2 root     root         4096 Jul 30 10:34 x11

	Why is my Packages file here 0 bytes? It's a complete file when I
ran apt-ftparchive.. My local files are nowhere to be seen.

	Very confused.

	Justin.

-- 
Justin F. Knotzke
shampoo@cam.org
pgp public key http://www.shampoo.ca/pubkey.html



Reply to: