Você tem alguns pacotes de DKMS ruins. Sugiro removê-los:
sudo dkms remove i915/usbc --all
sudo dkms remove i915_bpo/usbc --all
Eu atualizei o tot 17.04 (do Ubuntu Gnome 16.10) recentemente e agora recebo os seguintes erros toda vez que eu tento apt install
ou apt upgrade
. Eu tentei remover os pacotes que parecem aumentar os erros, mas nada funcionou até agora.
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be REMOVED: linux-image-extra-4.8.0-58-generic linux-image-extra-4.8.0-59-generic 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 11 not fully installed or removed. After this operation, 322 MB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 254844 files and directories currently installed.) Removing linux-image-extra-4.8.0-58-generic (4.8.0-58.63) ... depmod: FATAL: could not load /boot/System.map-4.8.0-58-generic: No such file or directory run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic Error! Could not locate dkms.conf file. File: does not exist. run-parts: /etc/kernel/postinst.d/dkms exited with return code 4 dpkg: error processing package linux-image-extra-4.8.0-58-generic (--remove): subprocess installed post-removal script returned error exit status 1 Removing linux-image-extra-4.8.0-59-generic (4.8.0-59.64) ... depmod: FATAL: could not load /boot/System.map-4.8.0-59-generic: No such file or directory run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-59-generic /boot/vmlinuz-4.8.0-59-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.8.0-59-generic /boot/vmlinuz-4.8.0-59-generic Error! Could not locate dkms.conf file. File: does not exist. run-parts: /etc/kernel/postinst.d/dkms exited with return code 4 dpkg: error processing package linux-image-extra-4.8.0-59-generic (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-extra-4.8.0-58-generic linux-image-extra-4.8.0-59-generic E: Sub-process /usr/bin/dpkg returned an error code (1)
Parece que alguns outros pacotes 17.04 não foram totalmente instalados por causa disso, o que parece levantar alguns outros problemas (como reinicializações ao sair da suspensão). Como me livrar desses erros / como faço para que o 17.04 funcione totalmente?
Editar 1:
rienheuver@rien-emperor:~$ dkms status i915_bpo, usbc: added i915, usbc, 4.8.0-41-generic, x86_64: installed
Eu tenho um Dell XPS 13 9350, então o usbc parece relevante. Mas não tenho certeza se uso algum deles e / ou se eles ainda são relevantes / necessários.
Você tem alguns pacotes de DKMS ruins. Sugiro removê-los:
sudo dkms remove i915/usbc --all
sudo dkms remove i915_bpo/usbc --all