λ€μκ³Ό κ°μ μ€λ₯κ° νμλλ κ²½μ° :
The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
λλ λ€μκ³Ό κ°μ΄ :
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]>
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
μ΄λ Yarn 릴리μ€μ μλͺ νλ λ° μ¬μ© λ GPG ν€μ μ΄μ λ²μ μ΄ μ¬μ ν μμμ μλ―Έν©λλ€. μ΄ ν€μ λ§λ£ λ μ§λ 2020 λ μμ 2021 λ μΌλ‘ μ°μ₯λμμ΅λλ€. μ λ°μ΄νΈ λ ν€λ₯Ό μ»μΌλ €λ©΄ λ€μμ μ€ννμμμ€.
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
μ΄κ²μ λ―Έλμ μλν λ κ²μ λλ€.
λ€μ μλννλ©΄ λ°°ν¬νμλ μΌλ°μ μΌλ‘ μλ‘μ΄ ν€λ‘ μ
λ°μ΄νΈ ν μμλ -keyring
ν¨ν€μ§κ° μμ΅λλ€.μ΄ ν¨ν€μ§λ₯Ό μ΄ν΄λ³΄κ³ μΆμ΅λκΉ? μ : https://packages.debian.org/buster/debian-archive-keyring
@ dario23 κ·Έλ, κ·Έκ² λ΄κ°νλ €κ³ νλ μΌμ΄μ§λ§ λλ κ·Έκ²μ λν΄ μ΄ν΄νμ§ λͺ»νμ΅λλ€. μ°λ¦¬ μ μ₯μμ yarn-keyring ν¨ν€μ§λ₯Ό μΆκ°νκ³ , yarn ν¨ν€μ§μ μ’ μμ±μΌλ‘ μΆκ°νκ³ (λͺ¨λ μ¬λμ΄ κ·Έκ²μ κ°μ§κ³ μλμ§ νμΈνκΈ° μν΄), ν€λ₯Ό λ³κ²½ν λλ§λ€ ν΄λΉ ν¨ν€μ§λ₯Ό μ λ°μ΄νΈ ν μ μλ€κ³ μκ°ν©λλ€.
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.
κ°μ¬ν©λλ€ @alexcdot! μ΄ λͺ λ Ήμ ν¨ν€μ§ μ μ₯μ κ΄λ¦¬μκ° κ³΅κ° ν€λ₯Ό Ubuntu ν€ μλ²μ μ λ‘λνλ λ° μμ‘΄νμ§λ§ λλΆλΆμ κ·Έλ κ²νλ―λ‘ μΌλ°μ μΌλ‘ λ¬Έμ κ°λμ§ μμ΅λλ€. :)
κ°μ¬ν©λλ€! λΏ‘λΏ‘
_sudo apt-key add -_ λͺ λ Ή νμ μ무 μΌλ μΌμ΄λμ§ μλ μ΄μ λ 무μμ λκΉ? λ²μ¨ λͺ λΆμ κΈ°λ€λ¦¬κ³ μμ΅λλ€. μμ€ν μ΄ λ¬΄μΈκ°λ₯Ό κΈ°λ€λ¦¬κ³ μλ κ² κ°μ΅λλ€ ...
@Shekelme λͺ
λ Ήμ λΆν νμ¬ μ
λ ₯μ κΈ°λ€λ¦¬κ³ μμ΅λλ€. λͺ
λ Ήμ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
λλ¨ν κ°μ¬ν©λλ€. μ΄μ λμμ΄λμμ΅λλ€!
λ°λΉμμμ 1.22.0μ μ¬μ©ν μ μμ΄μΌν©λκΉ?
@millette μ£μ‘ν©λλ€. Yarn v1 μ¬μ΄νΈκ° classic.yarnpkg.comμΌλ‘ μ΄λνμ λ μλ μ λ°μ΄νΈ μ€ν¬λ¦½νΈκ° μ€λ¨λμμ΅λλ€. λλ κ·Έκ²μ κ³ μΉκ³ 1.22.0μ λ°°ν¬ ν κ²μ΄λ€!
@millette μ§κΈ μ¬μ©ν μ μμ΅λλ€ : https://github.com/yarnpkg/releases/commit/3f7f2c766d64da64f41ff62d63c126112981ee63
λ΄ ν μ€νΈ λ¨Έμ μ€ νλμμ ν μ€νΈνλλ° μ λλ‘ μλνμ΅λλ€.
% sudo apt install yarn
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
yarn
1 upgraded, 0 newly installed, 0 to remove and 323 not upgraded.
Need to get 891 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Get:1 http://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.0-1 [891 kB]
Fetched 891 kB in 0s (2,328 kB/s)
Reading changelogs... Done
(Reading database ... 261276 files and directories currently installed.)
Preparing to unpack .../archives/yarn_1.22.0-1_all.deb ...
Unpacking yarn (1.22.0-1) over (1.21.1-1) ...
Setting up yarn (1.22.0-1) ...
15:19 daniel<strong i="9">@vps03</strong> /home/daniel
% yarn --version
1.22.0
λλ κ°μ¬ν©λλ€ @ Daniel15
Windows 10μμ Ubuntuμμ λμΌν λ¬Έμ κ° λ°μνμ΅λλ€.
Linux AVPHR-3HD87Y2-L 4.4.0-17134-Microsoft # 1130-Microsoft Thu Nov 07 15:21:00 PST 2019 x86_64 x86_64 x86_64 GNU / Linux.
κ°μ¬ν©λλ€ @ Daniel15
ν΄κ²°μ± μ΄ ν΄κ²°λμμ΅λλ€.
λ€μμΌλ‘ μ μ λ°μ΄νΈλμμ΅λλ€. curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key μΆκ°-
μ΄ λ¬Έμ λ μΆ©λΆν μ€λ«λμ μ΄λ € μμΌλ―λ‘μ΄ λ¬Έμ λ₯Ό μ’ λ£ν©λλ€.
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.
@alexcdot μ κΆμ₯ μμ μκ°μ΄ μ΄κ³Όλλ©΄ ν¬νΈ 80μ ν΅ν΄ hkpλ₯Ό κ°μ λ‘ μλνμμμ€.
sudo apt-key adv --refresh-keys --keyserver hkp://keyserver.ubuntu.com:80
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.
μ΄ λͺ λ Ήμ AWS EC2 Ubuntu 18.04μμ λλλλ‘ μλν©λλ€.
ubuntu<strong i="9">@demo</strong>:~$ sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
Executing: /tmp/apt-key-gpghome.yhsIc98R5A/gpg.1.sh --refresh-keys --keyserver keyserver.ubuntu.com
gpg: refreshing 6 keys from hkp://keyserver.ubuntu.com
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: key 871920D1991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <[email protected]>" not changed
gpg: key D94AA3F0EFE21092: 2 duplicate signatures removed
gpg: key D94AA3F0EFE21092: 62 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>" 59 new signatures
gpg: key 3B4FE6ACC0B21F32: 21 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <[email protected]>" 18 new signatures
gpg: key 4F4EA0AAE5267A6C: "Launchpad PPA for OndΕej SurΓ½" not changed
gpg: key 4F4EA0AAE5267A6C: "Launchpad PPA for OndΕej SurΓ½" not changed
gpg: key 1646B01B86E50310: 3 signatures not checked due to missing keys
gpg: key 1646B01B86E50310: "Yarn Packaging <[email protected]>" 5 new signatures
gpg: Total number processed: 6
gpg: unchanged: 3
gpg: new signatures: 82
Executing: /tmp/apt-key-gpghome.N4svD19CdM/gpg.1.sh --refresh-keys --keyserver keyserver.ubuntu.com:80
gpg: refreshing 11 keys from keyserver.ubuntu.com:80
gpg: keyserver refresh failed: No keyserver available
@joesixpack Ubuntu ν€ μλ²μ λν μ°κ²° λ¬Έμ κ° μκ±°λ λ€μ΄λμμ΅λλ€ (μ : μ μ§ κ΄λ¦¬). λ€λ₯Έ ν€ μλ²λ₯Ό μ¬μ©ν΄ λ³Ό μ μμ΅λλ€.
μ νν μ€λ₯ λ©μμ§ λλ¬Έμ μ¬κΈ°μ μμ΅λλ€. Raspbian μ¬μ©. λͺ λΆ μ μ @ Daniel15 μ μ μμ μλνκ³ λ€μμ μ»μμ΅λλ€ ( sudo
λ° μ μΈ).
:~ $ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gpg: no valid OpenPGP data found.
μ΄λ€ μ μ?
@luisfrocha λ ca-certificates
ν¨ν€μ§κ° μ€μΉλμ΄ μλμ§ νμΈνμμμ€. κ·Έλ μ§ μμΌλ©΄ λͺ¨λ SSL / TLS μ°κ²°μ΄ μ€ν¨ν©λλ€.
νν
:~ $ sudo apt install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20190110).
0 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.
κΈμμ, μ λ μνμ§ μμμ§λ§ κ²°κ΅ν΄μΌνμ΅λλ€. curl λͺ
λ Ήμ μννκ³ -k
νλκ·Έλ₯Ό μΆκ°νλλ° μ λλ‘ μλνμ΅λλ€.
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.
μ΄κ²μ λλ₯Ό μν΄ μΌνμ΅λλ€. κ°μ¬ :)
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.
κ°μ¬ν©λλ€
λλ μ€μ μ€μΉνλ €κ³ λ
Έλ ₯νκ³ μμΌλ©° μ£Όμ λ¬Έμ λ λ°μν©λλ€.
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
μ λ€μκ³Ό κ°μ μΆλ ₯μ μ 곡ν©λλ€.
gpg: invalid key resource URL '/tmp/apt-key-gpghome.gq2UKui5Xm/home:manuelschneid3r.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 76F1A20FF987672F: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 17
gpg: skipped new keys: 17
λ€μ sudo apt update && sudo apt install yarn
μΆλ ₯
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
μ΄λ―Έ sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μλνμ§λ§ λΉμ·ν μ€λ₯κ° λ°μνμ΅λλ€.
gpg: invalid key resource URL '/tmp/apt-key-gpghome.FtkPocMoE3/home:manuelschneid3r.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 76F1A20FF987672F: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 16
gpg: skipped new keys: 16
무μμ΄ μλͺ» λ μ μλμ§ μ΄λ€ μμ΄λμ΄λΌλ λλ¨ν κ°μ¬νκ² μ΅λλ€. μ λ ν¨ν€μ§ κ΄λ¦¬μμ λν κ²½νμ΄ λ§μ§ μμΌλ©° μμ μ μμ΄ λμμ΄λμ§ μλ κ² κ°μ΅λλ€.
μ΅μ μ 보:
μ£μ‘ν©λλ€. ν€ μ€λ₯κ° μ€μ΄ μλ λ€λ₯Έ ν¨ν€μ§μμ λ°μν κ² κ°μ΅λλ€. μ΄μ μ μ€μΉλμμ΅λλ€!
@LukasSchaefer κ·Έ μ€λ₯μ GPG ν€κ° Yarn GPG ν€λΌκ³ μκ°νμ§ μμ΅λλ€. μ΄λ¬ν ν€μ μ©λλ₯Ό νμ νκ³ μμ ν΄μΌ ν μλ μμ΅λλ€.
sudo apt update
μμ μ»μ μ 체 μΆλ ₯μ 무μμ
λκΉ?
@ Daniel15 κ·Έ ννΈμ κ°μ¬λ립λλ€. ν€ μ€λ₯κ° λ€λ₯Έ ν¨ν€μ§μμ μ¨λ€λ μ¬μ€μ μμ ν λμ³€μ΅λλ€. μ΄ μ€λ₯λ₯Ό μμ ν ν μμμ μΈκΈ ν λͺ λ ΉμΌλ‘ μ€μ΄ μ λλ‘ μ€μΉλμμ΅λλ€.
μ£μ‘ν©λλ€!
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.
κ·Έκ²μ λλ₯Ό μν΄ μΌν©λλ€. κ°μ¬ν©λλ€!
λμκ²λ ν΄κ²°λμμ§λ§ μ루μ μ νμΈνλ λ° μ½κ°μ μκ°μ΄ κ±Έλ Έμ΅λλ€. κ³ λ§μ!
κ°μ₯ μ μ©ν λκΈ
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
μ (λ)μ΄ λ¬Έμ κ°μλ μ¬λ¬ ν¨ν€μ§μ λν΄μ΄ λ¬Έμ λ₯Ό ν΄κ²°νκΈ° μν΄ μλν©λλ€.