You are not logged in.
Hi,
when trying ArchBang I noticed that it's neccessary to create a new keyring and master key for pacman via pacman-key --init and pacman-key --populate. But I never had to do this when setting up a new Arch system (just Arch itself, no bang). Is it done automatically or has it already been done for the live image I boot from for installing? If so, what advantages could there be of NOT doing so like the ArchBang distributors aparrently have?
BTW: If this has already been answered elsewhere, I'v not been able to find it via Forum search or Google. In that case: Sorry
And could you please give me the link?
Greetings
Offline
I recently re-installed Arch and recall seeing the instructions/recommendations for "pacman-key --init" and "pacman-key --populate" in the pacman.conf file.
Offline
You're right. Just looked into it. Still, I don't remember having done that. Pacman worked right out of the box (apart from calling pacman -Sy) when I first used it after/during installation.
Offline
archlinux-keyring.install runs it: https://projects.archlinux.org/svntogit … ux-keyring
Offline
If you want to know why Archbang does/doesn't do things like Arch, you need to ask on the Archbang forum.
Offline
I too was able to install programs prior to the pacman-key commands. It wasn't until I enabled multi-lib and added repo-ck that I remembered and performed the pacman-key commands. I can't explain why it worked.
There is a Pacman-key wiki here.
Offline
archlinux-keyring.install runs it: https://projects.archlinux.org/svntogit … ux-keyring
There it is! Thanks
And I suppose that is already set up in the live image. So when pacstrapping Arch do disk it takes it right over.
@tomk: You're absolutely right. But mainly I just wanted to know how it's done in Arch.
Offline
If this is solved, then do not forget to edit the fist post and add [SOLVED] to the beginning of the thread title.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
@karol. Are you saying that archlinux-keyring.install does the same work as the pacman-key commands and is built-in to the install package?
Offline
archlinux-keyring.install is just a script, you can read what it does, line by line. It check some stuff, runs some commands.
Yes, it runs 'pacman-key --populate archlinux'.
Offline
But what about the initialization ('pacman-key --init')? Has that been done in the live image? If so, wouldn't the master key be always the same for every install from that image?
Offline
But what about the initialization ('pacman-key --init')? Has that been done in the live image? If so, wouldn't the master key be always the same for every install from that image?
Initialization is done in the live image using a systemd service.
Source:
https://projects.archlinux.org/archiso. … it.service
Offline