Checksum Error when accessing Nexus Yum Repo

160 views
Skip to first unread message

clifford sanders

unread,
Jan 23, 2013, 11:05:04 AM1/23/13
to nexus-yu...@googlegroups.com
Hello,

we use Nexus Yum Plugin 1.17 with Nexus Pro 1.9.2.3 (CentOS 6) and build/upload RPMs with Maven/Jenkins.

If I try to access the Repository from a CentOS 5 box I get:

MyNexus                                                                                                                                      | 3.0 kB     00:00     
MyNexus/primary_db                                                                                                                           | 7.3 kB     00:00     

From a CenOS 6 box I don't get this error.


In nexus.log I found this:

Execute command : createrepo --update -o ......

How can I configure the plugin to execute 'createrepo -v -s sha1' instead.

Clifford

Herold, Sebastian

unread,
Jan 23, 2013, 4:15:11 PM1/23/13
to <nexus-yum-plugin@googlegroups.com>
Hi Clifford,

we had a similar problem with our RHEL 5 machines. At the moment it's not possible to change the createrepo command parameters. 
But we worked around this by installing python-hashlib during bootstrap like described here: http://blog.vertile.com/nathan/?tag=hashlib

Regards,
Sebastian

clifford sanders

unread,
Jan 24, 2013, 6:34:54 AM1/24/13
to nexus-yu...@googlegroups.com
Hi Sebastian,

thanks a lot. This solved the problem for me.

Regards,

Clifford
Reply all
Reply to author
Forward
0 new messages