LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-15-2009, 02:41 AM   #1
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Rep: Reputation: 15
Exclamation Configuring yum with troubles .help!


In the beginning of configuration of yum working i installed the livna.
such as the following copied from yum.conf on my platform:



# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at http://www.fedorafaq.org/#yumconf
[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





in /etc/yum.repos.d directory, has my linva repos.

well,then typing this command line: "yum install mplayer",so any message like "[Errno 12] Timeout: <urlopen error timed out> " present mean that is to change another mirror to try .actually, the messages attached url is connectable.i don't known what's wrong configuration with yum?

the command lines and messages receiving:


yum install mplayer
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
core 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mplayer to pack into transaction set.
http://rpm.livna.org/fedora/6/i386/m...lvn6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://livna.cat.pdx.edu/fedora/6/i3...lvn6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux...lvn6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub...lvn6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.atrpms.net/livna/fedor...lvn6.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
ftp://mirrors.tummy.com/pub/rpm.livn...lvn6.i386.rpm: [Errno 4] IOError: [Errno ftp error] timed out
Trying other mirror.
Error: failure: mplayer-1.0-0.73.20070612svn.lvn6.i386.rpm from livna: [Errno 256] No more mirrors to try.

Last edited by haochao; 03-15-2009 at 02:56 AM.
 
Old 03-15-2009, 03:12 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'm confused are you using Fedora Core 5 or 6? In either case neither is likely to be supported any more, hence the time outs.
 
Old 03-15-2009, 03:27 AM   #3
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
thank you. I' m using FC 6, that head script commented and others is my copying from web.

Last edited by haochao; 03-15-2009 at 03:28 AM.
 
Old 03-15-2009, 03:32 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The most likely problem is that the repos simply don't exist any more.
 
Old 03-15-2009, 03:48 AM   #5
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
thank you.But i can download those rpms directly with url exposed on terminal of progressing "yum install mplayer" manually
 
Old 03-15-2009, 03:53 AM   #6
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
one of those
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-6
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/debug/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
http://rpm.livna.org/fedora/$releasever/SRPMS/
http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
http://mirror.atrpms.net/livna/fedora/$releasever/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
 
Old 03-15-2009, 03:54 AM   #7
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
one of those:
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-6
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/debug/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
http://rpm.livna.org/fedora/$releasever/SRPMS/
http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
http://mirror.atrpms.net/livna/fedora/$releasever/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
 
Old 03-15-2009, 04:23 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Fair point!

Why don't you try upping the value of "timeout" in yum.conf Default is 30 seconds. Perhaps try timeout=60 instead
 
Old 03-15-2009, 04:38 AM   #9
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
i had also upped this value before.no effect.

Last edited by haochao; 03-15-2009 at 04:48 AM.
 
Old 03-15-2009, 10:41 PM   #10
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
try to install another repos(freshrpms) ,the same error as above present . I don't know how to do somehow any more!


Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mplayer to pack into transaction set.
http://ayo.ie.freshrpms.net/fedora/l....fc6.i386.rpm: [Errno 4] IOError: <urlopen error >
Trying other mirror.
http://ayo.freshrpms.net/fedora/linu....fc6.i386.rpm: [Errno 4] IOError: <urlopen error >
Trying other mirror.
Error: failure: RPMS/mplayer-1.0-0.34.rc1try2.fc6.i386.rpm from freshrpms: [Errno 256] No more mirrors to try.


thank you!
 
Old 03-16-2009, 12:54 AM   #11
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you access the internet through a proxy or directly?
 
Old 03-16-2009, 03:39 AM   #12
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
no proxy .i can access internet directly by getting through user-authentication(epa protocol).is there the problem?

Last edited by haochao; 03-16-2009 at 03:41 AM.
 
Old 03-16-2009, 03:56 AM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You need to use the replacement repos rpmfusion http://rpmfusion.org/, assuming you can get stuff that old. The current Fedora versions are 10 & 11 I believe
 
Old 03-16-2009, 05:06 AM   #14
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
Thank you,where can i find rpmfusion for fedora 6?
 
Old 03-17-2009, 12:26 AM   #15
haochao
LQ Newbie
 
Registered: Mar 2009
Location: china
Posts: 28

Original Poster
Rep: Reputation: 15
maybe has a special mechanism in yum.finally,gone over the problem using apt! thank all!

Last edited by haochao; 03-17-2009 at 12:27 AM.
 
  


Reply



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
Troubles with yum install audacious Brividi Linux - Newbie 6 07-22-2008 05:34 AM
problem configuring of yum Gogul Linux - Software 2 05-19-2006 02:28 PM
Configuring YUM taborekle Fedora 3 02-23-2006 01:35 PM
Having troubles configuring mod-ssl with apache. shaly_c Linux - Software 1 01-23-2006 07:28 AM
help configuring yum J0sep Fedora 1 01-13-2005 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration