[Spacewalk-list] rhnpush uploading error
Jan Hutař
jhutar at redhat.com
Fri Aug 3 08:55:41 UTC 2012
On Fri, 03 Aug 2012 11:51:56 +0400 Stepan Rogov
<rogov at post.km.ru> 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
--
Jan Hutar Systems Management QA
jhutar at redhat.com Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120803/44ddc045/attachment.sig>
More information about the Spacewalk-list
mailing list