On Mon, Feb 12, 2001 at 01:10:35PM -0000, Jo Knight wrote:
> Ive just got Debian 2.2r2 on CDs and have managed to install it on my humble
> 486 CDless laptop via FTP. At the moment i run the ftp server from win98 and
> the cds are in /dists/potato, /dists/potato2 and /dists/potato3... what I
> want to do is merge them all together so that all all the files are in the
> dists/potato directory as currently i have to rename the directory to potato
> when i apt-get install something that is not on the first cd. Can anyone
> shed any light as to how I might do this...Thanks
There's more than one way to skin a cat...
apt-move as jeff said, but I think apt-move relies on rsync, and it doesn't
work for me when package versions have an epoch.
Another way is to use dpkg-scanpackages which is the in the dpkg-dev package.
Move all the files under the potato directory, you'll have to mount the
drive somewhere on a deb box and do something like.
cd /mounteddrive
dpkg-scanpackages dists/potato/main /dev/null > dists/potato/main/binary-i386/Packages
gzip -9cf dists/potato/main/binary-i386/Packages >
dists/potato/main/binary-i386/Packages.gz
Do the same for contrib, non-free and non-US/main, etc.
Ignore messages about duplicated packages in binary-all, I'm not sure what
their about and I'm too lazy to look in to it, everything still works.
And pray that smbmount doesn't lock up while you're doing this.
I haven't tested it but I think instead of generating your own package files,
you could just cat the package files from the cd's together, cat all the
mains together, all the contribs together, etc, gzip them. Then move all
the deb files under the potato directory and put your Package file in
main/bianry-i386, etc.
--
chesty
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug