hoje adicionei um nome de domínio obrigatório para usar uma impressora de rede que foi pré-configurada usando o CUPS. Então eu quis imprimir uma página de teste na impressora de configuração usando o CUPS, mas o CUPS não reagiu de forma alguma. A remoção do CUPS falhou ...
root@pc:~# apt-get remove cups
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cups-browsed cups-core-drivers cups-daemon cups-server-common hplip-data libart-2.0-2 libcupscgi1 libcupsmime1 libgutenprint2 libhpmud0 libsane-hpaio libsensors4 libsnmp-base libsnmp30 python3-pexpect
python3-pil python3-ptyprocess python3-renderpm python3-reportlab python3-reportlab-accel
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
bluez-cups cups hplip indicator-printers printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp printer-driver-splix
0 upgraded, 0 newly installed, 8 to remove and 81 not upgraded.
1 not fully installed or removed.
After this operation, 5.784 kB disk space will be freed.
Do you want to continue? [Y/n]
Setting up util-linux (2.27.1-6ubuntu3.2) ...
insserv: warning: script 'K01cups' missing LSB tags and overrides
insserv: warning: script 'cups' missing LSB tags and overrides
insserv: Starting cups depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting cups depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting cups depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service cups and rc.local if started
insserv: loop involving service rc.local at depth 7
insserv: loop involving service cups at depth 1
insserv: Starting cups depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Agora, até apt-get upgrade
não pode continuar!
Por favor, deixe saber como resolver esse problema ... Eu estou usando o Ubuntu 16.4 LTS
Obrigado antecipadamente!