Habe LAMP auf Stretch laufen, und es funktionierte einwandfrei. Seit ein paar Tagen ist aber PHP auf mysteriöse Weise verschwunden:
Code: Alles auswählen
# ls -l /usr/bin/php*
ls: Zugriff auf '/usr/bin/php*' nicht möglich: Datei oder Verzeichnis nicht gefunden
Denn "apt-get update" erzeugt eine Fehlermeldung, dass die Signatur mangels Schlüssel nicht überprüft werden kann:
Code: Alles auswählen
# apt-get update
Ign:2 http://deb.debian.org/debian stretch InRelease
OK:4 http://deb.debian.org/debian-security stretch/updates InRelease
OK:5 http://deb.debian.org/debian stretch-updates InRelease
OK:6 http://deb.debian.org/debian stretch Release
Holen:1 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic InRelease [20,7 kB]
OK:7 https://packages.sury.org/php stretch InRelease
Holen:3 http://ppa.launchpad.net/ondrej/php/ubuntu cosmic InRelease [20,8 kB]
Ign:1 http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic InRelease
Ign:3 http://ppa.launchpad.net/ondrej/php/ubuntu cosmic InRelease
Es wurden 41,5 kB in 1 s geholt (35,0 kB/s).
Paketlisten werden gelesen... Fertig
W: GPG-Fehler: http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4F4EA0AAE5267A6C
W: The repository 'http://ppa.launchpad.net/ondrej/apache2/ubuntu cosmic InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG-Fehler: http://ppa.launchpad.net/ondrej/php/ubuntu cosmic InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 4F4EA0AAE5267A6C
W: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu cosmic InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Code: Alles auswählen
# apt-key list
/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010
uid [ unknown] Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906
uid [ unknown] Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
-------------------------------------------------------
pub rsa4096 2013-08-17 [SC] [expires: 2021-08-15]
75DD C3C4 A499 F1A1 8CB5 F3C8 CBF8 D6FD 518E 17E1
uid [ unknown] Jessie Stable Release Key <debian-release@lists.debian.org>
/etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg
-----------------------------------------------------------
pub rsa4096 2017-05-22 [SC] [expires: 2025-05-20]
E1CF 20DD FFE4 B89E 8026 58F1 E0B1 1894 F66A EC98
uid [ unknown] Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>
sub rsa4096 2017-05-22 [S] [expires: 2025-05-20]
/etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg
--------------------------------------------------------------------
pub rsa4096 2017-05-22 [SC] [expires: 2025-05-20]
6ED6 F5CB 5FA6 FB2F 460A E88E EDA0 D238 8AE2 2BA9
uid [ unknown] Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>
sub rsa4096 2017-05-22 [S] [expires: 2025-05-20]
/etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg
--------------------------------------------------------
pub rsa4096 2017-05-20 [SC] [expires: 2025-05-18]
067E 3C45 6BAE 240A CEE8 8F6F EF0F 382A 1A7B 6500
uid [ unknown] Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub rsa4096 2012-04-27 [SC] [expires: 2020-04-25]
A1BD 8E9D 78F7 FE5C 3E65 D8AF 8B48 AD62 4692 5553
uid [ unknown] Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg
-------------------------------------------------------
pub rsa4096 2012-05-08 [SC] [expires: 2019-05-07]
ED6D 6527 1AAC F0FF 15D1 2303 6FB2 A1C2 65FF B764
uid [ unknown] Wheezy Stable Release Key <debian-release@lists.debian.org>
/etc/apt/trusted.gpg.d/php.gpg
------------------------------
pub rsa4096 2014-09-09 [SC]
DF3D 585D B8F0 EB65 8690 A554 AC0E 4758 4A7A 714D
uid [ unknown] CZ.NIC Labs Archive Automatic Signing Key <ftpmaster@labs.nic.cz>
sub rsa4096 2014-09-09 [E]
Hatte alles in /var/lib/apt/list/ gelöscht und "apt-get update" probiert, leider ohne Erfolg.
Die Pakete debian-keyring und debian-archive-keyring hatte ich installiert. "apt-key update" gab nur die Meldung, dass es "depricated" ist (gibt es dafür ein neues Kommando?)
Ich hatte neulich noch Tomcat installiert. Kann das Konflikte mit Apache2/PHP hervorrufen? Ansonsten hatte ich nichts am System geändert.
/etc/apt/sources.list:
Code: Alles auswählen
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
root@hp630:~#
Hat von Euch jemand eine Idee, wie man das reparieren kann?
Wenn der Schlüssel tatsächlich nicht verfügbar wäre, dann hätten ja viele dieses Problem. Ich gehe daher nach wie vor davon aus, dass es ein lokales Problem auf meinem Rechner ist.
P.S. Das System wird zur Entwicklung benutzt, nicht für den Online-Betrieb.