Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yum install mysql-devel mysql-server does not work propperly, it says:
Quote:
No package mysql-devel available
No package mysql-server available
Nothing to do
The most weird thing, is that i've completed a previous installation in other machine (same RH 5.5) last week and yum install mysql-devel, mysql-server worked perfectly
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).
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?
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:
cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - Source
baseurl=ftp://ftp.redhat.com/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
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?
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:
cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - Source
baseurl=ftp://ftp.redhat.com/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
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 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.)
Interesting, solved like this:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.