[Spacewalk-list] rhnpush uploading error
Stepan Rogov
rogov at post.km.ru
Fri Aug 3 07:51:56 UTC 2012
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?
More information about the Spacewalk-list
mailing list