그래서 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 -
관련된: