LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2009, 03:04 PM   #1
gajuambi
LQ Newbie
 
Registered: Aug 2009
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
Red face 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.
 
Old 09-14-2009, 04:04 PM   #2
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Smile

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
 
Old 09-14-2009, 07:43 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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.
 
Old 09-15-2009, 01:45 PM   #4
gajuambi
LQ Newbie
 
Registered: Aug 2009
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thumbs up 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=proxyortnum

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum and RHEL 5.1 bic Red Hat 3 06-12-2008 09:39 AM
YUM on RHEL 4.0?? ajeetraina Linux - Newbie 1 06-02-2008 10:34 AM
Yum on RHEL Atmchicago Red Hat 2 07-29-2006 06:12 PM
RHEL 4 and yum? inc0gs Red Hat 7 09-24-2005 04:09 PM
Yum in RHEL 4 IcoNyx Linux - Software 2 09-19-2005 05:00 PM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration