Συντονιστής: konnn

έγραψε:Why would I want to do this?
If you have a medium or large network with many workstations with software set that differs from your distribution’s default, apt-clone can save you a significant amount of time with the first setup, or deployment of new software. Instead of managing each the software set on workstation individually, apt-clone allows you to install once on a single machine, and duplicate this package selection on any other system (with no communication between hosts required).


apt-clone cloneapt-clone restore myfile
apt-clone clone
apt-clone clone .apt-clone restore apt-clone-xxxx.tar.gz
medigeek έγραψε:Θα πρέπει λογικά να φτιάξει κάποιο .tar.gz

έγραψε:$ apt-clone clone --help
usage: apt-clone clone [-h] [--source SOURCE] [--with-dpkg-repack]
[--with-dpkg-status]
destination
positional arguments:
destination
optional arguments:
-h, --help show this help message and exit
--source SOURCE The source dir of the system or chroot, usually '/'
--with-dpkg-repack add no longer downloadable package to the state bundle
(that can make it rather big)
--with-dpkg-status include full copy of dpkg-status file, mostly useful for
debugging
έγραψε:
$ apt-clone clone /tmp/mybox
not installable: drwright, aircrack-ng, libdvdcss2, skype
version mismatch:
Note that you can use --with-dpkg-repack to include those packges in the clone file.
έγραψε:$ mkdir /tmp/mybox/
$ apt-clone clone --with-dpkg-repack /tmp/mybox/
dpkg-deb: building package `drwright' in `./drwright_3.5.0-1~ppap1_amd64.deb'.
dpkg-deb: warning: './dpkg-repack-8058/DEBIAN/control' contains user-defined field 'Original-Maintainer'
dpkg-deb: warning: ignoring 1 warning about the control file(s)
dpkg-deb: building package `libdvdcss2' in `./libdvdcss2_1.2.12-0.0medibuntu1_amd64.deb'.
dpkg-deb: building package `skype' in `./skype_4.0.0.8-1_amd64.deb'.
not installable: drwright, libdvdcss2, skype
version mismatch:
mkdir /tmp/mybox/
apt-clone clone --with-dpkg-repack /tmp/mybox/έγραψε:$ ls -l /tmp/mybox/
total 28776
-rw-rw-r-- 1 savvas savvas 29464282 Oct 7 01:23 apt-clone-state-savvas-desktop.tar.gz
sudo apt-clone restore /tmp/mybox/apt-clone-state-savvas-desktop.tar.gz
