[ubuntu-in] Need to install previous updates
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, -- Guru Prasad Ubuntu Voice GTK+ Forum -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Need to install previous updates
Hi Nagendra 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?? AptOnCD is the software to use, but you would have had to create a CD beforehand. Moz -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Need to install previous updates
On Sat, Apr 4, 2009 at 12:09 PM, nagendra prasad nagendra802...@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. Jasbir -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Need to install previous updates
On Sat, Apr 4, 2009 at 5:37 PM, Jasbir Khehra jasbi...@gmail.com wrote: On Sat, Apr 4, 2009 at 12:09 PM, nagendra prasad nagendra802...@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 -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Need to install previous updates
Moz wrote: AptOnCD is the software to use, but you would have had to create a CD beforehand. This is the most efficient way. Moz, you don't need to write the ISO on the CD. Create the iso, keep it on a flash drive + the deb installer of aptoncd from /var/cache/apt/archives Now install Ubuntu Studio again. Goto you flash drive, install aptoncd.deb manually by double clicking on the deb file. Now when aptoncd is installed, goto SystemAdministrationAptoncd and then click on Restore button. Select the iso from the location where you stored it. Click on restore and its back to the repository. It even updates the index. :) -- Manish Sinha Blog [ http://blog.manishsinha.net/ ] Tech Blog [ http://manishtech.wordpress.com/ ] Twitter [ http://twitter.com/ManishSinha ] -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Need to install previous updates
On Sat, Apr 4, 2009 at 6:55 PM, Easwar Hariharan meindian...@gmail.comwrote: snip / 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. so here's the problem with this: dpkg will process the .deb files in order. therefore, if a previous package has a later package as a dependancy, it will refuse to install. In theory, if you keep running the command enough times, all packages will get installed. In practice, I have completely buggered an install (of Sidux) trying to do this :-D It might work, but you may want to read up about it before trying it - I have done evil things to my system trying this in the past. Best of luck, Sanjay Regards, Easwar Registered Linux user #442065 -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in