[Spacewalk-list] Unexpected RPM package type while using rhnpush

Jan Hutař jhutar at redhat.com
Mon Mar 7 09:30:06 UTC 2016


On 2016-02-24 06:31 +0530, Zeal Vora wrote:
>   Hi
>   Whenever I use rhnpush, it says :-
>   Unable to load package /tmp/packages/epel-release-7-5.noarch.rpm :
>   Unexpected RPM package type
>   I tried with different RPM's and for all it says the same thing.
>   The command :-
>   rhnpush -v --server=[1]https://172.20.10.15/APP -c myanime --source
>   /tmp/packages/epel-release-7-5.noarch.rpm
>   Connecting to [2]https://172.20.10.15/APP
>   Any help will be appreciated !

Hello,
looks like you are trying to push source rpms (you have '--source'
option), but you are giving it non-source rpm (noarch in this case).

Remove that '--source' option and it should push that rpm.

Regards,
Jan



>
>References
>
>   1. https://172.20.10.15/APP
>   2. https://172.20.10.15/APP

>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.




More information about the Spacewalk-list mailing list