[Opm] Fwd: Re: Potential Issue with Redhat Repository
Alf Birger Rustad
abir at statoil.com
Fri May 20 05:52:51 UTC 2016
Forgot to add mailing list to sender. (Note to self: stop using phone for this type of correspondence)
---------- Videresendt melding ----------
Fra: Alf Birger Rustad <abir at statoil.com>
Dato: 19. mai 2016 11.41 p.m.
Emne: Re: [Opm] Potential Issue with Redhat Repository
Til: George Shang <georgeyshang at gmail.com>
Kopi:
Hi again,
If you look in the mirror file, you will find this line:
http://www.opm-project.org/package/redhat/$releasever
Notice the yum variable $releasever, which in your case is 7Client rather than plainly 7. Looking at the Red hat documentation here:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-Configuring_Yum_and_Yum_Repositories.html#sec-Using_Yum_Variables
It seems this can be set on your system in the file /etc/yum.conf. Alternatively the content of /etc/redhat-release will be used.
Cheers,
Alf
19. mai 2016 10.25 p.m. skrev George Shang <georgeyshang at gmail.com>:
Hey Alf,
Thanks for your quick reply.
I just caught that as well. I'm able to access the link by removing the Client string.
That said, I'm not very well versed in Linux and so I'm not sure how I can edit the opm.repo file to make the change.
Currently, the repo file is as follows:
"
[opm]
name=Open Porous Media Initiative
mirrorlist=http://www.opm-project.org/package/mirrors
failovermethod=roundrobin
enabled=1
gpgcheck=1
gpgkey=http://www.opm-project.org/package/RPM-GPG-KEY-OPM
"
I'm not sure how I can change the xml file address to the proper URL.
Thanks for your help,
George
On Thu, May 19, 2016 at 2:13 PM, Alf Birger Rustad <abir at statoil.com<mailto:abir at statoil.com>> wrote:
Ah, the string Client should be removed from your link path. Sorry, didn't catch that first.
Cheers,
Alf
19. mai 2016 8.46 p.m. skrev George Shang <georgeyshang at gmail.com<mailto:georgeyshang at gmail.com>>:
To whom it may concern,
I'm not sure where emails reporting potential issues should be reported to, and so if this is the wrong address, I'd appreciate it if you could point me in the right direction.
When attempting to install from your binary packages on RHEL 7.2, I am able to add the OPM repository. However, when actually trying to use the repository, I get the error
"http://www.opm-project.org/package/redhat/7Client/repodata/repomd.xml: [Error 14] HTTP Error 404 - Not Found.
In addition, none of the mirror's provided in the repo appear to work either.
I wanted to check with you to figure out if this is a problem on my end, or a problem with the repo file you have provided.
Thanks in advance,
George
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <//opm-project.org/pipermail/opm/attachments/20160520/97215052/attachment.html>
More information about the Opm
mailing list