[Ilugc] update apt by local

prasannatsmkumar prasannatsmkumar at gmail.com
Wed Jul 25 21:41:46 IST 2012


On Wed, Jul 25, 2012 at 7:22 PM, Balasubramaniam Natarajan
<bala150985 at gmail.com> wrote:
> On Wed, Jul 25, 2012 at 6:48 PM, snegan <textmails at gmail.com> wrote:
>
>> hi lugs
>>
>>
>> aim using Ubuntu lts 12.04 how to update apt by local i have coped all repo
>> in drive can any one post command to execute
>>
>> the local repo location /media/soft
>> .
>>
>>
> Move all the package which you have to the location
> /var/cache/apt/archives
>
> /var/cache/apt/archives$ ls
> firefox_14.0.1+build1-0ubuntu0.10.04.1_amd64.deb
> libqt4-sql-mysql_4%3a4.6.2-0ubuntu5.4_amd64.deb
> openoffice.org-calc_1%3a3.2.0-7ubuntu4.3_amd64.deb
> firefox-branding_14.0.1+build1-0ubuntu0.10.04.1_amd64.deb
> libqt4-svg_4%3a4.6.2-0ubuntu5.4_amd64.deb
>
> Try to run
>
> apt-get upgrade
>
> That should work.
>
>
> --
> Regards,
> Balasubramaniam Natarajan
> www.etutorshop.com/moodle/
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Other than copying deb files you are supposed to copy the repository
info - without this apt will not know about the latest version of
packages and may try to download the version available in it's
repository. I have created an application that does this job.

You can visit https://launchpad.net/share-ubuntu-updates to get more
info. The code provides the necessary info. It's a simple Qt
application that does the job for you.

Hope this helps,
PrasannaKumar Muralidharan


More information about the ilugc mailing list