[Kernel/Drive] [已解决]内核升级爆出这个错误,然后就进不了图形界面了
Tofloor
poster avatar
澎湃小青年白羊
deepin
2021-02-08 05:28
Author

sudo apt install linux-image-deepin-stable-amd64 linux-headers-deepin-stable-amd64 

正在读取软件包列表... 完成

正在分析软件包的依赖关系树       

正在读取状态信息... 完成       

将会同时安装下列软件:

  linux-headers-5.10.5-amd64-desktop+ linux-image-5.10.5-amd64-desktop+

下列【新】软件包将被安装:

  linux-headers-5.10.5-amd64-desktop+ linux-headers-deepin-stable-amd64 linux-image-5.10.5-amd64-desktop+

  linux-image-deepin-stable-amd64

升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。

需要下载 71.3 MB 的归档。

解压缩后会消耗 330 MB 的额外空间。

您希望继续执行吗? [Y/n] y

获取:1 https://community-packages.deepin.com/deepin apricot/main amd64 linux-headers-5.10.5-amd64-desktop+ amd64 5.10.5-amd64-desktop+-1 [7,993 kB]

获取:2 https://community-packages.deepin.com/deepin apricot/main amd64 linux-image-5.10.5-amd64-desktop+ amd64 5.10.5-amd64-desktop+-1 [63.3 MB]

获取:3 https://community-packages.deepin.com/deepin apricot/main amd64 linux-headers-deepin-stable-amd64 amd64 5.10.5-10.1-1 [1,932 B]

获取:4 https://community-packages.deepin.com/deepin apricot/main amd64 linux-image-deepin-stable-amd64 amd64 5.10.5-10.1-1 [2,020 B]

已下载 71.3 MB,耗时 3秒 (20.6 MB/s)                        

正在选中未选择的软件包 linux-headers-5.10.5-amd64-desktop+。

(正在读取数据库 ... 系统当前共安装有 358433 个文件和目录。)

准备解压 .../linux-headers-5.10.5-amd64-desktop+_5.10.5-amd64-desktop+-1_amd64.deb  ...

正在解压 linux-headers-5.10.5-amd64-desktop+ (5.10.5-amd64-desktop+-1) ...

正在选中未选择的软件包 linux-image-5.10.5-amd64-desktop+。

准备解压 .../linux-image-5.10.5-amd64-desktop+_5.10.5-amd64-desktop+-1_amd64.deb  ...

正在解压 linux-image-5.10.5-amd64-desktop+ (5.10.5-amd64-desktop+-1) ...

正在选中未选择的软件包 linux-headers-deepin-stable-amd64。

准备解压 .../linux-headers-deepin-stable-amd64_5.10.5-10.1-1_amd64.deb  ...

正在解压 linux-headers-deepin-stable-amd64 (5.10.5-10.1-1) ...

正在选中未选择的软件包 linux-image-deepin-stable-amd64。

准备解压 .../linux-image-deepin-stable-amd64_5.10.5-10.1-1_amd64.deb  ...

正在解压 linux-image-deepin-stable-amd64 (5.10.5-10.1-1) ...

正在设置 linux-headers-5.10.5-amd64-desktop+ (5.10.5-amd64-desktop+-1) ...

正在设置 linux-image-5.10.5-amd64-desktop+ (5.10.5-amd64-desktop+-1) ...

Error! Bad return status for module build on kernel: 5.10.5-amd64-desktop+ (x86_64)

Consult /var/lib/dkms/nvidia/450.80.02/build/make.log for more information.

update-initramfs: Generating /boot/initrd.img-5.10.5-amd64-desktop+

cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 

    nor crypto modules. If that's on purpose, you may want to uninstall the 

    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 

    integration and avoid this warning.

setupcon is missing. Please install the 'console-setup' package.

live-boot: core filesystems devices utils udev blockdev dns.

fix systemd/logind config

Generating grub configuration file ...

Found theme: /boot/grub/themes/deepin/theme.txt

Found background image: /boot/grub/themes/deepin/background.jpg

Found linux image: /boot/vmlinuz-5.10.5-amd64-desktop+

Found initrd image: /boot/initrd.img-5.10.5-amd64-desktop+

Found linux image: /boot/vmlinuz-5.8.14-amd64-desktop

Found initrd image: /boot/initrd.img-5.8.14-amd64-desktop

Found linux image: /boot/vmlinuz-5.4.70-amd64-desktop

Found initrd image: /boot/initrd.img-5.4.70-amd64-desktop

Found linux image: /boot/vmlinuz-5.4.50-amd64-desktop

Found initrd image: /boot/initrd.img-5.4.50-amd64-desktop

Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi

Adding boot menu entry for EFI firmware configuration

done

正在设置 linux-headers-deepin-stable-amd64 (5.10.5-10.1-1) ...

正在设置 linux-image-deepin-stable-amd64 (5.10.5-10.1-1) ...

 

Reply Favorite View the author
All Replies
widon1104
deepin
2021-02-08 05:36
#1

选择5.10.5内核进不了桌面,那系统启动的时候选择其他版本内核应该可以进的了桌面吧

Reply View the author
澎湃小青年白羊
deepin
2021-02-08 05:38
#2
widon1104

选择5.10.5内核进不了桌面,那系统启动的时候选择其他版本内核应该可以进的了桌面吧

恩恩,现在是用之前的版本进的,大佬有没有办法帮我把5.10.5拯救一下

Reply View the author
SamLukeYes
deepin
2021-02-08 06:01
#3

N 卡?别救了,老老实实用 5.4 吧

Reply View the author
Ziggy
deepin
2021-02-08 07:14
#4

内核不兼容,乖乖用旧内核吧

Reply View the author
kearney
deepin
2021-02-08 07:51
#5

5.10我的没蓝牙。。键鼠都用2.4g外接usb扩展坞太难看。直接修改默认启动项为旧内核5.7

Reply View the author
lcw0268
deepin
2021-02-08 08:49
#6

楼主是安装的.run闭源驱动,还是仓库的闭源驱动?

卸载显卡驱动,再安装就可以了。

Reply View the author
shy
deepin
2021-02-08 17:33
#7
澎湃小青年白羊

恩恩,现在是用之前的版本进的,大佬有没有办法帮我把5.10.5拯救一下

旧内核上官网找驱动

新内核进不了图形界面能进tty吧

进tty用命令装驱动

重启

 

 

Reply View the author
澎湃小青年白羊
deepin
2021-02-08 22:35
#8
shy

旧内核上官网找驱动

新内核进不了图形界面能进tty吧

进tty用命令装驱动

重启

 

 

给力,tty安装驱动后好了

Reply View the author
澎湃小青年白羊
deepin
2021-02-08 22:35
#9
lcw0268

楼主是安装的.run闭源驱动,还是仓库的闭源驱动?

卸载显卡驱动,再安装就可以了。

进tty重新装了一边驱动好了

Reply View the author