所以,我卸载并重新安装了 Apache2。但是,当我尝试启动它时,我收到一条非常通用的错误消息。
所以我运行以下命令: sudo Journalctl |尾巴
我得到了这样的强烈回应:
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 -
有关的: