summaryrefslogtreecommitdiff
path: root/backupninja/packages.sh
blob: c21912ca68c3c184d192cd55e076b0e25d873999 (plain)
  1. LANG=C
  2. dpkg --get-selections > /var/backups/dpkg-selections.txt
  3. aptitude -F '%p#%v#' search '~i!~M' > /var/backups/aptitude-installed-explicitly.txt
  4. aptitude -F '%p#%v#' search '~i!~Odebian' > /var/backups/aptitude-installed-aliens.txt
  5. aptitude -F '%p#' search '!~i~Rrecommends:(~i)' > /var/backups/aptitude-notinstalled-recommended.txt
  6. debconf-get-selections > /var/backups/debconf-questions.txt
  7. debconf-get-selections --installer > /var/backups/debconf-questions-di.txt 2> /dev/null || true