anupam89
February 27th, 2010, 02:57 PM
I want to update the package index files offline. The command I used to find the list of files to be downloaded is
#sudo apt-get -qq --print-uris update | awk -F\' ' { print $2}'
and the output is
http://archive.ubuntu.com/ubuntu/dists/karmic/multiverse/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/restricted/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/universe/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/main/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/Release
http://archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg
http://archive.ubuntu.com/ubuntu/dists/karmic/multiverse/i18n/Translation-en_US.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/restricted/i18n/Translation-en_US.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/universe/i18n/Translation-en_US.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/main/i18n/Translation-en_US.bz2
http://archive.canonical.com/ubuntu/dists/karmic/partner/binary-i386/Packages.bz2
http://archive.canonical.com/ubuntu/dists/karmic/partner/source/Sources.bz2
http://archive.canonical.com/ubuntu/dists/karmic/Release
http://archive.canonical.com/ubuntu/dists/karmic/Release.gpg
http://archive.canonical.com/ubuntu/dists/karmic/partner/i18n/Translation-en_US.bz2
I want to know where should I copy ths files?
#sudo apt-get -qq --print-uris update | awk -F\' ' { print $2}'
and the output is
http://archive.ubuntu.com/ubuntu/dists/karmic/multiverse/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/restricted/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/universe/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/main/binary-i386/Packages.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/Release
http://archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg
http://archive.ubuntu.com/ubuntu/dists/karmic/multiverse/i18n/Translation-en_US.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/restricted/i18n/Translation-en_US.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/universe/i18n/Translation-en_US.bz2
http://archive.ubuntu.com/ubuntu/dists/karmic/main/i18n/Translation-en_US.bz2
http://archive.canonical.com/ubuntu/dists/karmic/partner/binary-i386/Packages.bz2
http://archive.canonical.com/ubuntu/dists/karmic/partner/source/Sources.bz2
http://archive.canonical.com/ubuntu/dists/karmic/Release
http://archive.canonical.com/ubuntu/dists/karmic/Release.gpg
http://archive.canonical.com/ubuntu/dists/karmic/partner/i18n/Translation-en_US.bz2
I want to know where should I copy ths files?