-2
rated 0 times
[
-2]
[
0]
/ answers: 1 / hits: 3833
/ 2 Years ago, tue, june 28, 2022, 6:25:53
I tried to install php5 via
sudo apt-get install php5
on my ubuntu 14.04 machine. It didn't install properly, because there were problems with the package apache2.
So if I try to install anything, I just get
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
libapache2-mod-php5 : Hängt ab von: apache2 (>= 2.4) soll aber nicht installiert werden
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
Or in english (roughly translated)
The following packages have unmet dependencies:
libapache2-mod-php5 : Depending: apache2 (>= 2.4) but shall not be installed
E: Unmet dependencies. Try "apt-get -f install" without a package.
When I run the the recommended command, I get
Vorbereitung zum Entpacken von .../apache2_2.4.7-1ubuntu4.1_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: Zeile 118: a2query: Kommando nicht gefunden.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb (--unpack):
Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von: /var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Again, a poor translation:
Preparing extraction .../apache2_2.4.7-1ubuntu4.1_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: Line 118: a2query: Command not found.
dpkg: Error with processing the archive /var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb (--unpack):
Subprocess new pre-installation-Skript returned error value 1
Errors occured while processing: /var/cache/apt/archives/apache2_2.4.7-1ubuntu4.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How can I fix that now? Any installation requires me to finish this apache installation stuff, which never works. Any help appreciated.
More From » 14.04