You are not logged in.

#1 2013-06-13 17:39:18

bluerider
Member
Registered: 2013-06-13
Posts: 25

[Solved] Pacstrap /mnt base fails due to inability to add GPG keys

Installing ArchBSD in Virutalbox with the command

 pacstrap /mnt base 

fails due to inability to write new GPG key to read only root. I bypassed this error by copying the pacman configuration file to /tmp and editing it to not check for signatures and ran :

 pacstrap -C /tmp/pacman.conf /mnt base 

. Is there a safer alternative to this method?

Last edited by bluerider (2013-09-08 11:49:20)

Offline

#2 2013-06-13 17:41:05

Amzo
Administrator
Registered: 2013-01-21
Posts: 144

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

I noticed this today during a clean install. The problem is some signature files got corrupted during the server move. I'll have it fixed asap, but for now. On the ISO you can do:

ee /etc/pacman.conf

And add

SigLevel = Never

To the core repository section.

Oh never noticed you did that. Yes it's fine, it's only the signature files that appear to have corrupted, and I did a clean install today that way.

Offline

#3 2013-06-13 19:53:32

bluerider
Member
Registered: 2013-06-13
Posts: 25

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

Amzo wrote:

I noticed this today during a clean install. The problem is some signature files got corrupted during the server move. I'll have it fixed asap, but for now. On the ISO you can do:
ee /etc/pacman.conf

I just tried that command on a new install with ArchBSD-x86_64-003052013.iso; I didn't get it to work. I get

 ee: Command not found 

Interestingly, I do not encounter the key error anymore.

Last edited by bluerider (2013-06-13 21:12:57)

Offline

#4 2013-06-14 09:38:27

Amzo
Administrator
Registered: 2013-01-21
Posts: 144

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

I'll look into it after I finish these last few i686 packaes. You're probably not getting the errors because the SigLevel may still be set to Never.

Offline

#5 2013-06-28 04:05:27

prp-e
Member
From: Iran
Registered: 2013-05-04
Posts: 7
Website

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

bluerider wrote:
Amzo wrote:

I noticed this today during a clean install. The problem is some signature files got corrupted during the server move. I'll have it fixed asap, but for now. On the ISO you can do:
ee /etc/pacman.conf

I just tried that command on a new install with ArchBSD-x86_64-003052013.iso; I didn't get it to work. I get

 ee: Command not found 

Interestingly, I do not encounter the key error anymore.

You can use "vi" , If you don't have "ee" smile


Avoid the pain every thing that say "is not Unix"

Offline

#6 2013-07-05 18:10:06

bluerider
Member
Registered: 2013-06-13
Posts: 25

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

prp-e wrote:

You can use "vi", If you don't have "ee"

Problem was with that particular iso, I didn't have ee or vi .

Offline

#7 2013-09-08 11:48:13

bluerider
Member
Registered: 2013-06-13
Posts: 25

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

Fixed on the most recent ArchBsd iso (7/12/2013)

Last edited by bluerider (2013-09-08 11:49:35)

Offline

#8 2015-03-03 12:56:30

Sushiant
Member
From: Tehran, Iran
Registered: 2015-03-03
Posts: 8

Re: [Solved] Pacstrap /mnt base fails due to inability to add GPG keys

Hi and I hope you are fine.
I am installing Arch-BSD i686 on virtual box and now have a question about editing /etc/pacman.conf on ISO.
when I run this comment

 ee /etc/pacman.conf 

and go to ee editor, after editing that

 SigLevel = Never 

and try to save it. I will get this message
- you can not save changes to /etc/pacman.conf
Can you help me, now what to do?
Thank You
-------------------------
OK, got it.
For anybody else who doesn't know (like me) and wants to know, as Amzo said:
have to copy pacman.conf to another directory like /tmp {read/write} and then edit pacman.conf with ee, vi or nano or what else..

 cp /etc/pacman.conf /tmp 
 nano /tmp/pacman.conf 

add at the end or edit:

 SigLevel = Never 

then:
ctrl+x (to save it),
y
Enter.
and:

 pacstrap -C /tmp/pacman.conf /mnt base 

Best Regards smile

Last edited by Sushiant (2015-03-04 22:48:22)

Offline

Board footer

Powered by FluxBB