Por que não consigo fazer atualizações de software? (Ubuntu 16.04 LTS)

1

Eu sou um novo usuário linux, só uso o linux há cerca de três meses. Recentemente, notei que sempre que meu atualizador de software me pedia para atualizar, depois que ele tentava atualizar o novo software, ele me dava uma mensagem de erro informando que a operação falhou. Eu tentei usar a linha de comando para consertar a solução, mas o que eu tentei recebi repetidamente essas mensagens de erro:

~$ sudo apt-get update && sudo apt-get dist-upgrade -y
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease             
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease        
Hit:6 http://ppa.launchpad.net/system76-dev/stable/ubuntu xenial InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease     
Reading package lists... Done                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 kbd : Depends: console-setup but it is not installed or
                console-setup-mini but it is not installed
E: Unmet dependencies. Try using -f.

Ou:

~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  console-setup
The following NEW packages will be installed:
  console-setup
0 upgraded, 1 newly installed, 0 to remove and 156 not upgraded.
15 not fully installed or removed.
Need to get 0 B/118 kB of archives.
After this operation, 447 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Setting up util-linux (2.27.1-6ubuntu3.4) ...
insserv: warning: script 'K01vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: There is a loop between service plymouth and urandom if started
insserv:  loop involving service urandom at depth 4
insserv:  loop involving service hwclock at depth 3
insserv: There is a loop between service vpnagentd_init and udev if started
insserv:  loop involving service udev at depth 1
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop at service plymouth if started
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop at service vpnagentd_init if started
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: Starting vpnagentd_init depends on plymouth and therefore on system facility '$all' which can not be true!
insserv: There is a loop between service vpnagentd_init and dns-clean if started
insserv:  loop involving service dns-clean at depth 1
insserv: Starting vpnagentd_init depends on plymouth 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)

Eu realmente aprecio qualquer insight sobre esse problema!

    
por J. Stevens 03.05.2018 / 22:38

1 resposta

0

@George Udosen Obrigado pela ajuda. Depois de olhar o link, eu estava olhando para o arquivo que estava causando o problema: 'vpnagentd_init'. O arquivo era um software de quando eu instalei o Cisco anyConnect e estava faltando as tags LSB. Depois de executar o arquivo de desinstalação do Cisco, corrigindo alguns problemas de configuração e executando o sudo apt-get install -f, consegui consertar o Atualizador de Software.

    
por J. Stevens 29.05.2018 / 03:38