<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>See Tuesday’s thread « duplicate key in reposync»<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My answer and solution are there.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Maxime Veroone<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>De la part de</b> Jim Howland<br><b>Envoyé :</b> mercredi 25 mai 2016 22:31<br><b>À :</b> 'spacewalk-list@redhat.com'<br><b>Objet :</b> Re: [Spacewalk-list] Problems while reposync<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Philip<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’ve seen exactly this issue when I try to sync the CentOS7 channel – not sure what the solution is as yet though.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#4F4F4F'>Kind Regards,<o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#4F4F4F'>Jim Howland</span></b><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-AU style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F'>| Linux Engineer</span><span lang=EN-GB style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F'><br>ABN AMRO |</span><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-AU style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#404040'>ABN AMRO Clearing Sydney Pty Ltd</span><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-GB style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#4F4F4F'><br>Level 8, 50 Bridge Street | Sydney NSW 2000 | Australia<br>Tel: +61 (0)2 9151 3124 | Mobile: +61 (0)417 885818 | Internet</span><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-AU style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#404040'>abnamroclearing.com</span><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F4E79'><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-AU style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Philipp Wehling [<a href="mailto:philipp.wehling@megatel.de">mailto:philipp.wehling@megatel.de</a>] <br><b>Sent:</b> Thursday, 26 May 2016 3:09 AM<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br><b>Subject:</b> [Spacewalk-list] Problems while reposync<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><div><div><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'>Hello,<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'><o:p> </o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'>the subject says everything:<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'><o:p> </o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'># spacewalk-repo-sync -t yum -c centos7-x86_64-updates<br>======================================<br>| Channel: centos7-x86_64-updates<br>======================================<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'>Repo URL: <a href="https://ftp-stud.hs-esslingen.de/Mirrors/centos/7/updates/x86_64/">https://ftp-stud.hs-esslingen.de/Mirrors/centos/7/updates/x86_64/</a><br>Packages in repo: 1676<br>Packages already synced: 1674<br>Packages to sync: 2<br>1/2 : firefox-45.1.1-1.el7.centos-0.i686<br>2/2 : firefox-45.1.1-1.el7.centos-0.x86_64<br>Linking packages to channel.<br>ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')<br>Traceback (most recent call last):<br>File "/bin/spacewalk-repo-sync", line 218, in <module><br>sys.exit(abs(main() or 0))<br>File "/bin/spacewalk-repo-sync", line 211, in main<br>sync.sync()<br>File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 224, in sync<br>[self.channel_label], [], "server.app.yumreposync")<br>File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 69, in add_to_repodata_queue_for_channel_package_subscription<br>add_to_repodata_queue(channel, caller, reason[:128])<br>File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 53, in add_to_repodata_queue<br>queue.add(entry)<br>File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 44, in add<br>bypass_filters=self._boolean_as_char(entry.bypass_filters))<br>File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 151, in execute<br>return self._execute_wrapper(self._execute, *p, **kw)<br>File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 296, in _execute_wrapper<br>raise sql_base.SQLSchemaError(error_code, e.pgerror, e)<br>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',))<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'><o:p> </o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'>Im running Spacewalk 2.4 with SL7.2<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'><o:p> </o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'><o:p> </o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'>kind regards,<o:p></o:p></span></p><p style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-AU style='font-family:Courier;color:black'>Philipp<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p><span lang=EN-AU>Sie können uns "live" erleben.<o:p></o:p></span></p><p><span lang=EN-AU>ILA Berlin Air Show<o:p></o:p></span></p><p><span lang=EN-AU>01. - 04. Juni 2016 - Berlin ExpoCenter Airport<o:p></o:p></span></p><p><b><span lang=EN-AU>Halle 4, Stand 4201</span></b><span lang=EN-AU> / <a href="http://www.ila-berlin.de">www.ila-berlin.de </a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><img border=0 id="_x0000_i1025" src="http://www.mt-aerospace.de/files/mta/download/ila2016.jpg"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p><span lang=EN-AU>********<br>This message (including any attachments ) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you have received this message by mistake please notify the sender by return email and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited.<br>********<o:p></o:p></span></p></div></body></html>