You are not logged in.

#1 2025-01-01 01:00:47

ciaduck
Member
Registered: 2025-01-01
Posts: 3

[SOLVED] pacstrap fails on unknown trust

I'm trying to use the `archinstall` script. I keep getting stuck on an untrusted key.

First I encountered the error with a networkmanager dependency libgpm. I abandoned installing that and decided to just go for the "Desktop" profile with "KDE Plasma".

I'm getting the same error but now on the vulkan-tools package.

Could not strap in packages: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'plasma-meta', 'konsole', 'kwrite', 'dolphin', 'ark', 'plasma-workspace', 'egl-wayland', '--noconfirm'] exited with abnormal exit code ... PGP signature
error: vulkan-tools: signature from "Ballo Gyorgy <bgyorgy@archlinux.org>" is unknown trust

Sorry if there are typos, I hand typed all that in there. Also sorry for not using the proper UTF8 foreign characters in the name.

I appreciate the assistance.

SOLUTION: Try resetting or importing the missing key before running the installer
https://wiki.archlinux.org/title/Pacman … l_the_keys
Thanks, seth!

Last edited by ciaduck (2025-01-01 20:51:21)

Offline

#2 2025-01-01 10:43:52

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: [SOLVED] pacstrap fails on unknown trust

1st link below on how to post stuff into the internet from a console (0x0.st, termbin.com)
Is this an aging install iso or is your system time way off?

Offline

#3 2025-01-01 15:32:44

cameo
Member
Registered: 2012-08-18
Posts: 122

Re: [SOLVED] pacstrap fails on unknown trust

Same for me. And my last update was just two days ago.

According to the wiki, byorgy is still active.

PS: For me, this happens not while setting Arch up, but (almost) everyday Syu-ing.

Last edited by cameo (2025-01-01 15:38:04)

Offline

#4 2025-01-01 15:58:44

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: [SOLVED] pacstrap fails on unknown trust

sudo pacman-key -l bgyorgy@archlinux.org

Offline

#5 2025-01-01 16:16:51

cameo
Member
Registered: 2012-08-18
Posts: 122

Re: [SOLVED] pacstrap fails on unknown trust

+1

I updated another machine without problems – which has "pacman-keyring" installed; adding that one to the first, the problem disappeared.

So importing byorgy's key helps.

Offline

#6 2025-01-01 16:45:58

suryavamsi
Member
Registered: 2018-01-06
Posts: 3

Re: [SOLVED] pacstrap fails on unknown trust

ciaduck wrote:

I'm trying to use the `archinstall` script. I keep getting stuck on an untrusted key.

First I encountered the error with a networkmanager dependency libgpm. I abandoned installing that and decided to just go for the "Desktop" profile with "KDE Plasma".

I'm getting the same error but now on the vulkan-tools package.

Could not strap in packages: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'plasma-meta', 'konsole', 'kwrite', 'dolphin', 'ark', 'plasma-workspace', 'egl-wayland', '--noconfirm'] exited with abnormal exit code ... PGP signature
error: vulkan-tools: signature from "Ballo Gyorgy <bgyorgy@archlinux.org>" is unknown trust

Sorry if there are typos, I hand typed all that in there. Also sorry for not using the proper UTF8 foreign characters in the name.

I appreciate the assistance.

Try any of these fixes https://wiki.archlinux.org/title/Pacman … l_the_keys

Disabling signature checks worked for me

Offline

#7 2025-01-01 17:18:49

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: [SOLVED] pacstrap fails on unknown trust

Disabling signature checks worked for me

That's like cutting of your leg because your pinky toe itches. Don't. It's never a solution and certainly no fix.

Offline

#8 2025-01-01 20:42:11

ciaduck
Member
Registered: 2025-01-01
Posts: 3

Re: [SOLVED] pacstrap fails on unknown trust

Thanks. Seems like there are a few workarounds to the missing keys problem.

What I ultimately did yesterday while awaiting reply, was do a "minimal" install, then went into chroot after and manually installed KDE and other packages. This method meant that the pacman-keyring in the system-root existed and was up-to-date.

The install media I used was literally downloaded the same day, yesterday. The ISO is "archlinux-2024.12.01-x86_64.iso". Nothing wrong with system time, wifi, TLS, and NTP all worked within the installer.

I appreciate the assistance. This issue can be marked as resolved.

Offline

#9 2025-01-01 20:47:17

seth
Member
Registered: 2012-09-03
Posts: 60,484

Re: [SOLVED] pacstrap fails on unknown trust

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#10 2025-01-01 20:48:07

ciaduck
Member
Registered: 2025-01-01
Posts: 3

Re: [SOLVED] pacstrap fails on unknown trust

On a side note, perhaps the installer script should be updated with the instructions in section 4.1.2 "Resetting all the keys", in the linked wiki doc?
https://wiki.archlinux.org/title/Pacman … l_the_keys

If the installer script itself, after verifying network, did

rm /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate

It would always have the most up-to-date keys.

That would guarantee the installer wouldn't at least have this key issue when it runs, even though it's from almost 30 days ago.

Last edited by ciaduck (2025-01-01 20:52:20)

Offline

#11 2025-01-01 20:52:42

seth
Member
Registered: 2012-09-03
Posts: 60,484

Offline

#12 2025-01-11 10:24:59

leseras
Member
Registered: 2025-01-11
Posts: 1

Re: [SOLVED] pacstrap fails on unknown trust

pacman-key --refresh-keys

worked for me, which might in general not be a bad idea from time to time :-)

Last edited by leseras (2025-01-11 10:25:24)

Offline

Board footer

Powered by FluxBB