Problema de atualização / Kubuntu

4

Eu estou tentando atualizar através do terminal (preferência) e ainda tenho esse erro que eu não vi ainda. Eu estou usando o Ubuntu KDE (Kubuntu 16.04 xenial). Obrigado pela ajuda.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgeoclue0 libxapian-1.3-5 python3-xapian1.3 vlc-plugin-notify vlc-plugin-samba
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-4.4.0-38-generic (4.4.0-38.57) ...
Running depmod.
sh: 1: /usr/sbin/update-initramfs: not found
Failed to create initrd image.
dpkg: error processing package linux-image-4.4.0-38-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra- 4.4.0-38-generic:
linux-image-extra-4.4.0-38-generic depends on linux-image-4.4.0-38-generic; however:
Package linux-image-4.4.0-38-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.4.0-38-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.4.0-38-generic; however:
Package linux-image-4.4.0-38-generic is not configured yet.
linux-image-generic depends on linux-image-extra-4.4.0-38-generic; however:
Package linux-image-extra-4.4.0-38-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 4.4.0.38.40); however:
Package linux-image-generic is not configured No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written >because the error message indicates its a followup error from a previous failure.
No apport report written >because MaxReports is reached already
yet.

dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-4.4.0-38-generic
linux-image-extra-4.4.0-38-generic
linux-image-generic
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

    
por zirkoxd 22.09.2016 / 23:31

1 resposta

0

Parece que não é possível encontrar o arquivo / usr / sbin / update-initramfs e que o initramfs-tools pode não estar instalado corretamente.

Você pode tentar o seguinte comando para ver se ele já está instalado:

sudo dpkg -l |grep initramfs-tools

Se ainda não estiver instalado, você pode tentar o seguinte comando:

sudo apt-get install initramfs-tools

Se disser que já está instalado, você pode tentar o seguinte:

sudo apt-get install --reinstall initramfs-tools

Espero que isso ajude você.

    
por 14.02.2017 / 10:47