正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
nvidia-361 已经是最新版 (361.42-0ubuntu2)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 149 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 nvidia-361 (361.42-0ubuntu2) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Traceback (most recent call last):
File "/usr/bin/quirks-handler", line 65, in
operation_status = main(options)
File "/usr/bin/quirks-handler", line 44, in main
quirks = Quirks.quirkapplier.QuirkChecker(options.package_enable, path=quirks_path)
File "/usr/lib/python3/dist-packages/Quirks/quirkapplier.py", line 38, in __init__
self._system_info = self.get_system_info()
File "/usr/lib/python3/dist-packages/Quirks/quirkapplier.py", line 64, in get_system_info
return quirk_info.get_dmi_info()
File "/usr/lib/python3/dist-packages/Quirks/quirkinfo.py", line 46, in get_dmi_info
'class', 'dmi', 'id', item)).read().strip()
File "/usr/lib/python3.5/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
dpkg: 处理软件包 nvidia-361 (--configure)时出错:
子进程 已安装 post-installation 脚本 返回错误状态 1
正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...
正在处理用于 initramfs-tools (0.122ubuntu8.1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-4.4.0-31-generic
在处理时有错误发生:
nvidia-361
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/code]
okzokz123 于 2016-09-19 11:03:26发表:
sudo apt-get install build-essential kernel-package libncurses5-dev libpcap-dev
执行过没?
sutao80216 于 2016-09-16 22:44:31发表:
2# okzokz123
软件包依赖不是自动解决吗?还需要提前配置好?
okzokz123 于 2016-09-16 22:20:43发表:
编译环境安装完整没