Общий-уведомитель-обновление & amp; ошибки программы установки flashplugin

Я новичок в Linux. Я только что дважды загрузил Ubuntu 16.04 на компьютере с Windows 10. Каждый раз, когда я пытаюсь что-то установить, возникают ошибки, связанные с update-notifier-common и flashplugin-installer. Вот пример, когда я пытался установить Chrome:

Setting up update-notifier-common (3.168.5) ...
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 24, in  <module>
import debian.deb822

File "/usr/lib/python3/dist-packages/debian/deb822.py", line 38, in <module>
import chardet
ImportError: No module named 'chardet'
dpkg: error processing package update-notifier-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of flashplugin-installer:
flashplugin-installer depends on update-notifier-common (>= 0.119ubuntu2); however:
Package update-notifier-common is not configured yet.

dpkg: error processing package flashplugin-installer (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a follow up error from a previous failure.

Setting up chromium-browser (62.0.3202.94-0ubuntu0.16.04.1317) ...
Setting up chromium-browser-l10n (62.0.3202.94-0ubuntu0.16.04.1317) ...
Errors were encountered while processing:
update-notifier-common
flashplugin-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)

Что означает эта ошибка и как ее исправить?

2
задан 7 December 2017 в 02:44

1 ответ

У меня была та же проблема, и так как я установил альтернативную версию Python (3.6), а версия по умолчанию была (3.5), я решил update-alternatives --config python3 использовать предыдущую версию только для обновления.

надеюсь, что это поможет другим, если они столкнутся с той же проблемой.

1
ответ дан 7 December 2017 в 02:44

Другие вопросы по тегам:

Похожие вопросы: