diff options
-rw-r--r-- | backupninja/packages.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backupninja/packages.sh b/backupninja/packages.sh new file mode 100644 index 0000000..c21912c --- /dev/null +++ b/backupninja/packages.sh @@ -0,0 +1,10 @@ +LANG=C + +dpkg --get-selections > /var/backups/dpkg-selections.txt + +aptitude -F '%p#%v#' search '~i!~M' > /var/backups/aptitude-installed-explicitly.txt +aptitude -F '%p#%v#' search '~i!~Odebian' > /var/backups/aptitude-installed-aliens.txt +aptitude -F '%p#' search '!~i~Rrecommends:(~i)' > /var/backups/aptitude-notinstalled-recommended.txt + +debconf-get-selections > /var/backups/debconf-questions.txt +debconf-get-selections --installer > /var/backups/debconf-questions-di.txt 2> /dev/null || true |