Not sure what section this goes in.
I'm currently running kubuntu jaunty, but I have lucid installed on another partition. Keeping it up to date is kind of a hassle because my isp imposes bandwidth restrictions during regular hours. If I want to download anything very big I have to do it at night.
What I've been doing is, boot into lucid, do an apt-get update and upgrade --print-uris to get a list of files to download later with cron. One problem with that, aside from two extra reboots every time, is there is always a time lag between the update and the downloads. Occasionally something gets updated in the repositories in the meantime, which means I don't get everything in sync.
Yesterday I stumbled onto the Using APT Offline howto. The howto shows how to upgrade a machine that isn't on the net using apt to download the needed updates onto a thumb drive or other media. From reading the howto, it looks to me like in my case I could just adjust the config file to point to the existing /var/cache/apt directory structure on the other partition and basically update and upgrade --download-only in place.
Before I try that I thought I would run it by the gang here and see if anyone has tried it and if they ran into any trouble doing it that way. Any thoughts?
http://www.fifi.org/doc/apt/offline.html/ch2.html
Edit: I successfully upgraded my lucid partition almost exactly as I described in this post and my followup below. I had to fiddle with the Dir section of the apt.conf a little bit. It works!
I'm currently running kubuntu jaunty, but I have lucid installed on another partition. Keeping it up to date is kind of a hassle because my isp imposes bandwidth restrictions during regular hours. If I want to download anything very big I have to do it at night.
What I've been doing is, boot into lucid, do an apt-get update and upgrade --print-uris to get a list of files to download later with cron. One problem with that, aside from two extra reboots every time, is there is always a time lag between the update and the downloads. Occasionally something gets updated in the repositories in the meantime, which means I don't get everything in sync.
Yesterday I stumbled onto the Using APT Offline howto. The howto shows how to upgrade a machine that isn't on the net using apt to download the needed updates onto a thumb drive or other media. From reading the howto, it looks to me like in my case I could just adjust the config file to point to the existing /var/cache/apt directory structure on the other partition and basically update and upgrade --download-only in place.
Before I try that I thought I would run it by the gang here and see if anyone has tried it and if they ran into any trouble doing it that way. Any thoughts?
http://www.fifi.org/doc/apt/offline.html/ch2.html
Edit: I successfully upgraded my lucid partition almost exactly as I described in this post and my followup below. I had to fiddle with the Dir section of the apt.conf a little bit. It works!
Comment