#!/usr/bin/env bash # copy a get-selections from the livecd (install your prefered programs beforehand) ## Backup: dpkg --get-selections > /var/tmp/packages.list debconf-get-selections > /var/tmp/debconf-settings.list update-alternatives --get-selections > /var/tmp/alternatives-settings.list /usr/bin/apt-mark showhold > /var/tmp/pkgs_hold.lst /usr/bin/apt-mark showauto > /var/tmp/pkgs_auto.lst /usr/bin/apt-mark showmanual > /var/tmp/pkgs_manual.lst