using the downloaded upgrade packages from one laptop to another
Colin Law
clanlaw at googlemail.com
Wed Jan 16 22:13:45 UTC 2013
On 16 January 2013 20:13, Abhishek Dixit <abhidixit87 at gmail.com> wrote:
>
>
> On Thu, Jan 17, 2013 at 12:57 AM, Abhishek Dixit <abhidixit87 at gmail.com>
> wrote:
>>
>>
>>
>> On Wed, Jan 16, 2013 at 10:19 PM, Steve Flynn <anothermindbomb at gmail.com>
>> wrote:
>>>
>>> On 16 January 2013 16:31, Abhishek Dixit <abhidixit87 at gmail.com> wrote:
>>>
>>> > Now what I want to know is how do I make sure do-release-upgrade uses
>>> > these
>>> > in my laptop and does not downloads
>>> > 700 mb of updates because this will take 8-10 hours at my end so I want
>>> > to
>>> > utilize the upgrades which were downloaded during the upgrade process
>>> > on one of the systems.
>>> > If there is a way in this situation let me know.
>>>
>>> Have you tried putting those package files into
>>> /var/apt/cache/archives and then just firing the upgrade process?
>>>
>> yes I have tried this and unfortunately this does not work and rather than
>> picking the packages from
>> /var/cache/apt/archives it
>> goes to some thing like
>> http://us.archive.ubuntu.com/ubuntu/ precise/main qemu-utils amd64
>> 1.0+noroms-0ubuntu13 [353 kB]
>> and so on and is downloading things in /var/cache/apt/archives
>>
>>> I've never tried this (never had any need to), but it sounds plausible
>>> that the upgrade will see what packages it needs to download and once
>>> it seems them in the cache directory, it'll assume they are downloaded
>>> and not bother.
>>
>> No it does not assume they are downloaded , it actually is downloading
>> them again and this is what I do not want to happen.
>
>
>
> I luckily found some thing here
> http://askubuntu.com/questions/3503/best-way-to-cache-apt-downloads-on-a-lan
> just thought of posting so that some one here who comes in future may
> benefit.
+1 for squid-deb-proxy, it is excellent.
Colin
More information about the ubuntu-users
mailing list