Es existiert nicht so ein Verzeichnis.
ls: cannot access /var/lib/dpkg/info/phpmyadmin.*: No such file or directory
Es existiert nicht so ein Verzeichnis.
ls: cannot access /var/lib/dpkg/info/phpmyadmin.*: No such file or directory
Soll ich nach dem apt-get update auch apt-get upgrade ausführen?
Falls nein, kommt folgendes bei dpkg -i phpmyadmin raus:
Was gibt dir sudo dpkg-reconfigure phpmyadmin zurück?
Es gibt /usr/sbin/dpkg-reconfigure: phpmyadmin is broken or not fully installed zurück. Komisch, dass nichts geht.
Alles lief problemlos, außer bei der Installation von phymyadmin:
apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
phpmyadmin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up phpmyadmin (4:4.2.12-2+deb8u2) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Replacing config file /etc/phpmyadmin/config-db.php with new version
dbconfig-common: flushing administrative password
dpkg: error processing package phpmyadmin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Ich habe es erstmal mit apt-get install -f phpmyadmin probiert:
apt-get install -f phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
phpmyadmin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up phpmyadmin (4:4.2.12-2+deb8u2) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Replacing config file /etc/phpmyadmin/config-db.php with new version
dbconfig-common: flushing administrative password
dpkg: error processing package phpmyadmin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Das es nicht funktioniert hatte, habe ich deine Schritte ausgeführt:
apt-get remove phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
phpmyadmin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 24.5 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 34401 files and directories currently installed.)
Removing phpmyadmin (4:4.2.12-2+deb8u2) ...
apache2_invoke phpmyadmin postrm: No action required
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript apache2, action "reload" failed.
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
root@33ba934c:~# apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@33ba934c:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,853 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package phpmyadmin.
(Reading database ... 32768 files and directories currently installed.)
Preparing to unpack .../phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb ...
Unpacking phpmyadmin (4:4.2.12-2+deb8u2) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb (--unpack):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Falsch, es ist nicht der gleiche Fehler - gib mal bitte dpkg -l | grep phpmyadmin ein
Möglich ist es, du kannst den aktuellen Inhalt deiner /etc/apt/sources.list irgendwo hin sichern und es mal mit diesen Zeilen probieren (einfach komplett einfügen), danach ein apt-get update und apt-get autoclean
BashAlles anzeigen#------------------------------------------------------------------------------# # OFFICIAL DEBIAN REPOS #------------------------------------------------------------------------------# ###### Debian Main Repos deb http://ftp.de.debian.org/debian/ jessie main contrib non-free ###### Debian Update Repos deb http://security.debian.org/ jessie/updates main contrib non-free deb http://ftp.de.debian.org/debian/ jessie-proposed-updates main contrib non-free
Danke für die schnelle Antwort!
Zum Sichergehen: Ich habe die Datei "source.list" im Ordner /etc/apt/ mit deinen Zeilen komplett ersetzt, gespeichert und anschließen apt-get update & apt-get autoclean ausgeführt. Richtig?
Getestet: apt-get install phpmyadmin >> Selbe Error
Auch probiert: Datei "souce.list" mit deinen Zeilen ersetzt [...], apt-get update, & apt-get upgrade ausgeführt. >> Selbe Fehler:
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libio-socket-ssl-perl sed
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 415 kB of archives.
After this operation, 354 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://ftp.de.debian.org/debian/ jessie-proposed-updates/main sed amd64 4.2.2-4+deb8u1 [243 kB]
Get:2 http://ftp.de.debian.org/debian/ jessie-proposed-updates/main libio-socket-ssl-perl all 2.002-2+deb8u2 [172 kB]
Fetched 415 kB in 0s (3,551 kB/s)
Reading changelogs... Done
(Reading database ... 34401 files and directories currently installed.)
Preparing to unpack .../sed_4.2.2-4+deb8u1_amd64.deb ...
Unpacking sed (4.2.2-4+deb8u1) over (4.2.2-4+b1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Setting up sed (4.2.2-4+deb8u1) ...
(Reading database ... 34401 files and directories currently installed.)
Preparing to unpack .../libio-socket-ssl-perl_2.002-2+deb8u2_all.deb ...
Unpacking libio-socket-ssl-perl (2.002-2+deb8u2) over (2.002-2+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up phpmyadmin (4:4.2.12-2+deb8u2) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Replacing config file /etc/phpmyadmin/config-db.php with new version
dbconfig-common: flushing administrative password
dpkg: error processing package phpmyadmin (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libio-socket-ssl-perl (2.002-2+deb8u2) ...
Errors were encountered while processing:
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Scheinbar hast du andere sources.list-Einträge
Kann das der Fehler sein? (Änderung der Einträge möglich?)
Habe ich probiert. Sollte etwas besonderes passieren?
root@33ba934c:~# echo /etc/apache2/apache2.conf >> /etc/phpmyadmin/apache2.conf
root@33ba934c:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,853 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 32768 files and directories currently installed.)
Preparing to unpack .../phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb ...
Unpacking phpmyadmin (4:4.2.12-2+deb8u2) ...
dpkg: error processing archive /var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb (--unpack):
corrupted filesystem tarfile - corrupted package archive
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Gib mal bitte apt-cache policy phpmyadmin ein und poste die Ausgabe
Habe es probiert:
root@33ba934c:~# apt-get remove phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'phpmyadmin' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@33ba934c:~# apt-get autoremove phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'phpmyadmin' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@33ba934c:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@33ba934c:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,853 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 32768 files and directories currently installed.)
Preparing to unpack .../phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb ...
Unpacking phpmyadmin (4:4.2.12-2+deb8u2) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb (--unpack):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Habe mehre Dinge probiert, aber der selbe Fehler.. Jemand andere Ideen?
Bevor ich alle Pakete lösche:
1. Werden dadurch Datenbanken, etc. auch betroffen sein?
2. Habe eben versucht phpmyadmin per "apt-get remove" zu löschen.. Anscheinend ist es schon gelöscht:
Guten Abend!
Ich wollte eben "phpmyadmin" auf einem "debian-8.0-x86_64"-System installieren und bekam dabei folgende Fehlermeldung:
apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,853 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 32768 files and directories currently installed.)
Preparing to unpack .../phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb ...
Unpacking phpmyadmin (4:4.2.12-2+deb8u2) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb (--unpack):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/phpmyadmin_4%3a4.2.12-2+deb8u2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
Wieso möchte ich das installieren? Es war zuvor schon installiert und eingerichtet, doch ich kann es seit Tagen nicht mehr nutzen. (Bei der Eingabe http://www.DOMAIN.de/phpmyadmin erscheint nicht mehr die "phpmyadmin-Oberfläche")
Auf diesem Server wurden schon Datenbanken angelegt und genutzt. Kann man das Problem/die Error's lösen, ohne die Datenbanken zu clearen?^
Versuchte Lösungsversuche:
1. Google
2. update/upgrade
Danke im Voraus!
Mit freundlichen Grüßen,
Daniel
Ein sehr gelungene Map und dazu noch eine passende "Geschichte" im Intro. Sehr schön gemacht Habe nichts zu bemängeln. (Die Sessel passen meiner Meinung nach gut rein)
P.S.: Wie heißt das Lied?
https://forum.sinusbot.com/thr…er-geht-leider-nicht.188/
Wie dort im Thread ist vielleicht die Sicherheitsstufe das Problem?
Ich wüsste jetzt nicht, was dir helfen könnte/was falsch ist. Schau dir mal dieses Tutorial an:
Habe es genau so gemacht, wie es dort beschrieben ist, und alles hat prima geklappt.
Joa, liegt bestimmt daran, dass es von 2013 ist..
@Windows
Ah.. mist Ist mir gar nicht aufgefallen. Tut mir Leid!
Die Bilder werden nicht mehr angezeigt.
Wie alt sind die einzelnen Teile? Schon probiert sie einzeln zu googeln und die Preise zusammenzurechnen?
Gratis?! Bin dabei!