Fedora Linux Support Community & Resources Center
  #1  
Old 3rd August 2006, 08:59 PM
npaul Offline
Registered User
 
Join Date: Aug 2006
Posts: 3
yum - unable to open url

hi, i'm new to fedora. I just installed fedora fc5. I'm having problems with yum commands like the following:
yum update
yum install gcc

When I do yum update I get the following message:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvvvvvvvvv
[root@pdsdfc5 ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core [1/5]
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



It seems like it's having problems getting to the network from the terminal. But I do have a network connection on this machine. That how I'm able to post this message.

my fedora-core.repo looks like the following:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvvvvvvvvv
[core]
name=Fedora Core $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#baseurl=file:///root/RPMS
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Can anyone help me on where to start with this problem???



Thanks,
npaul

Last edited by npaul; 3rd August 2006 at 09:02 PM. Reason: additional information
Reply With Quote
  #2  
Old 3rd August 2006, 09:23 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
The message you are getting sometimes is normal as the repos are busy or down etc. Usually, if you wait a few minutes and try again, you will likely not see it.

In the meantime, you may want to try
yum clean all
then
yum -y update yum
and then try your regular yum update etc.

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 3rd August 2006, 09:40 PM
npaul Offline
Registered User
 
Join Date: Aug 2006
Posts: 3
i did 'yum clean'
then when i tried 'yum -y update yum', i get the following similar to before:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvv
[root@pdsdfc5 ~]# yum -y update yum
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core [1/5]
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Here's some more info to my problem.... I noticed that if I try to get the above URL from a browser like mozilla, it's able to open the file. But from a termial it's not able to get thru:
the following is what i get when i do a 'wget <above url>'
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvv
[root@pdsdfc5 ~]# wget http://download.fedora.redhat.com/pu...ata/repomd.xml repomd.xml
Error parsing proxy URL http://:8080/: Invalid host name.
Error parsing proxy URL http://:8080/: Invalid host name.

FINISHED --16:32:11--
Downloaded: 0 bytes in 0 files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Reply With Quote
  #4  
Old 3rd August 2006, 10:22 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
It looks like you have modified your /etc/yum.repos.d/fedora-core.repo ?
Quote:
Originally Posted by npaul
my fedora-core.repo looks like the following
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

As far as I am aware this is the default?
PHP Code:
[core]
name=Fedora Core $releasever $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck
=1
gpgkey
=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever $basearch Debug
baseurl
=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck
=1
gpgkey
=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever Source
baseurl
=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck
=1
gpgkey
=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY 
Try setting the enabled=1 to enabled=0 for both [core-source] and [core-debuginfo] save, exit and try yum again.
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 7th August 2006, 04:53 PM
npaul Offline
Registered User
 
Join Date: Aug 2006
Posts: 3
thanks for your help. i'm sitting behind a proxy and had to set up the proxy variables according in the .bashrc file and /etc/yum.conf files.
Reply With Quote
Reply

Tags
open, unable, url, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Konsole is unable to open a PTY bkorb Installation and Live Media 2 28th October 2006 07:47 PM
FC5: konsole unable to open a pty LocutusOfBorg Using Fedora 0 29th March 2006 06:42 AM
IM Unable to open socket Sr Ramitas Using Fedora 0 16th August 2005 10:47 PM


Current GMT-time: 07:20 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat