--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 EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99
Lot of 3 IBM 00JY196 ServeRAID M1210 PCI Express SAS SATA Storage Controller
$68.99