We help IT Professionals succeed at work.

need process to patch debian offline without internet

hi all please help to give process for patching of debian without internet as we dont have internet in network

please help in process
Comment
Watch Question

Distinguished Expert 2019

Commented:
you would use a CD/DVD with the updates and use it as the source for update.
Look at aptitude configuration for sources one of which can be a CD/DVD.

Are you looking to upgrade the setup or update certain packages or a combination of the two?
Presumably you have an identical reference system with access to the internet on which you tested your applications to make sure they will continue to work following the update/upgrade.

Author

Commented:
Actually we are planning to deploy some Debian servers where internet not available so that's why thinking about how we manage regular patches for the same as on Redhat we have proxy server available.
Commented:
As long as you have a machine with internet access and the rest of the machines can connect to it, install a cache proxy and you're set: https://packages.debian.org/wheezy/apt-cacher-ng.

And, as arnold said, never update a system before testing if the updates break something.

HTH,
Dan
There's  an offline package manager for debian called apt-offline.
https://www.debian-administration.org/article/648/Offline_Package_Management_for_APT
I personally use apt-mirror. Here is the how-to I used to set mine up.  Feel free to change or skip a step if you don't think you'll need it, ie I skipped the crontab section since I want to tell my system when to run.

Author

Commented:
Thank you so much all for suggestion i need sometime to test your suggestion then will comeback to you with feedback :)

Author

Commented:
Thank you all i am customizing both as per my need :)