[ubuntu-in] Need to install previous updates

Easwar Hariharan meindian523 at gmail.com
Sat Apr 4 14:25:43 BST 2009


On Sat, Apr 4, 2009 at 5:37 PM, Jasbir Khehra <jasbir.k at gmail.com> wrote:
> On Sat, Apr 4, 2009 at 12:09 PM, nagendra prasad
> <nagendra802000 at gmail.com> wrote:
>> Hi,
>>
>> I had Ubuntu Studio installed on my system. Now I have removed and Installed
>> it again. But before I did that I took a backup of update folder
>> '/var/cache/apt/archives'  where system downloaded all its updates. Now I
>> want to install all updates again but I don't want it to connect with
>> internet and take much time. So, is their anything can install all updates
>> all at once instead of clicking on one by one??
>>
>> Thanks,
> Assuming it is the same version of Ubuntu Studio, do the following steps
> - dump your backup into '/var/cache/apt/archives/'
> -  Run $ sudo aptitude update  (This will require internet access - as
> you dont have the latest repo listing which are stored in
> /var/lib/apt/lists/)
> - Run $ sudo aptitude upgrade ( This will update all the 'currently'
> installed packages to the latest version available in the repo, if you
> have the same deb  version in your backup it wont require to download
> the newer version from the internet)
>
> You still will have to install those packages which are not installed
> by default during the basic install but you have installed them after
> installation , in your previous system.

Since you have all the packages of /var/cache/apt/archives stored,you
can just restore them to the /var/cache/apt/archives of your newly
installed system,and do dpkg -i * after cd'ing to
/var/cache/apt/archives.

Regards,
Easwar
Registered Linux user #442065



More information about the ubuntu-in mailing list