Dopo aver esaminato il file menzionato nell'errore /var/lib/dpkg/statussulla riga 55497, ho visto questo:
Package: indicator-displex
Priority: optional
Section: GTK, system, admin
Installed-Size: 1524
Maintainer: Arick McNiel <arickmcniel AT yahoo DOT com>
Architecture: all
Version: 0.1
Depends: python, python-gtk2, python-central (>= 0.6.1), python-notify, python-appindicator, compiz
Size: 130748
Description: DisPlex
AppIndicator to interface with Compiz / Xrandr / Emerald.
.
The Displex (indicator-displex) application provides an AppIndicator to the display
interfaces of Compiz / Emerald / and Gnome Display Manager. In doing so, it hopes
to provide a product that is helpful for those applications without an AppIndicator
interface AND to minimize icons by combinine some functionality of the
gnome-display-manger AppIndicator icon.
DisPlex has the following features:
-Uses the new Ubuntu AppIndicator interface
-Provides interface for: COMPIZ, EMERALD, GNOME Display Properties
-Enables you to change decorators from the AppIndicator Tray
-Enables you to activate / deactivate Compiz Effects
-Enables you to switch window manager
-Provides the ability to hide/show desktop icons
Homepage: https://launchpad.net/displex; http://sourceforge.net/projects/displex/
Ho fatto un backup di questo file e poi l'ho aperto in un editor di testo. ( sudo vi /var/lib/dpkg/status, quindi :55497per andare a quella linea.)
Aggiungendo un singolo .alla riga vuota prima di "DisPlex ha le seguenti caratteristiche:" risolto il problema.
(se non hai familiarità con vi ... ecco un suggerimento: Aper aggiungere una riga, aggiungi uno spazio e un punto ESCper uscire dalla modalità di inserimento, quindi :wqper scrivere e uscire)
Sono stato quindi in grado di correre sudo dpkg --configure -a. Dopo l'esecuzione sudo apt-get -f install, ho visto un errore simile per il file /var/lib/dpkg/available. Ho aggiunto un singolo .a questo file sulla riga menzionata nell'errore e ora funziona principalmente.
Ho riscontrato un ultimo problema che è lo stesso di questo errore .
Unpacking libatk-adaptor-schemas (from .../libatk-adaptor-schemas_2.4.0-1ubuntu2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libatk-adaptor-schemas_2.4.0-1ubuntu2_amd64.deb (--unpack):
trying to overwrite '/usr/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml', which is also in package libatk-adaptor 2.2.1-0ubuntu1
ErrorMessage: trying to overwrite '/usr/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml', which is also in package libatk-adaptor 2.2.1-0ubuntu1
Per risolvere questo problema:
sudo apt-get update
sudo apt-get dist-upgrade