ImportError: No module named 'chardet'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
$ sudo /etc/init.
...
...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
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.
Do you want to continue? [Y/n] y
Setting up update-
Traceback (most recent call last):
File "/usr/lib/
import debian.deb822
File "/usr/lib/
import chardet
ImportError: No module named 'chardet'
dpkg: error processing package update-
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
update-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
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.
Do you want to continue? [Y/n] y
Setting up update-
Traceback (most recent call last):
File "/usr/lib/
import debian.deb822
File "/usr/lib/
import chardet
ImportError: No module named 'chardet'
dpkg: error processing package update-
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
update-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
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 update-
Traceback (most recent call last):
File "/usr/lib/
import debian.deb822
File "/usr/lib/
import chardet
ImportError: No module named 'chardet'
dpkg: error processing package update-
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
update-
Thank you for your bug report, what's the output of
$ dpkg -l | grep chardet:
and
$ python3 -c 'import chardet'