ishwor wrote: > ... > One way of doing this is manually. > # apt-get clean; > # aptitude upgrade; > > The download packages are locally stored in /var/cache/apt; stay there. > > Mount the other box as nfs share (or through fuse/sshfs if you prefer. nfs > requires setup at the other end. sshfs just requires fuse+sshd at the other > end)- > # mount -t nfs other.box.ip.addy:/some/exported.share /mnt/local.dir/ > # cp /var/cache/apt/*.deb /mnt/local.dir/
A simpler method than NFS would be rsync: aptitude install rsync # on both systems cd /var/cache/apt rsync -av . otherbox:/var/cache/apt # replace /var/cache/apt # with $PWD if you prefer > Now go to other box- > # cd /some/exported.share/ > # dpkg -i *.deb; Now this will get you in big trouble. What if you have different packages on the different boxes? You'll get dependency problems. The simple thing to do after you've rsynced the apt cache is just upgrade normally - it will use the cached files instead of downloading them again. Paul
smime.p7s
Description: S/MIME Cryptographic Signature
-- ubuntu-au mailing list ubuntu-au@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-au