Yum Command
Hi,
For installation of Oracle I need to update the rpm's on my system. This is one of the rpm: make-3.81-1.1.x86_64 This is what I get as output: ===================================== [root@USSLTC3118V /]# yum list make Loaded plugins: rhnplugin, security There was an error communicating with RHN. RHN support will be disabled. Error communicating with server. The message was: No route to host file:///mnt/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/Server/repodata/repomd.xml' Trying other mirror. Installed Packages make.x86_64 1:3.81-3.el5 installed ==================================== [root@USSLTC3118V /]# yum install make Loaded plugins: rhnplugin, security There was an error communicating with RHN. RHN support will be disabled. Error communicating with server. The message was: No route to host file:///mnt/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/Server/repodata/repomd.xml' Trying other mirror. Setting up Install Process Package 1:make-3.81-3.el5.x86_64 already installed and latest version Nothing to do Any idea why am I getting this error? |
Looks like you or somebody else set up a local repository for yum, which apparently does not exist anymore. You can find and disable it in /etc/yum.repos.d/.
It also appears that the machine does not have internet access, so it can't access the RHN to check there. You should probably look into why the machine can't access the RHN, and once that's fixed you can update everything with "yum update". |
Quote:
Is there a fast and easy way to check if the machine has internet access? I am accessing the machine remotely via putty. |
You can try pinging the google servers:
Code:
ping google.com Code:
ping 74.125.227.131 |
This is not an error related to the make installation. Notice these lines:
Code:
Installed Packages Code:
Package 1:make-3.81-3.el5.x86_64 already installed and latest version Instead the actual error is: Code:
file:///mnt/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/Server/repodata/repomd.xml' Code:
enabled=1 Code:
enabled=0 Code:
yum --enablerepo=named_repo install something Edit: not seen previous answers before posting... |
Quote:
...... ---> Package python-pyblock.x86_64 0:0.26-4.el5 set to be updated ---> Package squashfs-tools.x86_64 0:3.0-4 set to be updated --> Processing Conflict: rhn-client-tools conflicts up2date --> Finished Dependency Resolution rhn-client-tools-0.4.20-9.el5.noarch from installed has depsolving problems --> rhn-client-tools conflicts with up2date Error: rhn-client-tools conflicts with up2date You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest The program package-cleanup is found in the yum-utils package. |
Quote:
|
[oracle@USSLTC3118V StageR12]$ cat /etc/*-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga) |
I don't remember is Red Hat 5 did come with yum installed, but nowadays up2date is deprecated in favor of yum. You can try to run
Code:
package-cleanup --problems |
from the top post and in your output
Quote:
RHEL 5.4 ( you say) is not free you need to pay for the "license" a yearly support contract also 5.4 is a bit on the old side in the 5 series . 5.8 is the current so for 5.4 you MUST have a long term support contract for the bug and security fixes backported back to 5.4 you need to register this install with red hat and buy the required support contract without it you are going to have all kinds of NOT fixable problems http://www.redhat.com/support/customer-portal.html also Oracles database ( not free )is meant to be ran on Oracles OWN version of red hat the Oracles " unbreakable linux " -- also not free . as to WHY "up2date" in installed ????? that is a RHEL3 and RHEL4 program , so WHY is it on a RHEL5.4 install????? i would contact your red hat tech rep you ARE paying them the - desktop - $49-$299/year ( std 1 year $299 IS RECOMMENDED ) - server- $349-$1299 / per year ( std 1 year $799 IS RECOMMENDED ) |
run:
Code:
rhn_register In this file change: Code:
enabled=1 Code:
enabled=0 Code:
[root] # service rhnsd stop Code:
[root] # chkconfig rhnsd off |
it you are going to that extent on a unlicensed RHEL
PORT/Migrate it it CentOS !!!!!! your life will be VERY MUCH easier and the NEVER ENDING headache of trying to use a UNLICENSED copy of RHEL will end see the wiki http://wiki.centos.org/HowTos/MigrationGuide |
Looks like you didn't register your system with the red hat satellite server for licensing ..New packages installation can only be done when you register your version .
issue command: rhn_register and paste the o/p |
All times are GMT -5. The time now is 02:34 AM. |