não pode remover ou reinstalar o mysql e outros pacotes após atualização recente para 16.04 a partir de 14.04

1

Após a atualização eu continuo recebendo problemas com um nome de pacote ampagent. Nenhum deles pode ser removido nem reinstalado. Agora o problema se expandiu para outro. Aqui estão as informações quando eu bato apt-get autoremove .

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lightdm (1.18.2-0ubuntu2) ...
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 8
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup 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 lightdm (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up mysql-server-5.7 (5.7.13-0ubuntu0.16.04.2) ...
Renaming removed key_buffer and myisam-recover options (if present)
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 8
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup 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 mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up ampagent (6.4.180-1) ...
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: Starting AMPAgentBootup depends on rc.local and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service AMPAgentBootup and rc.local if started
insserv:  loop involving service rc.local at depth 8
insserv:  loop involving service AMPAgentBootup at depth 3
insserv: Starting AMPAgentBootup 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 ampagent (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lightdm
 mysql-server-5.7
 ampagent
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por YKD 12.08.2016 / 21:06

1 resposta

0

AVISO: é um trabalho em andamento

Uma pesquisa rápida revela que ampagent é uma ferramenta de gerenciamento de sistemas da Dell.

Você pode tentar desinstalá-lo do terminal usando

sudo opt/dell/kace/bin/AMPTools uninstall

como sugerido por eles. link

Após a conclusão da desinstalação, emita o comando sudo dpkg --configure --all e sudo apt-get -f install para corrigir os problemas restantes.

    
por Anwar 14.08.2016 / 10:39