Debian packages sichern

Ein einfacher und schneller Weg um Packages zu sichern um beispielsweise ein System zu clonen.

– Use “dpkg –get-selections > selections.txt” on your current system.
– Copy the “selections.txt” file over to your target system.
– Run “dpkg –set-selections < selections.txt" on your target system. - Finally, "apt-get dselect-upgrade" will download and install the packages.

Die jeweiligen configs noch aus /etc und man sollte eine gleichwertige Kopie haben.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.