LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-28-2007, 12:17 PM   #1
DarkSun84
Member
 
Registered: Apr 2004
Distribution: Fedora 8
Posts: 32

Rep: Reputation: 15
Exclamation yum & yumex hanging while fedora-updates repo is active


Hi all,
I installed fedora 8 few days ago on my laptop.
I had no problem starting from a live-KDE dvd, fully working with wireless and no problem at all, but from yesterday yum and yumex hangs if fedora-updates.repo is enabled. I have no idea of what's going on.. other repos work correctly...
here is my fedora-updates.repo :


[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora




Any ideas? Suggestion?
 
Old 11-28-2007, 06:04 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I cna't see anything off the top but is this the repos from the fedora-release-8-3.noarch.rpm?
If not then I would install that rpm and then you would have the repos for Fedora 8.

Brian
 
Old 11-29-2007, 01:41 AM   #3
DarkSun84
Member
 
Registered: Apr 2004
Distribution: Fedora 8
Posts: 32

Original Poster
Rep: Reputation: 15
ehm, I really don't know. I just installed from the live-KDE DVD... I have not managed any rpm for the fedora's repo (excluded the external ones, like livna etc.)

EDIT: when i try to get the fedora-release-8-3.noarch.rpm with this command, it takes a while and then complains about the package already installed....

rpm -Uhv http://mirror.anl.gov/pub/fedora/lin...8-3.noarch.rpm

Last edited by DarkSun84; 11-29-2007 at 01:51 AM. Reason: Added some information
 
Old 11-29-2007, 04:02 PM   #4
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
You mention that yum or yumex hangs, are you sure it isn't just working in the background. I would consider a process hung if it goes into a loop or stops using any cpu. Check to see if it is still performing work by using the top command. If so, take a break for a while and let it do its thing.

I found that the first time yum or pirut were executed they took quite some time to get through their initial setup. The initial run of pup actually exited abnormally. After that I tried yum update and let it run to completion. pup now works with the smaller workload. Hopefully PackageKit in F9 will be an improvement.

ADDED: The listing from your fedora-updates.repo looks exactly like mine with the exception of mine being enabled=1.

Bill

Last edited by wmakowski; 11-29-2007 at 04:05 PM.
 
Old 11-29-2007, 05:04 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I would force it to reinstall. I think the repo you have does not point to something right.
rpm -Uhv http://mirror.anl.gov/pub/fedora/lin...8-3.noarch.rpm --force

Brian
 
Old 11-30-2007, 02:39 AM   #6
DarkSun84
Member
 
Registered: Apr 2004
Distribution: Fedora 8
Posts: 32

Original Poster
Rep: Reputation: 15
ok, I made some tests, before trying to force.
It doesn't hang. It's more like a lot of time to process. It stays al 60% (before building the list of pakages avaiable) for about 20 minutes. After that, it goes to 70% (building the list of pakages) and in 40-60 seconds it starts.
It's very strange.
maybe something with my config is wrong?
 
Old 11-30-2007, 10:01 AM   #7
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
After the first time I ran yum and pirut it started working much more quickly. Is it working any better now or still taking forever? Did you change any of the config? The repo entries look just like mine. Only other thing I can think of is a slow mirror. There are ways to improve the mirror selection if you want to try it check out this thread. It looks like they changed failovermethod to be priority in F8. I think I'm going to set mine back to roundrobbin and see what happens.

Bill
 
Old 12-03-2007, 05:28 PM   #8
DarkSun84
Member
 
Registered: Apr 2004
Distribution: Fedora 8
Posts: 32

Original Poster
Rep: Reputation: 15
I don't know what happened, but now it's working again...
I think it's a problem with timeout of servers...
 
  


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
Could someone please post fedora-updates.repo billymayday Fedora 1 11-03-2007 02:59 AM
LXer: Managing Packages And Repositories With Yum And Yumex On Fedora 7 LXer Syndicated Linux News 0 10-04-2007 06:30 PM
adding a repo in Yumex Joe47 Fedora 1 06-10-2006 12:10 AM
Questions about yum updates & terminal pimpz0r2000 Linux - Newbie 2 05-25-2006 06:34 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

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

All times are GMT -5. The time now is 11:56 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
Open Source Consulting | Domain Registration