I have about 5 (I think) Raspberry Pis now and I was wondering how to upgrade them all without them all having to download every package.
I found a quick way to upgrade multiple Pis is by first upgrading one pi.
Put in a USB flash and mount it:
sudo mkdir -p /mnt/usb; sudo mount /dev/sda1 /mnt/usb)
tar cf /mnt/usb/up.tar /var/cache/apt/archives
sudo umount /mnt/usb
- Insert USB flash in other Pis to be upgraded and mount it.
- At the terminal type:
tar xf /mnt/usb/up.tar
sudo cp -n *.deb /var/cache/apt/archives
sudo apt-get upgrade
cd ..; rm -rf var
Now the upgrade will already have all the files and it will not download anything making upgrades tons faster.