[linux-l] klemmendes dpkg

Georg Kamata gkamata at gmail.com
Fr Jul 12 14:32:16 CEST 2019


 Hallo Liste,


Ich habe auf meine Debian 10 (Buster) Kiste an den Email Server
einstellungen (rumgedreht, bzw postfix gegen exim4 ausgetauscht) und seit
dem klemmt das sich 'etwas' im dpkg verklemmt und ich nicht, wie ich das
Problem alleine lösen soll.


Wenn ich jetzt ein sudo apt upgrade abfahre krieg ich folgende
Fehlermeldung.




sudo apt upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

You might want to run 'apt --fix-broken install' to correct these.

The following packages have unmet dependencies:

libuim-plugins : Depends: uim-common (>= 1:1.8.6+gh20161003.0.d63dadd-4)
but it is not installable

uim-anthy : Depends: libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-4) but it
is not installable

Depends: uim-common (>= 1:1.8.6+gh20161003.0.d63dadd-4) but it is not
installable

uim-utils : Depends: libuim-data (>= 1:1.8.6+gh20161003.0.d63dadd-4) but it
is not installable

Depends: uim-common (>= 1:1.8.6+gh20161003.0.d63dadd-4) but it is not
installable

W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend

W: Not using locking for read only lock file /var/lib/dpkg/lock

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).

blub at atom-nuc:~$


Und wenn ich wie empfohlen das 'apt --fix-broken install' abfahre kriege
folgendes:


apt --fix-broken install

Reading package lists... Done

Building dependency tree

Reading state information... Done

Correcting dependencies... Done

The following packages were automatically installed and are no longer
required:

epiphany-browser-data libicu-le-hb0 libicu60 libyelp0 python3-distro yelp
yelp-xsl

Use 'apt autoremove' to remove them.

The following additional packages will be installed:

uim uim-anthy uim-data uim-fep uim-gtk2.0 uim-gtk2.0-immodule uim-gtk3
uim-gtk3-immodule uim-plugins uim-qt5 uim-qt5-immodule uim-xim

The following packages will be REMOVED:

libuim-plugins uim-utils

The following NEW packages will be installed:

uim uim-data uim-fep uim-gtk2.0 uim-gtk2.0-immodule uim-gtk3
uim-gtk3-immodule uim-plugins uim-qt5 uim-qt5-immodule uim-xim

The following packages will be upgraded:

uim-anthy

1 upgraded, 11 newly installed, 2 to remove and 7 not upgraded.

15 not fully installed or removed.

Need to get 0 B/1.691 kB of archives.

After this operation, 7.654 kB of additional disk space will be used.

W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend

W: Not using locking for read only lock file /var/lib/dpkg/lock

W: Not using locking for read only lock file /var/cache/apt/archives/lock

Do you want to continue? [Y/n] y

debconf: DbDriver "passwords" warning: could not open
/var/cache/debconf/passwords.dat: Permission denied

dpkg: error: unable to access the dpkg database directory /var/lib/dpkg:
Read-only file system

W: Problem unlinking the file /var/log/apt/eipp.log.xz - FileFd::Open (30:
Read-only file system)

W: Could not open file /var/log/apt/eipp.log.xz - open (17: File exists)

W: Could not open file '/var/log/apt/eipp.log.xz' - EIPP::OrderInstall (17:
File exists)

E: Could not create temporary file for /var/lib/apt/extended_states -
mkstemp (30: Read-only file system)

E: Failed to write temporary StateFile /var/lib/apt/extended_states

E: Sub-process dpkg --set-selections returned an error code (2)

E: Couldn't record the approved state changes as dpkg selection states


Wer bitte weiss wie ich dieses Problem auflösen kann?



Danke, Georg


Mehr Informationen über die Mailingliste linux-l