LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-28-2005, 04:05 PM   #16
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46

Did you change timeout and retry variables in your yum.conf?

Mine looks like this:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# We don't want to gpg-check local, unsigned packages
#gpgcheck=1
# Changed this because some mirrors go down and then
# re-trying takes forever.
retries=4
timeout=15

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Even so, I sometimes have to try again to get the data...
 
Old 10-28-2005, 08:47 PM   #17
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
change the timeout=15 to something more reasonable, like timeout=45 or timeout=60 even. If that doesn't work, you may want to change the timeout to something extreme like 300 as mentioned.
 
Old 10-29-2005, 04:13 AM   #18
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
yeah, you're right. Timeout is in seconds, isn't it?
 
Old 10-30-2005, 02:26 PM   #19
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Rep: Reputation: 15
how i solved this problem

Before i upgraded to the fedora 4 i searched out all documentation and this seems to be the most reliable that i have found
http://stanton-finley.net/fedora_cor...ion_notes.html

follow his yum configuration and you have this problem solved. he gives two repositories for the configuration files
 
Old 10-30-2005, 06:16 PM   #20
hakukani
Member
 
Registered: Jun 2005
Location: Big Island, hawaii
Distribution: fc5; OS X tiger
Posts: 48

Rep: Reputation: 15
I've been following this thread with some interest. I'm having a similar problem to Pavi's.

I have used Mr. Finley's site to set up yum update. It worked fine for several months. For about three weeks I've been getting this:

# yum update
Setting up Update Process
Setting up repositories
Cannot open/read repomd.xml file for repository: livna
failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.





I've tried resetting my timeout to 300 as per above; it does not matter. I have tried using other repositories (dag, dries, freshrpms), and disabling livna in my etc/yum.repos.d -that just messes up around the 'fedora updates'.

I'm really not sure why it no longer works.
 
Old 10-31-2005, 07:49 PM   #21
johnball
Member
 
Registered: May 2005
Location: pittsburgh pa
Posts: 31

Rep: Reputation: 15
noticed too

I noticed that too...but what i did notice, there seems to a time cycle when the two repositoires work. I just simply move from one to the other when needed. I hope that helps. i dont know why i, just know it works for me. like i said i am only 1 yr old to the linux operating systems so im still a newbie. please tell me what everyone finds out
 
Old 11-04-2005, 12:02 PM   #22
smfinley
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
See this bug report.
 
Old 12-29-2007, 11:38 AM   #23
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by linmix View Post
There's a good yum.conf at the unofficial fedora FAQ (www.fedorafaq.org)
Thank you, this just saved my bacon:

here was my situation:

trying to install dnsmasq:

Code:
# yum install dnsmasq
yielded the following error message:

Code:
Setting up Install Process
Setting up repositories
http://apt.sw.be/fedora/4/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Sat, 29 Dec 2007 16:10:18 GMT
Server: Apache/2.2.6 (Unix)
Content-Length: 310
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: dag
failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try.
here's /etc/yum.conf:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

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

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
I followed your link, found instructions for FC4 here

I followed the instructions verbatim; the only hitch was that when I reran

Code:
 # yum install dnsmasq
I got the following:

Code:
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl for repo: livna
I edited /etc/yum.repos.d/livna.repo and uncommented the line

#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/

in the section

[livna]

Code:
[livna]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/
mirrorlist=http://rpm.livna.org/mirrorlist
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
enabled=1


[livna-testing]
name=Livna.org - Fedora Compatible Packages (testing)
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn-testing
mirrorlist=http://rpm.livna.org/mirrorlist-testing
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
enabled=0
After I made this change, yum installed the package, apparently correctly (I haven't configured dnsmasq yet)
 
  


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
apt vs yum on FC4 dazdaz Linux - Software 2 11-24-2005 05:10 AM
yum fc1 to fc4 reddwarf2956 Fedora 2 10-07-2005 10:20 PM
installing in FC4 ...yum ?? ALInux Linux - Software 5 08-19-2005 04:58 AM
FC4 yum broken after upgrade Kabuso Fedora 4 06-26-2005 04:49 PM
Can I yum completely to FC4? longblock454 Fedora 2 03-16-2005 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:56 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