You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
480 B
Bash

#!/bin/sh
# check for things not installed via dpkg/apt
echo "== Packages not in installed state"
dpkg -l | egrep -v "^(ii|Desired|\||\+)"
echo "== Orphan packages"
deborphan | egrep -v 'libc6-i686|lib.*-ruby$|opensync|gstreamer0.10-plugins.*|libtime-modules-perl|vpim|gnome-session-fallback|.*-globalmenu|gcalctool|clive|unity-scope'
echo "== *.dpkg in /etc"
find /etc -name "*.dpkg-*" -or -name "*.ucf-*"
echo "== Orphan packages according to aptitude"
aptitude search "~o"