Como obter o passado do linux-headers-generic tendo dpendencies não atendidos?

0

Eu tentei de tudo, de apt-get -f install a sudo apt-get purge linux-headers* a sudo purge-old-kernels e nada parece me ultrapassar esse erro após este próximo comando ou qualquer comando sudo apt-get install :

sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc

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:

 linux-headers-generic : Depends: linux-headers-4.4.0-122-generic but it is not going to be installed
 php-xmlrpc : Depends: php7.0-xmlrpc but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Eu tenho esta versão do Ubuntu:

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu  
Description:    Ubuntu 16.04.4 LTS 
Release:        16.04
Codename:       xenial

Além disso, se isso ajudar:

sudo dpkg --configure -a

dpkg: dependency problems prevent configuration of linux-headers-generic:
 linux-headers-generic depends on linux-headers-4.4.0-122-generic; however:
  Package linux-headers-4.4.0-122-generic is not installed.

dpkg: error processing package linux-headers-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-virtual:
 linux-headers-virtual depends on linux-headers-generic (= 4.4.0.122.128); however:
  Package linux-headers-generic is not configured yet.

dpkg: error processing package linux-headers-virtual (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-virtual:
 linux-virtual depends on linux-headers-virtual (= 4.4.0.122.128); however:
  Package linux-headers-virtual is not configured yet.

dpkg: error processing package linux-virtual (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-generic
 linux-headers-virtual
 linux-virtual
    
por DDJ 29.04.2018 / 19:22

0 respostas