Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Exactly, that is the step I have been able to do. What I'm not able to do is update package list. This is needed to check for upgrades. Suppose an up to date system that is taken offline (not shutdown) and after a week I want to know if it has packages to update. To do this I have to update the packahes list (which I'm failing to do) and then perform the upgrade (I haven't done any upgrade but I could install new packages as you described, so this should be the same). I'm having problems updating the package list. Commented Dec 10, 2013 at 22:07
  • @JavierMr see updated answer. Commented Dec 10, 2013 at 23:21
  • Why need to be both sources.list files identical?, I thought that the beauty of this method was that the machine with internet connection doesn't have to be the same distro (or even OS), because the offline machine generated the URLs to be downloaded. Commented Dec 11, 2013 at 8:22
  • @JavierMr that's true for downloading packages, if you want to update the sources of the target machine from the connected machine, then the connected one needs to have the same sources. Otherwise, you will be updating the wrong lists. Commented Dec 12, 2013 at 3:49
  • I still not see why. I mean, the offline machine generated the URLs to be downloaded, the connected machine downloaded the .bz2 files (just as the offline machine would do if it could), if then those files are extracted and placed in the offline machine in the correct location, why shouldn't it work?. I don't get the 'you will be updating the wrong lists'. Anyway, you answer did solve the title of the question, the update of the package list is out of scope, so I accepted the answer. Thanks. Commented Dec 12, 2013 at 7:20