yum is not working
Dear All,
I m not able to download any tool from when i say yum install its giving me this error $ yum install gcc Loaded plugins: security Setting up Install Process Nothing to do Can anyone help me on this |
Can you post the the output of
Code:
cat /etc/*release* |
Hi,
First of all, when you post a problem, please mention what distro and version you are using. Do you have your repos setup correctly? Post output of: Code:
yum repolist enabled Code:
sudo yum update Kind regards, Eric |
Dear chrism,
$ cat /etc/*release* Enterprise Linux Enterprise Linux Server release 5.4 (Carthage) cat: /etc/lsb-release.d: Is a directory Red Hat Enterprise Linux Server release 5.4 (Tikanga) $ uname -a Linux ip-10-12-195-154 2.6.18-164.0.0.0.1.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux $ ls cd /etc/yum.repos.d ls: cd: No such file or directory /etc/yum.repos.d: $ cat cd /etc/yum.repos.d/* cat: cd: No such file or directory cat: /etc/yum.repos.d/*: No such file or directory |
Quote:
that massage says that gcc is installed or there is no repo enabled that has it --- edit --- posted to quick Quote:
if it is not registered then you can not install anything Also 5.4 is very old the current in the old 5 series is 5.8 ( 2 years newer ) Quote:
not even RHN or the updates nor the base 5.4 repo file basically you can not install anything on this a few options 1) 5.4 is OLD but red hat will ( for an extra fee ) provide extra support for 5.4 to KEEP it at 5.4 not recommend ! unless you MUST 2) if you NEED the older 5 series buy a license form red hat and register the 5.8 install not recommend ! unless you MUST 3) Buy RHEL 6.3 the current , and register it ( required ) if you are not going to buy the required license then install one of the FREE rebuilds for the older 5 series ( hard to support -- it is starting to get a bit old ) CentOS 5.8 scientificLinux 5.8 For the current 6 series CentOS 6.3 scientificLinux 6.3 |
Dear EricTRA,
Yes this is the first time i m doing it here is $ yum repolist enabled Loaded plugins: security repolist: 0 $ sudo yum update Loaded plugins: security Setting up Update Process No Packages marked for Update |
Hi,
There you go, apparently you don't have any repositories enabled. As requested also by chrism01, run the following and post the output please: Code:
cat /etc/*release* Kind regards, Eric |
Dear EricTRA
i posted the output this above |
Aarrgghh; apologies for typo/copy n paste; they should read
Code:
ls /etc/yum.repos.d (Just noticed EricTRA copied my mistake ... we're only human ;) ) |
dear Chrism01,
i not able to read ls /etc/yum.repos.d file its says no such file or directory |
Quote:
Sorry, I missed that one too. The, in my opinion, only correct and complete advice has been given in post #5 by John VV. Kind regards, Eric |
Quote:
Thank God for small reminders that we're still human. Fr*$% copy/paste. Just shows that cutting corners, or at least trying to, is not always a good idea. Kind regards, Eric |
Dear John VV,
I am using a amazon ec2 machine. |
ask amazon about the red hat server cloud support
http://aws.amazon.com/ec2/pricing/ the red hat server pricing is https://www.redhat.com/wapps/store/catalog.html |
Dear EricTRA,
yum.repos.d this folder is present but the version of the linux is not mentioned in this folder |
All times are GMT -5. The time now is 02:57 PM. |