On 03.08.2012 12:55, Jan Hutař wrote:
On Fri, 03 Aug 2012 11:51:56 +0400 Stepan Rogov
<[email protected]>  wrote:

Hi all!

When I try to load the packages:

rhnpush --channel=centos-6-kmsearch-x86_64  --username=admin
--password=admin --dir=/var/rpms/sys/
--server=spacewalk_server/APP


there is an error:

Error Message:
      ERROR:  duplicate key value violates unique constraint
"rhn_cnp_cid_nid_uq"
DETAIL:  Key (channel_id, name_id, package_arch_id)=(103,
15293, 119) already exists.
CONTEXT:  SQL statement "insert into rhnChannelNewestPackage
                  (channel_id, name_id, evr_id, package_id,
package_arch_id) (select channel_id,
                          name_id, evr_id,
                          package_id, package_arch_id
                     from rhnChannelNewestPackageView
                    where channel_id = channel_id_in
                      and (package_name_id_in is null
                           or name_id = package_name_id_in)
                  )"
PL/pgSQL function "refresh_newest_package" line 8 at SQL
statement Error Class Code: 23
Error Class Info: Could not update database entry.

What is wrong?
Hello,
what version of Spacewalk do you have?

Regards,
Jan

Hi.
1.7

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to