The grep -e ices stanza would select anything that contains substring ices in it like glib-networking-services, php-services-json, libicessl34, and so on. You should have resticted it with ^ices$. The same is true for all other strings you grepped. E.g. grep -e mplayer would select all the packages listed below
Code:
gnome-mplayer - GTK+ interface for MPlayer
gnome-mplayer-dbg - GTK+ interface for MPlayer (debugging symbols)
mplayerthumbs - video thumbnail generator using mplayer
kmplayer - media player for KDE
mplayer-dbg - debugging symbols for MPlayer
mplayer-gui - movie player for Unix-like systems
mplayer-skin-blue - blue skin for mplayer
mplayer2-dbg - Debugging symbols for mplayer2
remuco-mplayer - duplex remote control for media players - MPlayer adapter
smplayer - complete front-end for MPlayer and MPlayer2
smplayer-translations - complete front-end for MPlayer and MPlayer2 - translation files
smplayer-themes - complete front-end for MPlayer - icon themes
python-templayer - layered template library for Python
vdr-plugin-mplayer - MPlayer playback plugin for VDR
mplayer - Ultimate Movie Player For Linux.
mplayer-doc - Documentation for mplayer.
mplayer-nogui - Ultimate Movie Player For Linux.
mplayer2 - Advanced general-purpose video player.
smplayer2 - Front-end for Mplayer2.
smplayer2-common - Front-end for Mplayer2 (common data files).
Note that python-templayer has nothing to do with Mplayer.
Update
Please have a look at the output of
Code:
awk '$3=="remove"' /var/log/dpkg.log
To get the list of packages you may want to re-install, try
Code:
awk '$1=="2013-03-30" && $3=="remove" {print $4}' /var/lib/dpkg.log
Bookmarks