yum install - No package mysql-server available
Hello,
yum install mysql-devel mysql-server does not work propperly, it says: Quote:
Thanks in advance for your help! |
Did you check with the repositories? May be it is in some repo which is not enabled on your system. I'm on scientific linux 6 and on my system mysql-devel comes from sl-security repo (mysql-server is already installed).
Is your internet connection is functional? |
Quote:
Yes, my internet connection is ok...the repo is the default from Red Hat installation, it's weird, why did it work on other installation and not in this one... Quote:
|
Quote:
Yes, my internet connection is ok...the repo is the default from Red Hat installation, it's weird, why did it work on other installation and not in this one... Quote:
|
You might want to login to Redhat Network (RHN) and verify both servers are registered and have the same subscriptions. RH doesn't let you install from their repositories with a registered subscription for the host.
When I run yum list mysql-devel mysql-server from one of my RHEL5 systems I see the packages are in the rhel-x86_64-server-5 repository. I've noticed on occasion that due to high traffic on the repository servers yum will occasionally give you bogus information. Retrying later might have different results. Also of course you can try clearing the cache with "yum clean all". Sometimes there are issues with the cache that prevent yum commands from running. As a work around, if you've got cache set to save on the host where you already installed the packages you can get the RPMs from the /var/spool/cache/yum directory on that server and copy them to the other one then just run "rpm -ivh" against those RPMs on the target server to install using rpm. (You might have dependency issues however that require you to copy more packages.) |
You have a seperate repo file by name rhel-source.repo? On my SL6 machine I only have sl.repo and sl-updates.repo.
Clearly on the rhel-source.repo file you quoted, it is not enabled (enable=0). But so is sl-source in my sl.repo file. So 'source' does not matter. If you have just rhel.repo or rhel-updates.repo, confirm if they are enabled. On my system the following two are enabled. Code:
[sl] |
Quote:
1 - Logged into rhn.redhat.com 2 - On subscription section added the RHEL Desktop Workstation (v. 5 for 32-bit x86) to the Red Hat Enterprise Linux Desktop (v. 5 for 32-bit x86) And then, yum update, and installed mysql-server and the other without any problem Thanks! |
All times are GMT -5. The time now is 04:00 AM. |