[Kernel/Drive] 升级20.2失败恢复后出现的问题,现在无法更新应用了
Tofloor
poster avatar
bask422
deepin
2021-04-07 07:40
Author

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

Error! Could not locate dkms.conf file.

File: /var/lib/dkms/nvidia-current/460.39/source/dkms.conf does not exist.

run-parts: /etc/kernel/postinst.d/dkms exited with return code 4

update-initramfs: Generating /boot/initrd.img-5.11.1-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.

I: The initramfs will attempt to resume from /dev/sda7

I: (UUID=5ec43256-7835-4e06-88bf-b08689243b35)

I: Set the RESUME variable to override this.

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+

Skipped Deepin 20.1 (20.1) on /dev/sda4 by user request.

done

dpkg: 处理软件包 linux-image-5.11.1-amd64-desktop (--configure)时出错:

 已安装 linux-image-5.11.1-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1

dpkg: 依赖关系问题使得 linux-image-deepin-stable-amd64 的配置工作不能继续:

 linux-image-deepin-stable-amd64 依赖于 linux-image-5.11.1-amd64-desktop;然而:

  软件包 linux-image-5.11.1-amd64-desktop 尚未配置。

 

dpkg: 处理软件包 linux-image-deepin-stable-amd64 (--configure)时出错:

 依赖关系问题 - 仍未被配置

在处理时有错误发生:

 linux-image-5.11.1-amd64-desktop

 linux-image-deepin-stable-amd64

E: Sub-process /usr/bin/dpkg returned an error code (1)

尝试卸载所有英伟达驱动(sudo apt autoremove nvidia-*)也是这样 纠结……

 

现在内核为5.10.5

 

英伟达驱动一直未能驱动起显卡 现在用的英特尔的集成显卡

 

我的电脑是ACER 4752G 有哪位大佬用这个,给个优化教程可好,或者如何驱动双显卡。

 

Reply Favorite View the author
All Replies
Ziggy
deepin
2021-04-07 08:46
#1

sudo dpkg --configure -a看看有没有报错

Reply View the author
bask422
deepin
2021-04-08 05:31
#2
Ziggy

sudo dpkg --configure -a看看有没有报错

今天将nvidia驱动升级 ,再tty里面(设计驱动后进不去系统了)删除nvidia驱动,再升级系统 可以了

Reply View the author