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

Re: offline apt-get



On Dec 08, 2018 at 11:21:43, Andreas Weber wrote:
> Hallo an alle,
> 
> Angenommen es gibt ein Dutzend fast identische Stretch Systeme, die keinen
> Internet Zugang haben. Ich würde jetzt gerne ein System ans Netzwerk hängen
> und dort "apt-get update && apt-get upgrade" laufen lassen, und die gezogenen
> deb per USB-Stick auf die anderen Systeme verteilen und dort dann auch
> aktualisieren.
> 
> Wie macht man sowas am Besten?
> apt-get hat ein "--download-only" und dann könnte man am Zielsystem mittels
> dpkg -i installieren? Da gibt es doch sicher einen besseren Weg, oder?
> 
> Danke für eure Ideen, Gruß Andy

Schau dir mal apt-cacher-ng an

Package: apt-cacher-ng
Version: 3.2-1
Priority: optional
Section: net
Maintainer: Eduard Bloch <blade@debian.org>
Installed-Size: 1,455 kB
Pre-Depends: dpkg (>= 1.15.6)
Depends: libbz2-1.0, libc6 (>= 2.22), libgcc1 (>= 1:3.3.1), liblzma5 (>= 
5.1.1alpha+20120614), libssl1.1 (>= 1.1.0), libstdc++6 (>= 5.2), 
libsystemd0 (>= 210), libwrap0 (>= 7.6-4~), zlib1g (>= 1:1.2.0), debconf 
(>= 0.5) | debconf-2.0, adduser, lsb-base (>= 3.0-6)
Suggests: doc-base, libfuse2 (>= 2.5), avahi-daemon
Conflicts: logrotate (<< 3.8.0)
Homepage: http://www.unix-ag.uni-kl.de/~bloch/acng/
Tag: admin::package-management, implemented-in::c, interface::daemon,
 network::server, network::service, protocol::http, role::program,
 suite::debian, use::downloading, use::proxying,
 works-with::software:package, works-with::software:source
Download-Size: 530 kB
APT-Sources: http://ftp.hosteurope.de/mirror/ftp.debian.org/debian 
testing/main amd64 Packages
Description: caching proxy server for software repositories
 Apt-Cacher NG is a caching proxy for downloading packages from 
 Debian-style software repositories (or possibly from other types).
 .
 The main principle is that a central machine hosts the proxy for a 
 local network, and clients configure their APT setup to download through it.
 Apt-Cacher NG keeps a copy of all useful data that passes through it, 
 and when a similar request is made, the cached copy of the data is delivered 
 without being re-downloaded.
 .
 Apt-Cacher NG has been designed from scratch as a replacement for
 apt-cacher, but with a focus on maximizing throughput with low system
 resource requirements. It can also be used as replacement for apt-proxy 
 and approx with no need to modify clients' sources.list files.

Hth Michael

-- 
Beware of programmers who carry screwdrivers.

Attachment: signature.asc
Description: PGP signature


Reply to: