FS#71983 - Keyring is broken upon a fresh pacstrap against a synced mirror
Attached to Project:
Arch Linux
Opened by Martin Rys (C0rn3j) - Wednesday, 01 September 2021, 13:34 GMT
Last edited by Toolybird (Toolybird) - Monday, 22 August 2022, 08:25 GMT
Opened by Martin Rys (C0rn3j) - Wednesday, 01 September 2021, 13:34 GMT
Last edited by Toolybird (Toolybird) - Monday, 22 August 2022, 08:25 GMT
|
Details
Description:
Packages fail to install on a new install due to bad keyring Additional info: * dos2unix 7.4.2-1, archlinux-keyring 20210820-1 Steps to reproduce: * Boot 2021.08.01 ISO * Run reflector sorting by rate * Pacstrap new install, chroot into it * pacman -Syu dos2unix * Get error that Daurnimator's signature is unknown trust * /usr/bin/pacman-key --populate archlinux * pacman -Syu dos2unix * All works Workaround: /usr/bin/pacman-key --populate archlinux or -S archlinux-keyring |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 22 August 2022, 08:25 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
Monday, 22 August 2022, 08:25 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
I re-tested with the new ISO and I can indeed install dos2unix with no issue - is the keyring copied from ISO to pacstrapped env somehow?
I don't understand how updating ISO has fixed the issue.
If it is 'pretty much expected' for packages to be broken on a clean install from time to time, wouldn't it be better to default to the provided keyring that pacstrap installs anyway, instead of the one from the host which is likely outdated?
I am not well-versed with keyrings, so apologies if my suggestion does not make sense.
[1] https://github.com/archlinux/svntogit-packages/commit/1ceaf784
[2] https://github.com/archlinux/svntogit-packages/commit/f7a67eb3