kaustav_geek said:
So, otherwise the unwanted packages aren't removed ? Can you please elucidate ?
This is a feature in Ubuntu which removes some libs which are not removed by default.It is not yet afaik present in Debian.
Yes.deborphan is what we uses in debian for removing stray packages.
Code:
~#deborphan | xargs apt-get --purge remove -y
*www.debian-administration.org/articles/134
as for using --purge with apt-get or dpkg,
actually apt just removes the package.but not completely.for that u need to use the --purge switch.check in synaptic-there are two options for a given installed packages-remove,remove completely.
for more info read man dpkg
dpkg -r | --remove | -P | --purge package ... | -a | --pending
Remove an installed package. -r or --remove remove everything
except configuration files. This may avoid having to reconfigure
the package if it is reinstalled later. (Configuration files are
the files listed in the debian/conffiles control file). -P or
--purge removes everything, including configuration files. If -a
or --pending is given instead of a package name, then all pack‐
ages unpacked, but marked to be removed or purged in file
/var/lib/dpkg/status, are removed or purged, respectively.
Removing of a package consists of the following steps:
1. Run prerm script
2. Remove the installed files
3. Run postrm script
INFORMATION ABOUT PACKAGES
*www.abc.se/home/m10828/webgine1320e_linux/man__H_dpkg.html
also as u know,installing a pkg doesnt mean its completely configured.
remember "dpkg --configure -a" or "apt-get/aptitude install -f " cmd.