Problem nach upgrade



Kato

Registered User
Mit apt/get upgrade habe ich mir folgendes Problem eingehandelt:

apt-get install -f
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Richte phpmyadmin ein (2.9.1.1-13) ...
dpkg: Fehler beim Bearbeiten von phpmyadmin (--configure):
Unterprozess post-installation script gab den Fehlerwert 20 zurück
Fehler traten auf beim Bearbeiten von:
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Was bedeutet der Fehlerwert 20 und wie werde ich ihn los?
 
Ich habe mir nun die Verarbeitung in der bash ausgeben lassen und das sieht dann so aus:

Code:
+/usr/share/debconf/confmodule:45:_db_cmd: read -r _db_internal_line
+/usr/share/debconf/confmodule:48:_db_cmd: RET='20 Unsupported command "***" (full line was "*** WARNING: ucf was run from a maintainer script that uses debconf, but") received from confmodule.'
+/usr/share/debconf/confmodule:49:_db_cmd: case ${_db_internal_line%%[  ]*} in
+/usr/share/debconf/confmodule:55:_db_cmd: return 20
+/var/lib/dpkg/info/phpmyadmin.postinst:21:: '[' 20 -lt 30 ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:24:: '[' configure = configure -a -f /etc/phpmyadmin/blowfish_secret.inc.php ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:25:: dpkg --compare-versions 4:2.9.1.1-11 lt-nl 1:2.5.7-pl1-2
+/var/lib/dpkg/info/phpmyadmin.postinst:30:: '[' configure = configure ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:32:: '[' -z 4:2.9.1.1-11 ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:32:: dpkg --compare-versions 4:2.9.1.1-11 lt-nl 4:2.8.0.2-1
+/var/lib/dpkg/info/phpmyadmin.postinst:38:: '[' '!' -f /etc/phpmyadmin/blowfish_secret.inc.php ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:47:: '[' '!' -f /etc/phpmyadmin/htpasswd.setup ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:64:: '[' '!' -f /var/lib/phpmyadmin/config.inc.php ']'
+/var/lib/dpkg/info/phpmyadmin.postinst:110:: chown root:www-data /var/lib/phpmyadmin/config.inc.php
+/var/lib/dpkg/info/phpmyadmin.postinst:111:: chmod 640 /var/lib/phpmyadmin/config.inc.php
+/var/lib/dpkg/info/phpmyadmin.postinst:113:: db_get phpmyadmin/reconfigure-webserver
+/usr/share/debconf/confmodule:66:db_get: _db_cmd 'GET phpmyadmin/reconfigure-webserver'
+/usr/share/debconf/confmodule:42:_db_cmd: IFS=' '
+/usr/share/debconf/confmodule:42:_db_cmd: printf '%s\n' 'GET phpmyadmin/reconfigure-webserver'
+/usr/share/debconf/confmodule:45:_db_cmd: IFS='
'
+/usr/share/debconf/confmodule:45:_db_cmd: read -r _db_internal_line
+/usr/share/debconf/confmodule:48:_db_cmd: RET='20 Unsupported command "the" (full line was "             the script did not pass --debconf-ok to ucf. The maintainer") received from confmodule.'
+/usr/share/debconf/confmodule:49:_db_cmd: case ${_db_internal_line%%[  ]*} in
+/usr/share/debconf/confmodule:55:_db_cmd: return 20
dpkg: Fehler beim Bearbeiten von phpmyadmin (--configure):
 Unterprozess post-installation script gab den Fehlerwert 20 zurück
Fehler traten auf beim Bearbeiten von:
 phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Offensichtlich gibt es damit ein Problem:

Code:
RET='20 Unsupported command "***" (full line was "*** WARNING: ucf was run from a maintainer script that uses debconf, but") received from confmodule.'

Anscheinend wir diese Meldung produziert:
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!

Please inform the package maintainer about this problem.
Dabei bricht das Script ab.

Das scheint folgendes Problem zu sein:

http://us.generation-nt.com/bug-516075-phpmyadmin-ucf-warning-upgrade-help-168396691.html
http://us.generation-nt.com/bug-513...ainer-script-uses-debconf-help-168999831.html
http://us.generation-nt.com/bug-567...r-script-uses-debconf-but-help-169016601.html

Angeblich gefixt mit dbconfig-common 1.8.43. Jetzt muss ich mal sehen wo ich diese Version für etch her bekomme. Vielleicht läuft es dann ja.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567403
 
Tja.....:mad:

Update auf dbconfig-common 1.8.46 hat nichts gebracht. Deinstallation und Neuinstallation oder reconfigure haben alles nichts gebracht.
Ich kriege immer noch die gleichen Fehlermeldungen.

Hat jemand eine Idee was ich noch probieren kann?
 
In phpmyadmin.postinst "set -e" auskommentiert, damit das Skrip durchläuft. Läuft dann auch durch und es gibt keine weiteren Fehlermeldungen von apt oder dpkg.
Ob phpmyadmin fehlerfrei läuft wie es im Moment aussieht, wird sich zeigen.
 
Back
Top