You are not logged in.
Pages: 1
I just installed Arch on a new system using a prepared Archiso image by copying from the image:
https://wiki.archlinux.org/index.php/ar … net_access
Everything works fine, except when I try to
pacman -SyuI get errors telling me that the developer PGP keys are unknown and not trusted. I had to add "SigLevel = Optional TrustAll" to the core, community and extra repositories to get it to work. Why is this happening? Looking at pacman.conf in a separate regular install of Arch, I don't see "SigLevel = Optional TrustAll" in the core, community and extra repositories.
Offline
Please paste exact errors: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
do you still get the error after updating archlinux-keyring? did you set up the keyring?
Offline
Please paste exact errors: https://bbs.archlinux.org/viewtopic.php?id=57855
To reproduce the error, I removed "SigLevel = Optional TrustAll" from core, extra and community repositories in /etc/pacman.conf. Then I run "sudo pacman -Syu" and I get:
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (4) dhcpcd-6.11.5-1 irssi-0.8.21-1 libevdev-1.5.6-1 sqlite-3.16.1-1
Total Installed Size: 9.81 MiB
Net Upgrade Size: 0.04 MiB
:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring [########################################################] 100%
(4/4) checking package integrity [########################################################] 100%
error: dhcpcd: signature from "Ronald van Haren <ronald@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/dhcpcd-6.11.5-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] do you still get the error after updating archlinux-keyring? did you set up the keyring?
If I try to update archlinux-keyring, I get the same problem:
$ sudo pacman -S archlinux-keyring
warning: archlinux-keyring-20170104-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) archlinux-keyring-20170104-1
Total Download Size: 0.59 MiB
Total Installed Size: 0.81 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
archlinux-keyring-20170104-1-any 604.5 KiB 565K/s 00:01 [########################################################] 100%
(1/1) checking keys in keyring [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
error: archlinux-keyring: signature from "Evangelos Foutras <evangelos@foutrelis.com>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20170104-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] And yes, I have set up the keyring and tried redoing it too.
I should note that I have never faced these signing issues before; the only new thing I am doing is following the offline installation procedure by copying from an Archiso image.
Last edited by lumeno (2017-01-05 22:23:25)
Offline
How, exactly, have you redone it? It appears that your keyring is empty or nearly so.
Offline
I redid it with:
pacman-key --initOffline
Ahh ok, I see that I'm also supposed to do:
pacman-key --populate archlinuxI've installed Arch a dozen times before but never had to do this. What changed with the Archiso image?
Offline
You also have to import the archlinux keyring
Offline
did you also set up the master keys?
pacman-key --populate archlinuxedit: too slow
Last edited by HiImTye (2017-01-05 22:27:53)
Offline
I've installed Arch a dozen times before but never had to do this. What changed with the Archiso image?
When you use the install disk, it uses the keyring on the install disk. When it installs the new system with pacstrap, it copies over the keyring, then installs the keyring package to update everything. You generally shouldn't have to do any of it manually.
Last edited by Scimmia (2017-01-05 22:37:29)
Offline
lumeno wrote:I've installed Arch a dozen times before but never had to do this. What changed with the Archiso image?
When you use the install disk, it uses the keyring on the install disk. When it installs the new system with pacstrap, it copies over the keyring, then installs the keyring package to update everything. You generally shouldn't have to do any of it manually.
Thanks! I've updated the wiki page for https://wiki.archlinux.org/index.php/Ar … net_access so that this step is included, which apparently is already done by pacstrap.
Offline
Pages: 1