Hi Thomas, thanks for your response. There's two questions here: 1. Calling fai-mirror as a root is wrong or raises any problem? I'm executing it as root. 2. I have no patch for you right now, but if I understand correctly, before starting the fai-mirror process I have to copy manually gpg trusted to the indicated path right?
Thanks 2015-04-14 10:55 GMT+01:00 Thomas Lange <la...@informatik.uni-koeln.de>: > >>>>> On Thu, 9 Apr 2015 23:26:48 +0100, Rui Teixeira < > ruiteixeir...@gmail.com> said: > > > 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/. > > Yes, this is a missing feature. If we add some code to copy the > trusted.gpg data into the partitial mirror, then fai-mirror must be > called as root. Currently you should call it as a normal user. > Do you have any patch for me? > > > 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... > You have to copy the trusted.gpg data into the diurectory of the > mirror. Look here: > > > No keyring installed in > /media/mirror/aptcache/etc/apt/trusted.gpg.d/. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > -- > regards Thomas >