"UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte" when removing nvidia-current package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Alberto Milone |
Bug Description
$sudo apt-get remove nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'nvidia-current' is not installed, so not removed
The following package was automatically installed and is no longer required:
linux-
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-331 (331.38-0ubuntu7) ...
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
Traceback (most recent call last):
File "/usr/bin/
operation_
File "/usr/bin/
quirks = Quirks.
File "/usr/lib/
self.
File "/usr/lib/
return quirk_info.
File "/usr/lib/
'class', 'dmi', 'id', item)).
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
dpkg: error processing package nvidia-331 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nvidia-331
E: Sub-process /usr/bin/dpkg returned an error code (1)
summary: |
- E: Sub-process /usr/bin/dpkg returned an error code (1) + "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: + invalid start byte" when removing nvidia-current package |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in ubuntu-drivers-common (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.