<div dir="ltr"><span style="font-size:12.8000001907349px">Hi Han,</span><div style="font-size:12.8000001907349px">thanks for your response. My question is about creating a mirror and not about creating nfroot, m<span style="font-size:12.8000001907349px">y nfroot is working ok.</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I get the error just creating the mirror and my question is, where to put the asc keys in order to solve the GPG problem?</span></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-10 7:40 GMT+01:00 Jeong Han Lee <span dir="ltr"><<a href="mailto:jhlee@ibs.re.kr" target="_blank">jhlee@ibs.re.kr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If one wants to add FAI repository GPG key to /srv/fai/nfsroot/, please look the following two examples :<br>
<br>
1) wget -O - <a href="http://fai-project.org/download/074BCDE4.asc" target="_blank">http://fai-project.org/<u></u>download/074BCDE4.asc</a> | chroot /srv/fai/nfsroot/ apt-key add -<br>
<br>
<br>
2) wget -O - <a href="http://fai-project.org/download/074BCDE4.asc" target="_blank">http://fai-project.org/<u></u>download/074BCDE4.asc</a> | chroot /srv/fai/nfsroot-i386/ apt-key add -<br>
<br>
<br>
So you might change the the target "ntsroot" directory with your own directory as well.<br>
<br>
Thanks,<br>
Han<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On 04/10/2015 07:26 AM, Rui Teixeira wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I'm here to ask if someone can explain to me how the freaking apt<br>
packages works with FAI.<br>
I have simple repositories on my /etc/apt/ and /etc/fai/apt/<br>
sources.list. I've added the keys to my system and all works great.<br>
Then, when I try to execute<br>
fai-mirror -v -c MY_CLASSES /media/mirror/<br>
I get multiple errors like the following<br>
No keyring installed in /media/mirror/aptcache/etc/<u></u>apt/trusted.gpg.d/.<br>
<br>
I've copied my trusted.gpg file and directory from my /etc/apt to<br>
/etc/fai/apt and also to my nfsroot directory (already in desperate mode).<br>
<br>
Nothing solves this problem and I didn't find so much information<br>
googling. can someone explain me how this works? I'll be very grateful...<br>
<br>
thanks<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Jeong Han Lee, Dr.rer.nat.<br>
---------------------------<br>
Rare Isotope Science Project<br>
Institute for Basic Science<br>
Daejeon, South Korea<br>
---------------------------<br>
tel : <a href="tel:%2B82-42-878-8733" value="+82428788733" target="_blank">+82-42-878-8733</a><br>
fax : <a href="tel:%2B82-42-878-8799" value="+82428788799" target="_blank">+82-42-878-8799</a><br>
</font></span></blockquote></div><br></div>