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 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.

Thanks

Cecil

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.