Python 3.x ModuleNotFoundError:没有名为';UAC客户权利';dpkg:错误处理包ubuntu advantage tools(--configure):
每当我尝试sudo apt升级或尝试安装任何其他软件包时,都会出现上述错误。有办法解决吗??使用ubuntu 16.04Python 3.x ModuleNotFoundError:没有名为';UAC客户权利';dpkg:错误处理包ubuntu advantage tools(--configure):,python-3.x,linux,ubuntu,ubuntu-16.04,upgrade,Python 3.x,Linux,Ubuntu,Ubuntu 16.04,Upgrade,每当我尝试sudo apt升级或尝试安装任何其他软件包时,都会出现上述错误。有办法解决吗??使用ubuntu 16.04 Removing python3-distro-info (0.14ubuntu0.2) ... Setting up ubuntu-advantage-tools (27.0~16.04.1) ... Traceback (most recent call last): File "<string>", line 2, in <mo
Removing python3-distro-info (0.14ubuntu0.2) ...
Setting up ubuntu-advantage-tools (27.0~16.04.1) ...
Traceback (most recent call last):
File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'uaclient.entitlements'
dpkg: error processing package ubuntu-advantage-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
正在删除python3发行版信息(0.14ubuntu0.2)。。。
正在设置ubuntu advantage工具(27.0~16.04.1)。。。
回溯(最近一次呼叫最后一次):
文件“”,第2行,在
ModuleNotFoundError:没有名为“uaclient.Rights”的模块
dpkg:错误处理包ubuntu advantage tools(--configure):
安装的子进程安装后脚本返回错误退出状态1
处理时遇到错误:
ubuntu优势工具
E:子流程/usr/bin/dpkg返回错误代码(1)
我也有同样的问题,试着解决,然后它对我有用
我的环境:
- 操作系统:ubuntu 18.04 LTS
- python版本:3.6.9(系统默认),手动 安装3.8.7
設定 ubuntu-advantage-tools (27.0.2~18.04.1) ...
Traceback (most recent call last):
File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'uaclient.entitlements'
dpkg: error processing package ubuntu-advantage-tools (--configure):
installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
處理時發生錯誤:
ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
我认为如果您使用的是系统python,您可以使用注释,方法是
Jan Wilamowski
,这是否回答了您的问题?我已经试过了,但没有成功。我有同样的情况。我在哪里可以找到uaclinet(dist package)?@diogenes_vz ubuntu系统python dist packages路径是/usr/lib/python3/dist packages
設定 ubuntu-advantage-tools (27.0.2~18.04.1) ...
W: APT had planned for dpkg to do more than it reported back (0 vs 4).
Affected packages: ubuntu-advantage-tools:amd64