[Spacewalk-list] Problems while reposync
Philipp Wehling
philipp.wehling at megatel.de
Wed May 25 17:09:11 UTC 2016
Hello,
the subject says everything:
# spacewalk-repo-sync -t yum -c centos7-x86_64-updates
======================================
| Channel: centos7-x86_64-updates
======================================
Repo URL: https://ftp-stud.hs-esslingen.de/Mirrors/centos/7/updates/x86_64/
Packages in repo: 1676
Packages already synced: 1674
Packages to sync: 2
1/2 : firefox-45.1.1-1.el7.centos-0.i686
2/2 : firefox-45.1.1-1.el7.centos-0.x86_64
Linking packages to channel.
ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')
Traceback (most recent call last):
File "/bin/spacewalk-repo-sync", line 218, in <module>
sys.exit(abs(main() or 0))
File "/bin/spacewalk-repo-sync", line 211, in main
sync.sync()
File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 224, in sync
[self.channel_label], [], "server.app.yumreposync")
File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 69, in add_to_repodata_queue_for_channel_package_subscription
add_to_repodata_queue(channel, caller, reason[:128])
File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 53, in add_to_repodata_queue
queue.add(entry)
File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 44, in add
bypass_filters=self._boolean_as_char(entry.bypass_filters))
File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 151, in execute
return self._execute_wrapper(self._execute, *p, **kw)
File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 296, in _execute_wrapper
raise sql_base.SQLSchemaError(error_code, e.pgerror, e)
spacewalk.server.rhnSQL.sql_base.SQLSchemaError: (99999, 'ERROR: current transaction is aborted, commands ignored until end of transaction block', '', InternalError('current transaction is aborted, commands ignored until end of transaction block\n',))
Im running Spacewalk 2.4 with SL7.2
kind regards,
Philipp
Sie kC6nnen uns "live" erleben.
ILA Berlin Air Show
01. - 04. Juni 2016 - Berlin ExpoCenter Airport
Halle 4, Stand 4201 / http://www.ila-berlin.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160525/a99ad70d/attachment.htm>
More information about the Spacewalk-list
mailing list