Не мог устранить проблему пакета человечности

Я пытаюсь решить поврежденную проблему пакетов в своем ПК человечности.

когда я пытаюсь контролировать свой dpkg в терминале (sudo dpkg - аудит), я добираюсь....

The following packages are in a mess due to serious problems during
installation.  They must be reinstalled for them (and any packages
that depend on them) to function properly:

 apport               automatically generate crash reports for debugging

 libglib2.0-dev       Development files for the GLib library

The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:

 appgrid              Discover and install apps for Ubuntu

mysql-server         MySQL database server (metapackage depending on the lates

 mysql-workbench-community MySQL Workbench

 python-ecdsa         ECDSA cryptographic signature library (Python 2)

 python-paramiko      Make ssh v2 connections with Python (Python 2)

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:

 mysql-server-5.7     MySQL database server binaries and system database setup

 python-mysql.connector pure Python implementation of MySQL Client/Server proto

 python-mysqldb       Python interface to MySQL

 python-ptyprocess    Run a subprocess in a pseudo terminal from Python 2

 python-pysqlite2     Python interface to SQLite 3

 python-six           Python 2 and 3 compatibility library (Python 2 interface)
0
задан 7 February 2017 в 01:09

2 ответа

Поскольку сообщения уже говорят, пытаются переустановить их. Это может легко быть сделано, просто работая

, sudo способная установка - переустанавливает [имя пакета]

склонный затем переустановит пакеты, которые должны привести к dpkg, не показывающему пакеты в аудите.

0
ответ дан 7 November 2019 в 00:54

Наконец, моя проблема решила

Причина проблемы (я был настроен мой фитон как 3,5 вместо значения по умолчанию 2.7). Так, это влияет на libglib2.0

, которым можно попытаться зафиксировать это:

Executing the command ls -l /usr/bin/python and see it's output, if the file /usr/bin/python point to python3.x , then remove the link with the command sudo rm /usr/bin/python and use this one to create a link to python2 sudo ln -s /usr/bin/python2.7 /usr/bin/python. With this, python2.7 will be back as the default python version in your system.

И переустановленные поврежденные пакеты с помощью синаптического диспетчера пакетов. Все работает хорошо теперь.

0
ответ дан 7 November 2019 в 00:54

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

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