LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rhel 5.4 and yum issues... (https://www.linuxquestions.org/questions/linux-newbie-8/rhel-5-4-and-yum-issues-755140/)

gajuambi 09-14-2009 02:04 PM

rhel 5.4 and yum issues...
 
I have installed the redhat linux 5.4 i386 and i reinstalled it twice.
I have installed it in office on my office desktop pc using vmware workstatin 6.5 and it is being set to use bridged network[directly connected to the network].
I am trying to configure yum with rpmforge-release or livna release but no go.
I tried it prior to registering with RHN and after registering with RHN.
I have taken a snapshot of the initial setup and everytime it fails i go back tot he initial set up and try again but no go.
I am trying to check the connection by trying to install vlc but no go.
I am able to go online.
I am using a proxy but the same set up works fine earlier with rhel 5.3 i386 i don't know what is wrong with 5.4.
[root@localhost Desktop]# yum install vlc
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Could not retrieve mirrorlist http://rpm.livna.org/mirrorlist error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: livna. Please verify its path and try again
without the proxy i cannot go online using vmware.
I tried many other proxies.
I tried putting proxy in the system>preferences>network proxy[with and without the authentication but no go.
It is the 3rd day i am trying to resolve it.
somebody please help.

kapilbajpai88 09-14-2009 03:04 PM

Hi Gajuambi,

It seems that the yum repository is itself corrupt and that's why that error message is.
Could you please let us know that whether you tried creating repository database as well before going for yum configuration ? If not then you need to do that first.

But, could you please let us know why r u trying to install YUM over RHEL 5.4 , as I hope from RHEL5 onwards, YUM is pre-configured.

Cheers,
Kapil

chrism01 09-14-2009 06:43 PM

If you want to add non RHEL apps to a RHEL system, the recommended repo is EPEL.
https://fedoraproject.org/wiki/EPEL
The Fedora equiv is rpmfusion iirc.

gajuambi 09-15-2009 12:45 PM

Yum 'connection refused' solved.
 
Hi,
I came to know that this is happening only with users who are using proxy.
your network has a proxy,
your browser has a proxy,
but your dumb yum still thinks that you don't have proxy.!!!???
Just export proxy with simple commands and its done...
http_proxy=proxy:portnum

Then, export the variable:

export http_proxy

Then run yum as usual. Works fine now.
found it here
http://www.fedoraforum.org/forum/sho...=&threadid=742
thanks for all the initiatives to help me.:cool:


All times are GMT -5. The time now is 07:27 PM.