Flycean
(usa Linux Mint)
Enviado em 10/09/2019 - 12:44h
Olá,
Sou novo no mundo linux e no fórum. Estou aprendendo sobre linux, e estou com o seguinte problema numa máquina com linux mint ao tentar dar upgrade:
User02@Jovi:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-headers-4.15.0-60-generic (4.15.0-60.67) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 4.15.0-60-generic
Error! Could not locate dkms.conf file.
File: does not exist.
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
dpkg: error processing package linux-headers-4.15.0-60-generic (--configure):
installed linux-headers-4.15.0-60-generic package post-installation script subprocess returned error exit status 1
Setting up linux-headers-4.15.0-62-generic (4.15.0-62.69) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 4.15.0-62-generic
Error! Could not locate dkms.conf file.
File: does not exist.
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
dpkg: error processing package linux-headers-4.15.0-62-generic (--configure):
installed linux-headers-4.15.0-62-generic package post-installation script subprocess returned error exit status 1
Setting up linux-image-4.15.0-62-generic (4.15.0-62.69) ...
Setting up linux-image-4.15.0-60-generic (4.15.0-60.67) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-60-generic
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-4.15.0-62-generic; however:
Package linux-headers-4.15.0-62-generic is not configured yet.
dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
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
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.15.0.62.64); however:
Package linux-headers-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for linux-image-4.15.0-62-generic (4.15.0-62.69) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 4.15.0-62-generic
Error! Could not locate dkms.conf file.
File: does not exist.
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
dpkg: error processing package linux-image-4.15.0-62-generic (--configure):
installed linux-image-4.15.0-62-generic package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
Processing triggers for linux-image-4.15.0-60-generic (4.15.0-60.67) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 4.15.0-60-generic
Error! Could not locate dkms.conf file.
File: does not exist.
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 4
dpkg: error processing package linux-image-4.15.0-60-generic (--configure):
installed linux-image-4.15.0-60-generic package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-headers-4.15.0-60-generic
linux-headers-4.15.0-62-generic
linux-headers-generic
linux-generic
linux-image-4.15.0-62-generic
linux-image-4.15.0-60-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Com certeza foi alguma falha na instalação ou remoção do dpkg. Tentei restaurar porém não há imagens de backup para salvar do desastre e o pc está com alguns arquivos importantes... o que me resta tentar solucionar esse problema.
Alguma sugestão - passo a passo - para me ajudar, por favor?