Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two computers:

One has network access (N), the other doesn't (NN).

So I install Ubuntu (11.10) fresh on both N and NN.

On N (the networked machine) - I run 'apt-get update' and 'apt-get upgrade'.

Now, on NN (the non-networked machine), I want to do the same. But NN wants a network connection to do the update and the upgrade.

I know what to do for the 'apt-get upgrade' part: I just copy the .deb files on N in the directory /var/cache/apt/archives/* to /var/cache/apt/archives/. on NN. Then apt upgrades from the local cache instead of wanting a network.

HOWEVER: How do I do the equivalent for the 'apt-get update' part? If I just copy the .bin files in /var/cache/apt on N to NN, then the system thinks I have already upgraded.



share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.