We are using apt-get install -d do download all the required packeges from our installation in order not to need internet.

The thing is that apt-get isn't downloading what is already installed and it's a problem (even when starting on a "clean" machine)

Do I have an option to force download everything?

(or any other solution that doesn't involve mirroring the entire repo)

  • Try apt-get install --reinstall -d .... – gf_ Jun 14 '16 at 8:59
  • 1
    Finally got to test it. Worked! Thanks! If you want to write it as an answer I will accept it – Boaz Jun 15 '16 at 20:48
  • Glad it helped; posted an answer. – gf_ Jun 15 '16 at 21:15

As per the comments:

Leverage --reinstall, which makes apt-get

Re-Install packages that are already installed and at the newest version.

so, the complete command becomes: apt-get install --reinstall -d $(your-packages).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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