Ubuntu 18.04でApacheを起動できません(大きなエラーログ)

Ubuntu 18.04でApacheを起動できません(大きなエラーログ)

だからApache2をアンインストールして再インストールしました。ただし、実行しようとすると、非常に一般的なエラーメッセージが表示されます。

だから、次のコマンドを実行します。 sudo Journalctl tail |

私は次のような強力な答えを受けました。

May 05 13:49:35 pop-os PackageKit[3244]: refresh-cache transaction /34221_ddbebcaa from uid 1000 finished with failed after 5329ms
May 05 13:49:35 pop-os io.elementary.a[4468]: Client.vala:681: Update_cache: Refesh cache async failed - W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
                                              E: https://dl.yarnpkg.com/debian stable InRelease is not (yet) available (The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>)
May 05 13:49:37 pop-os PackageKit[3244]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
May 05 13:49:37 pop-os PackageKit[3244]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
May 05 13:49:43 pop-os PackageKit[3244]: refresh-cache transaction /34222_ebbadcdb from uid 1000 finished with failed after 5379ms
May 05 13:49:43 pop-os io.elementary.a[4468]: Client.vala:681: Update_cache: Refesh cache async failed - W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
                                              E: https://dl.yarnpkg.com/debian stable InRelease is not (yet) available (The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>)
May 05 13:49:45 pop-os PackageKit[3244]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
May 05 13:49:45 pop-os PackageKit[3244]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh

ここで何が起こっているのでしょうか? (私はディストリビューションとしてPOP OSを使用しています。)

答え1

YarnのGPGキーが切れました。更新されたキーの取得

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

関連:

関連情報