[ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade

A. Mani a.mani.cms at gmail.com
Tue Dec 8 17:51:16 IST 2009


On Tue, Dec 8, 2009 at 9:29 AM, Jos Collin, ILUG <ilug at joscollin.org> wrote:
> On Tue, 8 Dec 2009 03:04:56 +0530
> "A. Mani" <a.mani.cms at gmail.com> wrote:
>
>> /var/cache/apt/archives
>>
>> The trick is to move the contents to some other place and put it back
>> again at the right time... not at the start
>
> What do you mean by "right time"?
>
> I think there is no proper way to do the pause/resume. Also there is no
> way to resume downloading from the middle of a partially downloaded .deb
> file.

I have done this in a version of kubuntu:

1. start dist upgrade (the graphical tool)
2. stop it in the middle of download
3. copy the contents of /var/cache/apt/archives to some other place.
4. shutdown

5. Boot later
6. start dist upgrade after whatever cleanup is necessary (lock files
may need to be deleted by superuser)
7. Initially /var/cache/apt/archives will be emptied by upgrade tool
8. let upgrade tool start the download.
9. pause, move back the archives and resume

Best

A. Mani


-- 
A. Mani
ASL, CLC,  AMS, CMS
http://www.logicamani.co.cc



More information about the Mailinglist mailing list