Como as mensagens já dizem, tente reinstalá-las. Isso pode ser feito facilmente apenas executando
% bl0ck_qu0te% Oapt irá então reinstalar os pacotes, o que deve fazer com que o dpkg não mostre os pacotes na auditoria.
Estou tentando consertar o problema dos pacotes quebrados no meu pc do Ubuntu.
quando tento auditar meu dpkg no terminal (sudo dpkg --audit Eu recebo ....
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)
Como as mensagens já dizem, tente reinstalá-las. Isso pode ser feito facilmente apenas executando
% bl0ck_qu0te% Oapt irá então reinstalar os pacotes, o que deve fazer com que o dpkg não mostre os pacotes na auditoria.
Finalmente, meu problema foi resolvido
Motivo do problema (configurei meu phython como 3.5 em vez do padrão 2.7). Então, isso afeta o libglib2.0
Você pode tentar corrigir isso por:
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.
E reinstalou pacotes quebrados usando o gerenciador de pacotes synaptic. Tudo funciona bem agora.