[Spacewalk-list] Application can't install after registration

Tomáš Knot tknot at evektor.cz
Tue Jul 26 14:09:48 UTC 2016


The problem was with importing of the key. I used rpm --import and then 
it is ok.

Thanks for help.

Tomas


On 07/25/2016 10:20 AM, Waldirio Manhães Pinheiro wrote:
> Hello Tomas
>
> If you are using kickstart, you should import the GPG key and select 
> this one to be part of your kickstart, so after machine be 
> provisioned, Spacewalk will force the gpg key deploy and when you try 
> to install the new package, will works like a charm.
>
> When doing executing the Ak in one existing machine, you should import 
> the key, one great way should you share your keys 
> (/var/www/htmp/pub/gpg-keys for example) and if you are using 
> bootstrap.sh to register, just add one line to check the url and the 
> install the key (rpm --import <keys in that url>) and then everything 
> should works.
>
> Let me know if you have doubt of how to proceed about this one.
>
> Best Regards
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com <mailto:waldirio at gmail.com>
> Skype: waldirio
> Site: www.waldirio.com.br <http://www.waldirio.com.br>
> Blog: blog.waldirio.com.br <http://blog.waldirio.com.br>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html 
> <http://www.waldirio.com.br/public.html>
>
> On Fri, Jul 22, 2016 at 10:24 AM, Tomáš Knot <tknot at evektor.cz 
> <mailto:tknot at evektor.cz>> wrote:
>
>     Hello,
>
>     I have a Kickstart installation of Centos 7. A computer is
>     registred by activation key into group. In activation key menu, I
>     added default packages which are installed after registration. The
>     problem is that packages are not installed. If I install an
>     appliaction via yum command, an application is correctly install.
>     Also I imported keys into system after registration.
>
>     Error:
>
>     This action will be executed after 7/22/16 2:02:40 PM CEST
>     This action's status is: Failed.
>     The client picked up this action on 7/22/16 2:02 PM
>     The client completed this action on 7/22/16 2:03 PM
>     Client execution returned "Error while executing packages action:
>     Refusing to automatically import keys when running unattended.
>     [[6]]" (code -1)
>
>     My repositories are Centos 7 (base, update), EPEL and Nux
>     (https://li.nux.ro/repos.html). Everything is ok with Centos 7 and
>     EPEL repositories.
>
>     I think it's a problem with key for Nux repository. I also checked
>     gpg of the Nux key, everything is ok. What is interesting, the key
>     has section called sub but the Centos key does'nt have it.
>
>     Do you have any idea how to resolve this problem?
>
>     Thanks
>
>
>     -- 
>     Tomáš Knot
>
>     _______________________________________________
>     Spacewalk-list mailing list
>     Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
>     https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Tomáš Knot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160726/6cf944d1/attachment.htm>


More information about the Spacewalk-list mailing list