繁体   English   中英

更新ubuntu内核时出现问题

[英]problems updating ubuntu kernel

我已经在Virtual Box上安装了Ubuntu 16.04.4 LTS。 更新内核时遇到一些问题,我不知道如何解决! 阅读别人尝试过的答案

sudo apt-get update

sudo apt-get upgrade

这是报告

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
I seguenti pacchetti saranno RIMOSSI:
linux-image-extra-4.10.0-28-generic
0 aggiornati, 0 installati, 1 da rimuovere e 0 non aggiornati.
5 non completamente installati o rimossi.
Dopo quest'operazione, verranno liberati 156 MB di spazio su disco.
Continuare? [S/n] S
(Lettura del database... 232826 file e directory attualmente installati.)
Rimozione di linux-image-extra-4.10.0-28-generic (4.10.0-28.32~16.04.2)...
depmod: ERROR: failed to load symbols from /lib/modules/4.10.0-28-generic/misc/vboxvideo.ko: Invalid argument
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
Error! Your kernel headers for kernel 4.10.0-28-generic cannot be found.
Please install the linux-headers-4.10.0-28-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-28-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
run-parts: executing /etc/kernel/postinst.d/vboxadd 4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
run-parts: failed to exec /etc/kernel/postinst.d/vboxadd: Exec format error
run-parts: /etc/kernel/postinst.d/vboxadd exited with return code 1
dpkg: errore nell'elaborare il pacchetto linux-image-extra-4.10.0-28-generic (--remove):
il sottoprocesso installato script di post-removal ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
linux-image-extra-4.10.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

谢谢大家的帮助!

解决了! 我设法按照此站点中的说明解决了内核问题(我必须删除var / lib / dpkg / status中损坏的软件包的引用)。

这里的答案的网站

https://askubuntu.com/questions/1014322/how-to-fix-configuration-issues-of-an-old-kernel-in-order-to-make-upgrade-possib

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM