无法升级 Ubuntu

无法升级 Ubuntu

我有 18.04 ubuntu。当我尝试使用 sudo apt-get upgrade 升级它时,我收到以下错误消息 -

Removing oem-workaround-bluetooth-status (6) ...
sed: can't read /lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules: No such file or directory
dpkg: error processing package oem-workaround-bluetooth-status (--remove):
 installed oem-workaround-bluetooth-status package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
 oem-workaround-bluetooth-status
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人可以帮忙吗?

答案1

我有很多想法。不确定是否有一个可行:

这添加了他正在寻找的文件:

sudo touch /lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules

当我遇到此类问题时,这个经常能帮助我:

sudo dpkg --configure -a

将从您的计算机中删除此包(但我认为如果没有上述其中一个包它将无法工作):

sudo apt remove oem-workaround-bluetooth-status

相关内容