[ILUG-Cochin.org] PAUSE/RESUME apt-get dist-upgrade
A. Mani
a.mani.cms at gmail.com
Tue Dec 8 17:58:31 IST 2009
On Tue, Dec 8, 2009 at 5:51 PM, A. Mani <a.mani.cms at gmail.com> wrote:
> On Tue, Dec 8, 2009 at 9:29 AM, Jos Collin, ILUG <ilug at joscollin.org> wrote:
>> 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
>
Addendum: You will need to be clearer about the directories ( ...
can't remember)
--
A. Mani
ASL, CLC, AMS, CMS
http://www.logicamani.co.cc
More information about the Mailinglist
mailing list