English text after //

Debian Etch Know How

Ich habe von Debian Sarge auf Debian Etch geupdated, allerdings manuell Stück für Stück im laufenden Betrieb, da ich den Rechner (es sind permanent mindestens 2 Spielecommunities drauf, und das sind keine kurzzeitigen Egoshooter sondern meist langzeitige Rollenspielkampagnen) nicht rebooten konnte (Uptime derzeit 686 Tage). Hier was ich danach noch basteln musste.

//

After (manually) updating from Debian Sarge to Debian Etch (the machine was not rebooted, so no apt-get dist-upgrade) some things needed fixing.

Warnung // Warning

Dies richtet sich an erfahrene Systemadmins. Wer nicht weiß, was er tut, kann damit sein System zugrunderichten. Dies ist dann nicht mein Fehler. Ich kann ihm dann auch nicht helfen. Es wurde ausdrücklich gewarnt! Wer das folgende nicht versteht lässt die Finger davon, alles andere wäre grob fahrlässig!

//

This here is for the experienced sysadmin only. If you don't know what this all means here, don't use it. Improper use of such methods may result in inoperative systems, which then is not my fault! You have been warned!

PhpMyAdmin läuft nimmer

Die einfachste Lösung findet sich derzeit anscheinend nirgendwo im Internet, aber das Problem haben mehrere. Hier meine Lösung durch Neueinspielen von phpmyadmin:

//

I did not find this solution in the Internet, however it seemed that others had the same problem but were not able to fix it. My solution goes via re-install phpmyadmin from scratch:

Problem: "apt" hilft nicht // "apt" does not help

phpMyAdmin - error

Could not load any language, please check your language settings and folder

Und: // And:

apt-get remove phpmyadmin
mv /etc/phpmyadmin /etc/phpmyadmin-old
apt-get install phpmyadmin
liefert // gives
Not replacing deleted config file /etc/phpmyadmin/apache.conf
Not replacing deleted config file /etc/phpmyadmin/config.footer.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.header.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.inc.php
Not replacing deleted config file /etc/phpmyadmin/htaccess
Not replacing deleted config file /etc/phpmyadmin/apache.conf
Not replacing deleted config file /etc/phpmyadmin/config.footer.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.header.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.inc.php
Not replacing deleted config file /etc/phpmyadmin/htaccess

Auch funktionierte nicht: // Also not working:
dpkg-reconfigure phpmyadmin

Lösung: dpkg purge

Hier der sicherste Weg, denn man hat seinen altes Setting dann in /etc/phpmyadmin-old. Bei mir funktionierte dann alles wieder, ich belasse das Meiste aber auch auf den Standard-Settings.

//

Following shall be the safest way to fix it. The old setting of your phpmyadmin is saved to /etc/phpmyadmin-old, so in case something breaks you can look at it again. Following worked for me, however I do not tweak things usually, so default Debian works for me as expected:

apt-get remove phpmyadmin
mv /etc/phpmyadmin /etc/phpmyadmin-old
apt-get install phpmyadmin
dpkg -P phpmyadmin
apt-get install phpmyadmin
liefert (Auszug): // gives (important parts shown):
# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree... Done
Recommended packages:
  php5-mcrypt php4-mcrypt
The following NEW packages will be installed:
  phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 3599kB of archives.
After unpacking 14.1MB of additional disk space will be used.
Get:1 http://ftp2.de.debian.org stable/main phpmyadmin 4:2.9.1.1-3 [3599kB]
Fetched 3599kB in 0s (3714kB/s)
Preconfiguring packages ...
Selecting previously deselected package phpmyadmin.
(Reading database ... 40051 files and directories currently installed.)
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.9.1.1-3_all.deb) ...
Setting up phpmyadmin (2.9.1.1-3) ...
Not replacing deleted config file /etc/phpmyadmin/apache.conf
Not replacing deleted config file /etc/phpmyadmin/config.footer.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.header.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.inc.php
Not replacing deleted config file /etc/phpmyadmin/htaccess
Not replacing deleted config file /etc/phpmyadmin/apache.conf
Not replacing deleted config file /etc/phpmyadmin/config.footer.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.header.inc.php
Not replacing deleted config file /etc/phpmyadmin/config.inc.php
Not replacing deleted config file /etc/phpmyadmin/htaccess

# dpkg -P phpmyadmin
(Reading database ... 40682 files and directories currently installed.)
Removing phpmyadmin ...
Purging configuration files for phpmyadmin ...

# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree... Done
Recommended packages:
  php5-mcrypt php4-mcrypt
The following NEW packages will be installed:
  phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3599kB of archives.
After unpacking 14.1MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package phpmyadmin.
(Reading database ... 40049 files and directories currently installed.)
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.9.1.1-3_all.deb) ...
Setting up phpmyadmin (2.9.1.1-3) ...

Creating config file /etc/phpmyadmin/apache.conf with new version

Creating config file /etc/phpmyadmin/config.footer.inc.php with new version

Creating config file /etc/phpmyadmin/config.header.inc.php with new version

Creating config file /etc/phpmyadmin/config.inc.php with new version

Creating config file /etc/phpmyadmin/htaccess with new version

-Tino, 2007-04-18