Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page yum url open error
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 05-11-2008   #1 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 17
yum url open error

my os is 2.6.21-1.3194.fc7, and i installed yum and when i am trying to install any packages it shows the url open error,i have another doubt why the yum is trying to grab the ..../header/header.info(shown below) file, i didnt written
the same url in any repos.which yum version i want to install?.what i want to do thank you

[root@localhost ~]# yum update yum
Error: Cannot find baseurl or name for server 'dries'. Skipping
Error: Cannot find baseurl or name for server 'livna'. Skipping
Error: Cannot find baseurl or name for server 'fedora'. Skipping
Error: Cannot find baseurl or name for server 'freshrpms'. Skipping
Error: Cannot find baseurl or name for server 'livna-source'. Skipping
Error: Cannot find baseurl or name for server 'fedora-source'. Skipping
Error: Cannot find baseurl or name for server 'fedora-debuginfo'. Skipping
Gathering header information file(s) from server(s)
Server: ATrpms - Stable
retrygrab() failed for:
http://wftp.tu-chemnitz.de/pub/linux...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file http://wftp.tu-chemnitz.de/pub/linux...rs/header.info
[Errno 4] IOError: <urlopen error >
[root@localhost ~]#
sumeshkk is offline   Reply With Quote
Old 05-11-2008   #2 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 570
hi,



can you cat and post the content of the "dries" and "livna" repo files in /etc/yum.repos.d/?

and tell us more about your network. are you behind a proxy? can you access the NET with your browser? can you use wget to download some stuff from the net?
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-12-2008   #3 (permalink)
daark.child
Linux Guru
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,203
How did you install yum? The reason I ask is because you should not have had to do this because YUM is installed by default in Fedora Core 7.
daark.child is offline   Reply With Quote
Old 05-12-2008   #4 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 17
thank u for ur replay
the yum is not installed as default i installed it seperately

i am using bsnl broad band internet 256kbps connected through lan eth0
no such repos in /etc/yum.repos.d,the description only in /etc/yum.conf,i dont know about proxy can u please sent me link to know about proxy?,ya i can use net by using firefox browser,i can ping google.com,when i used wget the below error occure

[root@localhost yum.repos.d]# wget http://rpm.livna.org/livna-release-7.rpm
Error parsing proxy URL http://:8080/: Invalid host name.
[root@localhost yum.repos.d]#

/etc/yum.conf given below

# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at The Unofficial Fedora FAQ
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# Don't check keys for localinstall
gpgcheck=0
plugins=1
metadata_expire=1800
# Changed this because some mirrors go down and then
# re-trying takes forever.
timeout=7


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d


# cat fedora.repo

[fedora]

name=Fedora $releasever - $basearch

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

enabled=1

protect=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

file:///etc/pki/rpm-gpg/RPM-GPG-KEY



[fedora-debuginfo]

name=Fedora $releasever - $basearch - Debug

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch

enabled=0

protect=0

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

file:///etc/pki/rpm-gpg/RPM-GPG-KEY



[fedora-source]

name=Fedora $releasever - Source

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch

enabled=0

protect=0

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

file:///etc/pki/rpm-gpg/RPM-GPG-KEY





# cat freshrpms.repo

[freshrpms]

name=Fedora Core $releasever - $basearch - Freshrpms

mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms

protect=0

enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms

gpgcheck=1



[dries]

name=Dag RPM Repository for Fedora Core

mirrorlist=http://apt.sw.be/fedora/6/en/mirrors-rpmforge

protect=0

gpgcheck=0

enabled=0



[atrpms]

protect=0

name=ATrpms - Stable

baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/f7-i386/atrpms/stable/

enabled=0

gpgcheck=0



# cat livna.repo

[livna]

name=Livna for Fedora Core $releasever - $basearch - Base

failovermethod=priority

protect=0

enabled=0

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna



[livna-source]

name=Livna for Fedora Core $releasever - $basearch - Source

failovermethod=priority

protect=0

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

gpgcheck=1
sumeshkk is offline   Reply With Quote
Old 05-12-2008   #5 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 570
hi,


for information about proxy servers have a look at this
proxy server

from the wget output it looks like you are behind a proxy. if there is somebody administrating your network ask him if there is a proxy and the address of the proxy and port.

in Fedora 7 yum is installed by default so i dont know how come you had to install yum by yourself.

and from your /etc/yum.conf i see the following
Code:
# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at The Unofficial Fedora FAQ
can you tell us how you installed yum please
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-12-2008   #6 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 17
thank u,thank u,......... very much for ur quick replay
i downloaded the yum package and compiled and installed it shows no error during installation.did i want to tick yum package(if there) during fedora installation to install it? is that i may forgot to tick that .i am a newbie so sorry for my errors
is my isp can give proxy? or is there any way to find out my proxy's ?.if i got it how can i fix my yum configuration with that?
sumeshkk is offline   Reply With Quote
Old 05-12-2008   #7 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 17
how i can install the yum installed by me? and how i can get the default yum from my fedora cd?
sumeshkk is offline   Reply With Quote
Old 05-12-2008   #8 (permalink)
khafa
Linux Enthusiast
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 570
Quote:
Originally Posted by sumeshkk View Post
thank u,thank u,......... very much for ur quick replay
i downloaded the yum package and compiled and installed it shows no error during installation.did i want to tick yum package(if there) during fedora installation to install it? is that i may forgot to tick that .i am a newbie so sorry for my errors
is my isp can give proxy? or is there any way to find out my proxy's ?.if i got it how can i fix my yum configuration with that?
can you please give us the link from where you downloaded yum(and the file you downloaded).

i havent installed fedora for a while but i dont think you have to tick anything to get yum installed.

if you connect to the NET through a router your ISP gave you, you dont likely use a proxy but still we need to know the structure of your network. can you describe it please

if you have a proxy then you cannot access the NET without configuring firefox to use the proxy. so if after installing fedora you just could use firefox without any adjustment then you dont have a proxy.

now if you have a proxy we will show you how to set up yum to go through the proxy.

dont try to uninstall yum yet. lets try to find what version you have.
run the following command and post the output
Code:
rpm -q yum python python-elementtree python-sqlite \
python-urlgrabber rpm-python
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 05-13-2008   #9 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 17
thank u.
i am contng net through the router that the isp gave me,
getting the following o/p by running that comnd

[root@localhost ~]# rpm -q yum python python-elementtree python-sqlite \
>
yum-3.2.0-1.fc7
python-2.5-12.fc7
package python-elementtree is not installed
package python-sqlite is not installed
[root@localhost ~]# python-urlgrabber rpm-python

i googled with "yum downloads" then i got the link, i dont remember that link i think it from download.fedora.redhat.com if u want i can upload it to any file sharing site
waiting for your replay
sumeshkk is offline   Reply With Quote
Old 05-13-2008   #10 (permalink)
sumeshkk
Just Joined!
 
Join Date: Dec 2007
Posts: 17
the yum files i downloaded is
yum-2.0.7.tar.gz,
yum-3.2.0-1.src.rpm,
yum-3.2.14.tar.gz,
yum-3.2.14-1.src.rpm,
yum-updatesd-0.5.tar.bz2
sumeshkk is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:55 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0