[Lvlug] Ubuntu

Scott Ferguson scottwferg at gmail.com
Mon Apr 24 02:58:38 EDT 2006


On Mon, 2006-04-24 at 01:50 -0400, Darryl Gibson wrote:
> Ok, I don't think I asked the right question?
> 
> If I apt-get packages X, Y and Z, and I'm cutoff in the middle of down loading Z, X and Y 
> will stick? But package Z won't. Now if I start the download again, will apt-get ignore X, 
> and Y, since they have already been down loaded, and resume with Z, or will I have to 
> restart the down load of Z?
> 

Yessir, it checks /var/cache/apt/archives for the file before
downloading, if it finds the file (I think it checks via GPG or MD5)
then it'll just skip over to the next.  In the scenario you're talking
about, you'd go back in for another apt-get upgrade and it'd skip right
to Z then install X, Y and Z.

A handy trick to speed up those massive post-install updates, is to just
copy your entire /var/cache/apt/archives folder to a newly installed
box.  If you're putting it on a second machine I would highly suggest
doing that.  I took my update time 2 days ago from about 4 hours to 10
minutes.

--Scott



More information about the Lvlug mailing list