--purge
see man apt-get and man dpkg
hi,
I'm tring to remove all the X and KDE stuff...
the packges are removed successfuly, but many times
I get "directory used" and some such...
Later the packges are still seen in dpkg -l, which is annoyng..
i cant figure out what is left and what I already deinstalled...
Is thre a way to remove totaly packge so that it is both -
deleted from "dpkg -l" and all files correspondending to it be
removed too...
--purge
see man apt-get and man dpkg
doesnt helpOriginally Posted by Ghandalfar
#dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
.....
23032 libwine
26824 gimp
31908 mozilla-browser
33048 kernel-image-2.4.22-xfs
35904 emacs21-common
39476 tetex-extra
53868 tetex-base
# apt-get --purge remove tetex-base
Reading Package Lists...
Building Dependency Tree...
Package tetex-base is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 353 not upgraded.
the same is with the all other packges I want to remove !!?!?
Try dpkg -l | grep ii that will give you a list of the packages actually installed. dpkg will list all available packages in its database not just the installed ones.

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
Compaq ProLiant 1500R 5/100 rack server, Series 3155, with IBM 2.1GB HD, VINTAGE
$295.00
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30
IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs
$49.99
IBM 7014-T00 Enterprise 19" Rack Enclosure No Keys
$549.95