Downloading Packages using yum*
Dear all,
I am getting bit confused. I tried 2 ways to install oracleasm* package. Option 1 --> was failed Option 2 --> got succeeded. Question 1 ) Why Option 1 was failed ? >> Option 1 : PHP Code:
Quote:
>> Option 2 PHP Code:
Why we cannot query oracleasm related packages under /etc/yum.repos.d ? Please see the path for following commands PHP Code:
|
I don't know for sure, but I noticed the baseurl for option 2, which worked, is this. But it's not in the .repo file you downloaded in option 1.
Code:
baseurl=http://yum.oracle.com/repo/OracleASM/RHEL5/$basearch/ If that's what's happening, you can fix it by putting quotes around the wildcard. |
Joy Stick you seem to always be starting threads about RHEL, Oracle, and Yum.
It is not helpful to create new threads and leave the other ones unresolved. This is your warning to stop this behavior. |
Hi,
Quote:
I am NOT asking same questions over and over again. Questions are regarding yum with various packages. @ FYI: Still i did not get exact answer for my question. |
Quote:
You should also remember that members here, are NOT getting paid to help you. I suggest you contact Red Hat for support. |
Quote:
I'm sure you would rather use an official .repo file, but the fact that Oracle is giving those instructions instead of telling which .repo file to download suggests that they have not made the ASMLib packages available via any official .repo file. That should answer question 1. If my answer for question 2 isn't correct, please tell me. |
Hi jsbjsb001
I am always using Oracle Linux 5.x and 6.x @ jsbjsb001 wrote Quote:
Why it has to check root directory ? Thanks js |
Quote:
When you issue the command rpm -qa oracleasm* the shell looks in the current directory to see if any file matches "oracleasm*". In first case, in /etc/yum.repos.d, it found one, so it replaced "oracleasm*" with "oracleasm.repo" and passed it to "rpm" when it executed it. That's not what you wanted. But then you switched to your home directory, which apparently does NOT have any file that matches oraceleasm*, so it passed the parameter to rpm just as you typed it. To get it to work in all cases, use quotes. In fact anytime you want to pass a wildcard character as a parameter, you should always wrap it in quotes. Code:
rpm -qa 'oracleasm*' |
Quote:
You were told explicitly that the version of OEL you're using is too old, and the repos aren't going to have what you're looking for, or are unavailable. Period. Your repo file explicitly states that you have an RHEL repo enabled...and RHEL is not supported any longer. Want to use RHEL repositories? Then PAY FOR RHEL as you've been told. Want to use OEL? Great...go get the latest version that will actually have what you're after. Changing one package name and giving the same error over and over *IS* the same question...they're all related. |
Hi
Want to use OEL? Great...go get the latest version that will actually have what you're after. Yes. I am moving to OEL 6.8 from OEL 5.5 |
All times are GMT -5. The time now is 11:58 AM. |