--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.

Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC
$69.99
S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)
$99.95
S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)
$99.95
S-100 Bus Handbook Altair 8800 IMSAI 8080 Board Schematics Xitan Pertec Cromemco
$89.99
Intel 4004IBM Mark 1 UNIVAC Cray-1 Babbage ENIAC Apple 1 Steve Jobs MITS Altair
$50.99
1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800
$59.99
Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair
$69.99
640pg Best of BYTE Magazine 1984 Mac Steve Jobs Altair 8800 IBM 5100 Bob Moog
$85.00
CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair
$29.99
ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute
$99.00