Click to See Complete Forum and Search --> : Debian question
arnesten
05-24-2001, 09:13 AM
Hello!
Using dselect(apt-get) I have upgraded my debian system a lot. I have close to 200mb of deb-files in /var/cache/apt/archives/. Now I want to install Debian on another computer and therefor I want to make use of those files so I don't have to download everything all over again.
What files do I need apart from the *.deb files to use dselect on that other computer so it lists the locally available files?
compunuts
05-24-2001, 09:27 AM
Deb is the whole complete set AFAIK... mount your /var as local and make it at the top of the sources.list should do it. APT will get the files that aren't in your local mounted dir if you put that at the top, I **think**. Correct me if I'm wrong guys...
arnesten
05-24-2001, 10:12 AM
What exactly do you mean by "mount your /var as local"?
I tried to mount all the deb files under /mnt then added "deb file:/<*.deb-dir>" to sources.list, but this doesn't work.
compunuts
05-24-2001, 10:20 AM
You need to have NFS running to be able to mount files on different computers... Check this out.
NFS HOWTO (http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/NFS-HOWTO.html)
Just wanted to give you more info here. You can mount the whole /var partition or specific source directory as one sigle mount file such as /dev/source and then put that into the sources.list file. First you need to be able to mount files from other computers. You can't just mount any files/systems you want. In Windows, you need to install SMB protocol suite as such you install file and print sharing. In *.nix, you can do this by NFS or SAMBA (SAMBA is too cubersome for this little job, IMHO)
[ 24 May 2001: Message edited by: compunuts ]