Operating System - Linux
1753500 Members
4712 Online
108794 Solutions
New Discussion юеВ

Re: Yum metadata being generated incorrectly in HP yum repos

 
sherr
New Member

Yum metadata being generated incorrectly in HP yum repos

Hi, I hope this is the best place for this, I really want to file a bug against your yum metadata creation process. In HP yum repos, like http://downloads.linux.hp.com/SDR/downloads/SPP/RHEL/5/x86_64/current/ , you currently have a bug where the yum metadata is being generated incorrectly. In that repo you have two rpms:

 

kmod-mpt2sas-13.10.02.00-2.rhel5u7.x86_64.rpm
kmod-mpt2sas-13.10.02.00-2.rhel5u8.x86_64.rpm

 

The yum metadata for both of them (in primary.xml.gz) is being generated as:

 

name: kmod-mpt2sas
version: 13.10.02.00
release: 2
arch: x86_64

 

This is incorrect; the release field has been truncated. In properly generated yum metadata the rpms would have two different releases, "2.rhel5u7" and "2.rhel5u8". This truncated release field is causing yum to think that they are duplicate packages, and various undesirable behavior ensues.

 

 

P.S. This trhead has been moevd from Community Feedback & Suggestions to Linux > sysadmin. - Hp Forum Moderator

3 REPLIES 3
Michael Leu
Honored Contributor

Re: Yum metadata being generated incorrectly in HP yum repos

Your best bet to get this fixed is contacting Linux_SWdeliverables@external.groups.hp.com.

About a year ago I also had a issue with the SDR and they promply replied and fixed it.

 

(email found here: http://downloads.linux.hp.com/SDR/faq.html)

Jimmy Vance
HPE Pro

Re: Yum metadata being generated incorrectly in HP yum repos

I'll pass this information on to the maintainer

No support by private messages. Please ask the forum! 
Jimmy Vance
HPE Pro

Re: Yum metadata being generated incorrectly in HP yum repos

Craig is having issues with his passport account, but wanted me to pass along this information

 

 

""""""""""""""

This is a known issue where the rpm filename is different from

the rpm meta-data name.  Current iterations of the Service Pack

for ProLiant are clean in this regard.  The rpm's listed in

"current" include everything we've published over the last couple

of years and we should trim that up a bit.

 

In the mean time, I suggest pointing yum at the latest specific

version of the SPP.  In your case:

 

    http://downloads.linux.hp.com/SDR/repo/spp/rhel/5/x86_64/2014.02.0/

 

 

No support by private messages. Please ask the forum!