В файле манифеста каждого дистрибутива есть полный список по адресу http://releases.ubuntu.com
. Для получения списка используйте
source /etc/lsb-release
wget http://releases.ubuntu.com/$DISTRIB_CODENAME/ubuntu-$DISTRIB_RELEASE-desktop-amd64.manifest \
-q -O - | cut -f 1 > packages.manifest.list
# compare it with the list generated by
dpkg --get-selections | cut -f 1 > packages.installed.list
# from moreutils you can use combine:
combine packages.installed.list not packages.manifest.list > packages.diff.list
для 32 бит использовать другой манифест:
wget http://releases.ubuntu.com/$DISTRIB_CODENAME/ubuntu-$DISTRIB_RELEASE-desktop-i386.manifest -q -O - | cut -f 1 > packages.manifest.list