[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Nonstandard .deb package management/apt problem: create archive with updateable packages for system not connected to internet



Hello List,

Perhaps someone might know a solution or at least where to start searching for a solution by myself. The problem:

A system isolated from internet should receive standard distribution package updates. Since the system cannot fetch the packages from public repositories or internal mirrors, some way to create an archive with all necessary .deb packages would be nice. The archive is then transferred to the machine via e.g. usb.

Would it be possible with a scheme like that?

* The list of currently installed packages is extracted from the isolated host

* On another host with internet access, the list of installed packages is compared to the current package list

* Only the packages newer than the ones installed are fetched from the repository

* The fetched packages are used to create a local file-base repository (e.g. with apt-ftparchive) and this data is copied to the isolated machine

* Standard update/upgrade on isolated machine using the local file repository as source.


Is this the best way to archive the goal?

Are there tools or a howto available on how to extract the package information from source, use it for fetching ....?

Thanks,
Roman


DI Roman Fiedler
Engineer
Safety & Security Department
Information Management & eHealth

AIT Austrian Institute of Technology GmbH
Reininghausstrae 13/1  |  8020 Graz  |  Austria
T +43(0) 50550 2957  |  M +43(0) 664 8561599  |  F +43(0) 50550 2950
roman.fiedler@ait.ac.at | http://www.ait.ac.at/

FN: 115980 i HG Wien  |  UID: ATU14703506
This email and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient, please notify the sender by return e-mail or by telephone and delete this message from your system and any printout thereof. Any unauthorized use, reproduction, or dissemination of this message is strictly prohibited. Please note that e-mails are susceptible to change. AIT Austrian Institute of Technology GmbH shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt.



Reply to: