Teste isso:
Abra um terminal.
Execute:
sudo -i
update-rc.d -f slpd remove
dpkg --configure -a
apt-get -f install
Eu estava instalando o OpenNMS e durante a instalação ele falha com o seguinte erro
Preparing to unpack .../slpd_1.2.1-9_amd64.deb ...
Stopping OpenSLP server: slpd.
Unpacking slpd (1.2.1-9) over (1.2.1-9) ...
Setting up slpd (1.2.1-9) ...
+ [ configure = configure ]
+ dpkg --compare-versions le 1.2.1-7.6
+ echo Reinstalling init script for new priorities ...
Reinstalling init script for new priorities ...
+ update-rc.d slpd remove
update-rc.d: /etc/init.d/slpd exists during rc.d purge (use -f to force)
dpkg: error processing package slpd (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
slpd
Agora não consigo instalar ou desinstalar nada.
Teste isso:
Abra um terminal.
Execute:
sudo -i
update-rc.d -f slpd remove
dpkg --configure -a
apt-get -f install