My Ubuntu is running somewhat slow sometimes. Now I would like to check if all packages are still installed, maybe I uninstalled an important package.

How can I re-check if all initial packages are still installed?

  • Actually, some packages from the manifest are removed upon installation, such as GParted, Ubiquity, various language packs, etc. – muru Feb 21 '15 at 13:56
  • I can filter that out with egrep -v '(language-pack|ubiquity|linux-) am I missing something? – rubo77 Feb 21 '15 at 14:34
  • Not sure, but I suppose. – muru Feb 21 '15 at 14:37

There is a full list in the manifest file of each distribution at http://releases.ubuntu.com

To generate a list use

cd /tmp/
# 14.10: $ wget http://old-releases.ubuntu.com/releases/utopic/ubuntu-14.10-desktop-amd64.manifest
# 16.04.2: $ wget http://releases.ubuntu.com/releases/xenial/ubuntu-16.04.2-desktop-amd64.manifest
# for 16.10: 
wget http://releases.ubuntu.com/releases/16.10/ubuntu-16.10-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.manifest.list not packages.installed.list > packages.diff.list

For 32 bit use another manifest with the ending desktop-i386.manifest:

wget http://releases.ubuntu.com/utopic/ubuntu-14.10-desktop-i386.manifest -q -O - | cut -f 1 > packages.manifest.list 

Now just figure out how to ignore those packages that are removed upon installation, such as GParted, Ubiquity, various language packs, etc.:

cat packages.diff.list |egrep -v '('$IGNORE')' |less

(full list of removed packages here)

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.