Hi Han, thanks for your response. My question is about creating a mirror and not about creating nfroot, my nfroot is working ok. 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?
Thanks 2015-04-10 7:40 GMT+01:00 Jeong Han Lee <jh...@ibs.re.kr>: > If one wants to add FAI repository GPG key to /srv/fai/nfsroot/, please > look the following two examples : > > 1) wget -O - http://fai-project.org/download/074BCDE4.asc | chroot > /srv/fai/nfsroot/ apt-key add - > > > 2) wget -O - http://fai-project.org/download/074BCDE4.asc | chroot > /srv/fai/nfsroot-i386/ apt-key add - > > > So you might change the the target "ntsroot" directory with your own > directory as well. > > Thanks, > Han > > > > > On 04/10/2015 07:26 AM, Rui Teixeira wrote: > >> Hi, >> I'm here to ask if someone can explain to me how the freaking apt >> packages works with FAI. >> I have simple repositories on my /etc/apt/ and /etc/fai/apt/ >> sources.list. I've added the keys to my system and all works great. >> Then, when I try to execute >> fai-mirror -v -c MY_CLASSES /media/mirror/ >> I get multiple errors like the following >> No keyring installed in /media/mirror/aptcache/etc/apt/trusted.gpg.d/. >> >> I've copied my trusted.gpg file and directory from my /etc/apt to >> /etc/fai/apt and also to my nfsroot directory (already in desperate mode). >> >> Nothing solves this problem and I didn't find so much information >> googling. can someone explain me how this works? I'll be very grateful... >> >> thanks >> > > -- > Jeong Han Lee, Dr.rer.nat. > --------------------------- > Rare Isotope Science Project > Institute for Basic Science > Daejeon, South Korea > --------------------------- > tel : +82-42-878-8733 > fax : +82-42-878-8799 >