a) Remover as taças não remove o CUPS.
b) você quer usar apt-get purge
não remover, provavelmente.
Você quer eliminar esse lote, no mínimo. Você pode fazer isso com um curinga ou regex.
apt-get purge '^cups'
parece excluir todos os pacotes que começam com xícaras, mas na verdade queremos todos os arquivos contendo xícaras. Especialistas em regex para o resgate, por favor. :-) Veja apt-get purge '^cups'
output abaixo.
(UPDATE: Abaixo os comentários de Paul, o GNOME aparentemente insiste em ter algumas bibliotecas de CUPs instaladas, então eu sugeri que ele simplesmente removesse as coisas do frontend, então na verdade talvez ele realmente queira apt-get purge '^cups'
).
$ dpkg -l | grep cups
ii brhl4070cdw-cups-ppd 1.0.0-1 Brother HL-4070CDW CUPS driver
ii cups 1.4.4-7 Common UNIX Printing System(tm) - server
ii cups-bsd 1.4.4-7 Common UNIX Printing System(tm) - BSD commands
ii cups-client 1.4.4-7 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 1.4.4-7 Common UNIX Printing System(tm) - common files
ii cups-pdf 2.5.0-16 PDF printer for CUPS
ii cups-ppdc 1.4.4-7 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cupsys 1.3.8-1+lenny8 Common UNIX Printing System (transitional package)
ii cupsys-bsd 1.3.8-1+lenny8 Common UNIX Printing System (transitional package)
ii cupsys-client 1.3.8-1+lenny8 Common UNIX Printing System (transitional package)
ii cupsys-common 1.3.8-1+lenny8 Common UNIX Printing System (transitional package)
ii libcups2 1.4.4-7 Common UNIX Printing System(tm) - Core library
ii libcups2-dev 1.4.4-7 Common UNIX Printing System(tm) - Development files CUPS library
ii libcupscgi1 1.4.4-7 Common UNIX Printing System(tm) - CGI library
ii libcupsdriver1 1.4.4-7 Common UNIX Printing System(tm) - Driver library
ii libcupsimage2 1.4.4-7 Common UNIX Printing System(tm) - Raster image library
ii libcupsmime1 1.4.4-7 Common UNIX Printing System(tm) - MIME library
ii libcupsppdc1 1.4.4-7 Common UNIX Printing System(tm) - PPD manipulation library
ii libcupsys2 1.3.8-1+lenny8 Common UNIX Printing System (transitional package)
ii libcupsys2-dev 1.3.8-1+lenny8 Common UNIX Printing System (transitional package)
ii libgnomecups1.0-1 0.2.3-3+b1 GNOME library for CUPS interaction
# apt-get -s purge '^cups'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'cupsys-client' for regex '^cups'
Note, selecting 'cups' for regex '^cups'
Note, selecting 'cups-client' for regex '^cups'
Note, selecting 'cups-pdf' for regex '^cups'
Note, selecting 'cups-pk-helper' for regex '^cups'
Note, selecting 'cups-bsd' for regex '^cups'
Note, selecting 'cups-common' for regex '^cups'
Note, selecting 'cups-pt' for regex '^cups'
Note, selecting 'cups-dbg' for regex '^cups'
Note, selecting 'cups-ppdc' for regex '^cups'
Note, selecting 'cupsddk' for regex '^cups'
Note, selecting 'cups-driver-gutenprint' for regex '^cups'
Note, selecting 'cupsddk-drivers' for regex '^cups'
Note, selecting 'cupsomatic-ppd' for regex '^cups'
Note, selecting 'cupsys-driver-gutenprint' for regex '^cups'
Note, selecting 'cupsys-bsd' for regex '^cups'
Note, selecting 'cupsys-common' for regex '^cups'
Note, selecting 'cupsys' for regex '^cups'
Note, selecting 'cups' instead of 'cupsddk-drivers'
Package cups-pk-helper is not installed, so not removed
Package cups-driver-gutenprint is not installed, so not removed
Package cups-dbg is not installed, so not removed
Package cupsddk is not installed, so not removed
The following packages will be REMOVED:
cups* cups-bsd* cups-client* cups-common* cups-pdf* cups-ppdc* cupsys* cupsys-bsd* cupsys-client* cupsys-common*
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
Purg cupsys [1.3.8-1+lenny8]
Purg cups-pdf [2.5.0-16]
Purg cups [1.4.4-7]
Purg cupsys-bsd [1.3.8-1+lenny8]
Purg cups-bsd [1.4.4-7]
Purg cupsys-client [1.3.8-1+lenny8]
Purg cups-client [1.4.4-7]
Purg cupsys-common [1.3.8-1+lenny8]
Purg cups-ppdc [1.4.4-7]
Purg cups-common [1.4.4-7]