On doing following on my Lenny system:
Code:
dpkg --get-selections > packages.txt
I got the following output with some packages' status as "purge" or "deinstall" like this:
Code:
................
libsepol1 install
libsigc++-2.0-0c2a deinstall
libslang2 install
libsplashy1 install
libss2 install
libssl0.9.8 install
libstdc++6 install
libsysfs2 install
libtext-charwidth-perl install
libtext-iconv-perl install
libtext-wrapi18n-perl install
libts-0.0-0 install
libusb-0.1-4 install
libuuid1 install
libvolume-id0 install
libwrap0 install
libx11-6 install
libx11-data install
libxapian15 deinstall
....................
logrotate install
lsb-base install
lsof install
lzma purge
make install
makedev install
man-db install
manpages install
mawk install
mdetect install
minicom install
mktemp install
module-init-tools install
mount install
nano install
ncurses-base install
ncurses-bin install
net-tools install
netbase install
openssh-blacklist purge
openssh-client install
openssh-server install
passwd install
.............
The packages are shown as purge because I had attempted to remove them but was not able to remove them because of dependency errors.
Also the packages that are shown as "deinstall" are removed on my system. How do I remove these packages from the listing.
How do I set the status of those packages (which are shown as "pruge") back to "install" again? I am fine with not removing them.
I use apt-get as my package manager.