I use the following in my mrepo config:

http://linux.dell.com/repo/hardware/latest/platform_independent/rh50_64/

And in my yum config:

[dell]
name=CentOS-5 Dell Custom
baseurl=http://mirrorhost/mrepo/centos5-$basearch/RPMS.dell
enabled=1
gpgcheck=0
priority=2

Hope this helps.

( I have no issues with installing srvadmin-all with deps on centos 5.5
x86_64 )

On 11/30/10 6:34 PM, "Jim Goddard" <[email protected]> wrote:

> Hi Steve and Bond,
> 
> Thanks for the quick replies.
> 
> I have configured a number of local repositories already, and they are working
> fine.  However, the Dell OMSA one is different, due to the fiddly bits around
> figuring out which branch of the tree to check out from.
> 
> If I just point a client server to my copy of the dell repo using:
> baseurl=http://xxx.xxx.xxx.xxx/dell/hardware/latest
> <http://10.74.67.42/dell/hardware/latest>
> 
> it does calculate the deps correctly when I try to install srvadmin-all.
> However, it cannot find the packages to dowload, as the folder structure under
> that is actually a bunch of repos.
> 
> If I just change
> mirrorlist=http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=el$re
> leasever&basearch=$basearch&native=1&dellsysidpluginver=$dellsysidpluginver
> <http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=el$releasever&b
> asearch=$basearch&native=1&dellsysidpluginver=$dellsysidpluginver>
> 
> to have the IP of my repo server, I get the following yum error:
>> 
>> YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
>>  Eg.         traceback.print_exc()/
>> removing mirrorlist with no valid mirrors:
>> /var/cache/yum/dell-omsa-indep/mirrorlist.txt
>> Error: Cannot find a valid baseurl for repo: dell-omsa-indep
> 
> I may just end up forgoing mirroring this repo.  It is cool enough that Dell
> provides this repo.  Thanks Dell.
> 
> Jim
> 
> On Wed, 2010-12-01 at 09:22 +1000, Steve Tempest wrote:
>>  Here¹s some reading...
>>  
>>   
>>  
>>  http://www.howtoforge.com/creating_a_local_yum_repository_centos
>>  
>>   
>>  
>>  Is for centos but should work with any RHEL version.
>>  
>>   
>>  
>>  Is upto you if you want to resign the rmp files or now. I do but it¹s
>> probably easier if you don¹t... the gpgcheck=0 turns off checking the
>> signatures.
>>  
>>   
>>  
>>  Cheers
>>  
>>   
>>  
>>  Steve
>>  
>>   
>>  
>>  From: [email protected]
>> [mailto:[email protected]] On Behalf Of Bond Masuda
>>  Sent: Wednesday, 1 December 2010 9:17 AM
>>  To: 'Jim Goddard'; [email protected]
>>  Subject: RE: Local mirror of OMSA repository
>>  
>>  
>>   
>>  
>>  maybe create a repository file in /etc/yum.repo.d that points to the local
>> repository tree? something like:
>>  
>>   
>>  
>>  [local]
>>  
>>  name=Local Packages for Enterprise Linux 5 - $basearch
>>  
>>  baseurl=file:///path/to/respository
>>  
>>  enabled=1
>>  
>>  gpgcheck=0
>>  
>>   
>>  
>>  or, you can also do yum localinstall Š
>>  
>>   
>>  
>>  -Bond
>>  
>>   
>>  
>>  From: [email protected]
>> [mailto:[email protected]] On Behalf Of Jim Goddard
>>  Sent: Tuesday, November 30, 2010 3:12 PM
>>  To: [email protected]
>>  Subject: Local mirror of OMSA repository
>>  
>>  
>>   
>>  
>>  Hello,
>>  
>>  I am stumped on how to get the local mirror I made of the Dell repository to
>> work.
>>  
>>  I have the portions of the repository mirrored that correspond to our
>> hardware (not the full tree).
>>  
>>  Is there some guidance to creating the client's repo file so that my
>> machines grab from my mirror, instead of over the internet?
>>  
>>  I think I am missing something simple here.
>>  
>>  Thanks a lot,
>>  
>>  Jim 
>>  
>>  
>>  Notice This email and any attachments are strictly confidential and subject
>> to copyright. They may contain privileged information. If you are not the
>> intended recipient please delete the message and notify the sender. You
>> should not read, copy, use, change, alter or disclose this email or its
>> attachments without authorisation. The company and any related or associated
>> companies do not accept any liability in connection with this email and any
>> attachments including in connection with computer viruses, data corruption,
>> delay, interruption, unauthorised access or unauthorised amendment. Any views
>> expressed in this email and any attachments do not necessarily reflect the
>> views of the company or the views of any of our related or associated
>> companies.
> 
> 
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> [email protected]
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq

-- 
Bryan Seitz
Sr. System Engineer
Norton Data Services, Symantec
(703) 789-4053

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to