[System Installation] 系统升级20.2.1成了半成品,求解决 Resolved
Tofloor
poster avatar
寒羽
deepin
2021-05-18 04:32
Author
$ sudo dpkg --configure -a

正在设置 linux-image-5.10.29-amd64-desktop (5.10.29-amd64-desktop-2) ...
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/asg_xdroid/1.0/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.10.29-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.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
-------------然后一大串相似的-------------
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.29-amd64-desktop
Found initrd image: /boot/initrd.img-5.10.29-amd64-desktop
Found linux image: /boot/vmlinuz-5.10.18-amd64-desktop
Found initrd image: /boot/initrd.img-5.10.18-amd64-desktop
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done

dpkg: 处理软件包 linux-image-5.10.29-amd64-desktop (--configure)时出错:
 已安装 linux-image-5.10.29-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1
dpkg: 依赖关系问题使得 linux-image-deepin-amd64 的配置工作不能继续:
 linux-image-deepin-amd64 依赖于 linux-image-5.10.29-amd64-desktop;然而:
  软件包 linux-image-5.10.29-amd64-desktop 尚未配置。

dpkg: 处理软件包 linux-image-deepin-amd64 (--configure)时出错:
 依赖关系问题 - 仍未被配置
在处理时有错误发生:
 linux-image-5.10.29-amd64-desktop
 linux-image-deepin-amd64

求助,怎么解决,在图形界面更新搜不到任何东西,提示系统已经是最新的。

 

 

Reply Favorite View the author
All Replies
lcw0268
deepin
2021-05-18 09:09
#1
It has been deleted!
忘记、过去
deepin
2021-05-18 09:09
#2

之前安装过 xdroid?卸载干净再试试看

Reply View the author
gangbanbro
deepin
2021-05-18 18:18
#3

我昨天也这样 。搞了好久解决了

xdroid卸载不干净导致的。。他官方脚本也没卸载干净。

sudo dkms status

可以看到有个xdroid的在里面,我的版本号是1.0

然后sudo remove asg_xdroid/1.0

提示成功就好了。

妈的折腾了我好久,再不装这玩意了

Reply View the author
寒羽
deepin
2021-05-24 05:00
#4
gangbanbro

我昨天也这样 。搞了好久解决了

xdroid卸载不干净导致的。。他官方脚本也没卸载干净。

sudo dkms status

可以看到有个xdroid的在里面,我的版本号是1.0

然后sudo remove asg_xdroid/1.0

提示成功就好了。

妈的折腾了我好久,再不装这玩意了

无法定位软件包 asg_xdroid

出现这个报错

而且sudo remove asg_xdroid/1.0这个会提示remove:找不到命令

我用了sudo apt remove asg_xdroid,就提示:

无法定位软件包 asg_xdroid

Reply View the author
gangbanbro
deepin
2021-05-24 17:43
#5

抱歉打错了。

dkms remove asg_xdroid/1.0 --all

用这个试试。我用这解决的。

在root账户下。或者加sudo

原理就是dkms中xdroid生成一个东西,卸载的时候没有移除掉。用dkms remove移除掉就可以了

Reply View the author
寒羽
deepin
2021-05-25 02:40
#6
gangbanbro

抱歉打错了。

dkms remove asg_xdroid/1.0 --all

用这个试试。我用这解决的。

在root账户下。或者加sudo

原理就是dkms中xdroid生成一个东西,卸载的时候没有移除掉。用dkms remove移除掉就可以了

感谢,已经搞定了

Reply View the author
gangbanbro
deepin
2021-05-25 17:58
#7
寒羽

感谢,已经搞定了

我当时也是研究了好久,到处折腾,我都差点重装了。当时折腾的时候在论坛搜到你的帖子发现没人回复。

我一弄好第一时间就来回复你了。生怕你重装了哈哈哈。

Reply View the author
寒羽
deepin
2021-05-26 06:11
#8
gangbanbro

我当时也是研究了好久,到处折腾,我都差点重装了。当时折腾的时候在论坛搜到你的帖子发现没人回复。

我一弄好第一时间就来回复你了。生怕你重装了哈哈哈。

不是系统用不了,不会轻易重装系统的,等到下次系统更新还没解决的话,就在论坛泡几天了。

解决不了,也升级不了,再重装,再次感谢~

Reply View the author