Recent Changes - Search:

Softwares

.

Offline-ubuntu-upgrade-using-apt-get


  • Offline Ubuntu linux Upgrade
  • Run the command to find the package urls

$ sudo apt-get --print-uris -y upgrade|grep "^'" | gawk '{ print $1 }' | sed "s/'//g" > packages.lst

shibu@shibu-laptop:~$ vi packages.lst

The output will look like

http://archive.canonical.com/ubuntu/pool/partner/o/opera/opera_9.27-20080331.6hardy1_i386.deb
http://us.archive.ubuntu.com/ubuntu/pool/main/u/util-linux/util-linux_2.13.1-5ubuntu2_i386.deb
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-common_2.12.9-3ubuntu3_all.deb
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.12.9-3ubuntu3_i386.deb
http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-0_2.12.9-3ubuntu3_i386.deb
  • copy these files to /var/cache/apt/archives/ and run apt-get install dpkg-name.deb


Edit - History - Print - Recent Changes - Search
Page last modified on December 02, 2008, at 01:26 AM