[plug] /var/cache/apt/archives/?

Kev kdownes at oceanbroadband.net
Thu Jan 7 12:25:26 WST 2010


Peter wrote:

> Kev wrote:
>> Greetings once again,
>>
>> If I take a copy of the contents of /var/cache/apt/archives/ and copy 
>> it into the same place in a fresh installation of the same OS, how do 
>> go about getting my package manager to see the files so copied and 
>> use them instead of downloading them afresh?  I've tried an apt-get 
>> update, but that didn't seem to do it.
>>
>> Tia
>> Kev Downes
>>
> Hi Kev,
>
> I recently did this as follows:
>
> I copied the contents of /var/cache/apt/archives from a freshly 
> updated install to the new (clean installed) PC.  In my case I am 
> running the latest version of Linux Mint Helena 8 but the principal 
> should be the same.
>
> In a terminal, I then did:
>
> ~$ apt-get update   (make sure you have the most recent database 
> updates.)
> ~$ apt-get check   (check the status of the current contents of your 
> archives)
> ~$ apt-get upgrade  (upgrade everything to the latest versions)
>
> There were a few differences but apt only needed to download about 
> 9MB  instead of 160MB in my case....
>
> Hope this helps.

Thanx Peter, that worked a-treat for me too.  Have tucked that one away.

Cheers
Kev


-- 
=======================================================================
Kev Downes
The Other Other Operation
kdownes at oceanbroadband.net  ph 0404 7 0808 2
We currently use Xandros 4.1
=======================================================================
There are 10 types of people ...
   ... those who understand binary, and those who don't!
=======================================================================
Political correctness is a doctrine fostered by a delusional,
illogical minority, and rabidly promoted by an unscrupulous
mainstream media, which holds forth the proposition that
it is entirely possible to pick up a turd by the clean end.
=======================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20100107/61657166/attachment.html>


More information about the plug mailing list