Problem mit Installation phpmyadmin unter Raspian

Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
  • Hallo Forum,

    ich habe mir meinen raspberry mit wheezy neu aufgesetzt und dort nun einen webserver laufen. Nun scheitere ich bei der Installation von phpmyadmin, folgende Fehlermeldung:

    root@raspberrypi:/var/www# sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    php5-mysql is already the newest version.
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
    phpmyadmin : Depends: php5-mcrypt but it is not going to be installed
    Depends: dbconfig-common but it is not going to be installed
    Recommends: php5-gd but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    root@raspberrypi:/var/www# sudo apt-get install php5-mcrypt
    Reading package lists... Done
    Building dependency tree


    ....
    installiere ich mysql-server-5.5 bekomme ich diese Meldung (ich hab eine 16 GB SD-Karte):
    ....
    root@raspberrypi:/var/www# sudo apt-get install mysql-server-5.5
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
    tinyca
    The following NEW packages will be installed:
    mysql-server-5.5
    0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded.
    12 not fully installed or removed.
    Need to get 0 B/1,828 kB of archives.
    After this operation, 30.9 MB of additional disk space will be used.
    Preconfiguring packages ...
    (Reading database ... 77994 files and directories currently installed.)
    Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.41-0+wheezy1_armhf.deb) ...
    ERROR: There's not enough space in /var/lib/mysql/
    dpkg: error processing /var/cache/apt/archives/mysql-server-5.5_5.5.41-0+wheezy1_armhf.deb (--unpack):
    subprocess new pre-installation script returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/mysql-server-5.5_5.5.41-0+wheezy1_armhf.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ...
    Was kann ich hier tun ?

  • Mach halt das was dir apt-get ausgibt? :s

    Code
    php5-mysql is already the newest version.
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
    phpmyadmin : Depends: php5-mcrypt but it is not going to be installed
    Depends: dbconfig-common but it is not going to be installed
    Recommends: php5-gd but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    Und wegen der 2. Fehlermeldung musste halt gucken wieviel Speicherplatz noch frei is -> df -h
    Ich vermute mal du hast vergessen über raspi-config -> Expand Filesystem .. auszuführen?

  • ich setze nochmal alles neu auf und melde mich dann wieder.

    Also, es hat wohl an der Speichererweiterung gelegen, denn jetzt habe ich alles noch einmal neu aufgesetzt und es funktioniert :bravo2:

    Ich danke euch für die Hilfe.

    Gruß
    Stefan

    Einmal editiert, zuletzt von Stefan79 (26. März 2015 um 22:18)

  • Würde mich wundern.. Das einzige was er da ausführt ist parted, um die Partitionstabelle zu löschen und neu zu erzeugen. Dafür wird kein Speicherplatz benötigt, der speichert da auch keine Einstellungen o.ä.

    Spoiler anzeigen

    Ist aber im Prinzip nichts anderes als:

    Code
    (echo d; echo 3; echo d; echo 2; echo n; echo p; echo 2; echo ; echo; echo w) | fdisk /dev/mmcblk0

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!