You are not logged in.

#1 2022-01-07 16:38:44

k4leg
Member
Registered: 2021-11-14
Posts: 2

`pacman-key --init`

The following is written in the `/etc/pacman.conf` file:
```
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
```
Is this mandatory or is the hook from archlinux-keyring doing everything needs to do?

Offline

#2 2022-01-07 17:19:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,771

Re: `pacman-key --init`

Pacstrap will do that during normal installation. If you had a problem with this you'd notice rather quickly since you wouldn't be able to install packages unless you disabled the signature checking in the first place.

Offline

#3 2022-12-04 22:20:03

y5
Member
Registered: 2022-12-04
Posts: 8

Re: `pacman-key --init`

.

Last edited by y5 (2022-12-06 22:23:56)

Offline

#4 2022-12-05 07:19:39

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: `pacman-key --init`

y5 wrote:

did a fresh install with archlinux-2022.11.01-x86_64.iso & after the command archinstall i kept getting keyring error till i did pacman-key --init so am guessing it is mandatory now.

curprev 12:07, 3 October 2022 Nl6720 talk contribs 17,249 bytes +3 →Install essential packages: use pacstrap -K to generate a new pacman master key instead of copying it from the host, this avoids issues if the host's keyring was created when the time/timezone was incorrect and should generally be considered "safer"; see Talk:Installation guide#Use pacstrap -K

(https://wiki.archlinux.org/index.php?ti … did=750948)

Last edited by d.ALT (2022-12-05 07:26:11)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-12-06 20:05:17

y5
Member
Registered: 2022-12-04
Posts: 8

Re: `pacman-key --init`

.

Last edited by y5 (2022-12-06 22:23:46)

Offline

#6 2022-12-06 20:17:07

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: `pacman-key --init`

How long did you wait before coming to the conclusion that it wasn't working previously?

The pacman-init script needs to wait until it has enough entropy before it completes.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB