On Tue, Feb 18, 2003 at 06:57:05PM +0100, Erik Rossen wrote:
> Why are the original package lists from the CDs even necessary? Each .deb has
> enough info in its control file to rebuild the Packages lists and frankly I
> don't care how the .debs are organised, as long as they can be found
They are not. For example, my Debian CD update generation script:
[ ... ]
if [ $? = 0 ]; then
# Generating the Packages.gz file
(cd $DEST_PACKAGES && dpkg-scanpackages . /dev/null | gzip -9 >
mkisofs -A "$LABEL" -r -o $OUTPUT_FILE $TMP_DIR || fail "mkisofs"
md5sum $OUTPUT_FILE > $OUTPUT_FILE.md5sum || fail "md5sum"
rm -rf $TMP_DIR
rm -rf $TEMPDIR
Beware that the Path is '.' because paths on CD-ROM are hardcoded.
On a HTTP server you may need to put mirror/ or whatever is appropriate
BTW: I have always done my Debian deb repository by copying the pools,
then starting a rsync to get the rest.
An alternative can be to put all *.deb into one single directory
(ala-Red Hat) and then run the above scanpackages.
For autoinstalling machines, you could look into FAI: they may have some
instructions for setting up mirrors.
If you install from one CD, you usually don't need the base.tar.gz
and other things on the mirror.
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se désabonner aussi.