[sudo] password for deck:
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: checking the trustdb
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_search failed: Invalid packet
gpg: failed to rebuild keyring cache: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key BBCCC015FDEDA1EA not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search(first) failed: Invalid packet
gpg: validate_key_list failed
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search_first failed: Invalid packet
==> Generating pacman master key. This may take some time.
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: Generating pacman keyring master key...
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: /etc/pacman.d/gnupg/pubring.gpg: copy to '/etc/pacman.d/gnupg/pubring.gpg.tmp' failed: Invalid pac
ket
gpg: error writing public keyring '/etc/pacman.d/gnupg/pubring.gpg': Invalid packet
gpg: key generation failed: Invalid packet
gpg: Done
==> Updating trust database...
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_search failed: Invalid packet
gpg: failed to rebuild keyring cache: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key BBCCC015FDEDA1EA not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search(first) failed: Invalid packet
gpg: validate_key_list failed
==> ERROR: Trust database could not be updated.
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: checking the trustdb
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_search failed: Invalid packet
gpg: failed to rebuild keyring cache: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key BBCCC015FDEDA1EA not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search(first) failed: Invalid packet
gpg: validate_key_list failed
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search_first failed: Invalid packet
==> ERROR: There is no secret key available to sign with.
==> Use 'pacman-key --init' to generate a default secret key.
warning: glibc-2.36-6 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) glibc-2.36-6
Total Installed Size: 47.36 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##################################] 100%
downloading required keys...
:: Import PGP key 9D4C5AA15426DA0A, "Frederik Schwan <freswa@archlinux.org>"? [Y/n]
y
error: key "Frederik Schwan <frederik.schwan@linux.com>" could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Generating locales...
en_US.UTF-8...failed to set locale!
[error] cannot open locale definition file `en_GB': No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.UTF-8
POSIX
locale setting finished!
2
[sudo] password for deck:
Warning: The rootfs is already read-write!Nothing is performed.
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: checking the trustdb
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_search failed: Invalid packet
gpg: failed to rebuild keyring cache: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key BBCCC015FDEDA1EA not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search(first) failed: Invalid packet
gpg: validate_key_list failed
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search_first failed: Invalid packet
==> Generating pacman master key. This may take some time.
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: Generating pacman keyring master key...
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: /etc/pacman.d/gnupg/pubring.gpg: copy to '/etc/pacman.d/gnupg/pubring.g
pg.tmp' failed: Invalid packet
gpg: error writing public keyring '/etc/pacman.d/gnupg/pubring.gpg': Invalid
packet
gpg: key generation failed: Invalid packet
gpg: Done
==> Updating trust database...
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_search failed: Invalid packet
gpg: failed to rebuild keyring cache: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key BBCCC015FDEDA1EA not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search(first) failed: Invalid packet
gpg: validate_key_list failed
==> ERROR: Trust database could not be updated.
/etc/pacman.d/gnupg/gpg.conf:1: keyword too long
gpg: checking the trustdb
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_search failed: Invalid packet
gpg: failed to rebuild keyring cache: Invalid packet
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search failed: Invalid packet
gpg: public key of ultimately trusted key BBCCC015FDEDA1EA not found
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search(first) failed: Invalid packet
gpg: validate_key_list failed
gpg: [don't know]: invalid packet (ctb=00)
gpg: keydb_search_first failed: Invalid packet
==> ERROR: There is no secret key available to sign with.
==> Use 'pacman-key --init' to generate a default secret key.
warning: glibc-2.36-6 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) glibc-2.36-6
Total Installed Size: 47.36 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##################] 100%
downloading required keys...
:: Import PGP key 9D4C5AA15426DA0A, "Frederik Schwan <freswa@archlinux.org>"
? [Y/n]
y
error: key "Frederik Schwan <frederik.schwan@linux.com>" could not be import
ed
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Generating locales...
en_US.UTF-8...failed to set locale!
[error] cannot open locale definition file `en_GB': No such file or director
y
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.UTF-8
POSIX
locale setting finished!
해결완료 코드
(1)(deck@steamdeck ~)$ sudo killall gpg-agent
(deck@steamdeck ~)$ sudo rm -rf /etc/pacman.d/gnupg/(deck@steamdeck ~)$ sudo pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agen
t
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d
/72675B8345E1E80B3A2B7295F65EFA71FEB46554.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
(deck@steamdeck ~)$ sudo pacman-key --populate archlinux
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 6 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 53 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 6 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 6 signed: 91 trust: 0-, 0q, 0n, 6m, 0f, 0u
gpg: depth: 2 valid: 71 signed: 28 trust: 71-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-06-05
뭘 잘못만졌는지
emmc 때는 아무문제없이 1트만에 되던게
구글링해도 안나오고
나너무 억울해
pacman -Sy archlinux-keyring && pacman -Syu
error: you cannot perform this operation unless you are root.
앞에 sudo 붙이고 해봐
저거 갤에 배포되어 있는 로케일 설정 배쉬파일 실행한거??
넹
한줄씩 쳐도 비슷하게 에러나옴
키링 초기화 해도 안되면 그냥 이방법 써서 해봐
https://gall.dcinside.com/mgallery/board/view?id=steamdeck&no=78317
2) sudo pacman-key --init 문장 치면 ==> ERROR: Trust database could not be updated. 에러가 발생함
바빠서 댓달린거 확인을 못했네
https://www.reddit.com/r/archlinux/comments/sejn00/got_my_pacman_keyring_messed_up/
이거
중간에 killall gpg-agent 부분 참고해봐
이거 되면 정리해서 가이드 하나 더 나올거같은데ㅋㅋㅋ
콘솔열고 sudo killall gpg-agent sudo rm -rf /etc/pacman.d/gnupg/ sudo pacman-key --init sudo pacman-key --populate archlinux 입력한다음 로케일 자동설정 파일 콘솔로 열어서 실행해보니 정상적으로 설치되었음
프로톤은 Experimental로 지정하고 시작옵션에 LANG=ja_JP.UTF-8 %command% 입력해주니까 잘실행된다 정말 고맙다 이런건 어디서 배우는거임?
원래 데스크탑모드에서 아니메런처 바로가기 좌클릭해서 add to steam 작동 안했는데 이제 제대로 작동함
보통 이런일 생길때 발생하는 오류코드들 구글링 하면서 해외포럼들 뒤져보고 아치리눅스 위키쪽도 확인해보고 하다보면 어느정도 해결 방법이 나오긴 하더라
넘모 어렵다..
진짜어려움