Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 20 to 3o computers on my network and I have a copy of the debian packages on /var/cache/apt/archives but when I take this downloaded copy to any other machine I need to hit an "apt-get update" , How do I avoid this ? Where is the list of packages which is updated by that command stored. I need to copy them as well, and use it on a computer which is completely offline.

share|improve this question

2 Answers 2

The packages lists are stored in /var/lib/apt/lists/, copy all the files inside that directory (except lock and partial) to the other computer. You could also copy the .bin files in /var/cache/apt/.

share|improve this answer

Well, the apt-get update command updates the pkgcache.bin and srcpkgcache.bin files in the /var/cache/apt/ directory, so you have to copy those files too. Also please note that what you are trying to do it is not recommended!

share|improve this answer
    
well then is there any "recommended" solution to copy the package list ??? –  meow Jun 12 '13 at 13:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.