LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 06-01-2008, 08:22 PM   #1
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
FC9: yum freezes on "Setting up Update Process"


Hi,

I did a clean installation of FC9 but after a couple of days and maybe 1 or 2 updates I started getting a kernel panic when booting but not consistently.

So I let it rest for a few days and now It booted OK. Assuming that it may be a kernel issue and that there may be an update for that I did

yum clean all
yum update

The problem is that "yum update" just stays at "Setting Up Update Process" and the only way out is to kill it (not even ctrl-C works). I've tried waiting for 15 minutes to no avail.

Has anyone else seen this behaviour?

How can I fix it?

Here is what I get when executing this:
Code:
[root@luisraul ~]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@luisraul ~]# yum update
Loaded plugins: refresh-packagekit
fedora                                                   | 2.4 kB     00:00    
primary.sqlite.bz2                                       | 6.1 MB     00:17     
updates                                                  | 2.3 kB     00:00    
primary.sqlite.bz2                                       | 857 kB     00:09     
Setting up Update Process
Killed
[root@luisraul ~]#
If I use the GUI for updating the system it also just stays there on "Getting information"

This box was happily running FC8 before this clean installation.

Last edited by rarsa; 06-01-2008 at 08:24 PM.
 
Old 06-01-2008, 09:11 PM   #2
mastahnke
Member
 
Registered: Feb 2002
Location: IL
Distribution: Ubuntu currently, also Fedora, RHEL, CentOS
Posts: 111

Rep: Reputation: 15
Do you have an http_proxy set up? Sometimes with a misconfigured proxy you can get long pauses.

Another possibility is that you recently added/enabled another repo that yum can't communicate with. I see this a lot at work.

You might try running
Code:
strace yum -y update
(This assumes you have strace installed)
and see where it's hanging at.
 
Old 06-01-2008, 09:37 PM   #3
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Original Poster
Rep: Reputation: 31
Thank you for your response.

Quote:
Originally Posted by mastahnke View Post
Do you have an http_proxy set up?
No proxy in my home network.

Quote:
Originally Posted by mastahnke View Post
Another possibility is that you recently added/enabled another repo that yum can't communicate with.
This is a clean installation, just "Fedora" and "Fedora updates"

Quote:
Originally Posted by mastahnke View Post
(This assumes you have strace installed)
Again, this is a 100% clean installation, I haven't installed anything else after the installation.

I'll try tomorrow, maybe there is some issue with the repositories.
 
Old 06-01-2008, 09:41 PM   #4
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Original Poster
Rep: Reputation: 31
Actually I must correct my self:

It is a clean installation plus an update performed after the first boot plus changing the SELinux from "Enforce" to "Permisive" so I could configure my wireless card.

Here is the yum.log showing the update performed after my first boot after installation.

Code:
[papa@luisraul yum.repos.d]$ sudo cat /var/log/yum.log
May 25 08:40:03 Updated: libselinux-2.0.64-2.fc9.i386
May 25 08:40:08 Updated: coreutils-6.10-23.fc9.i386
May 25 08:40:08 Updated: audit-libs-1.7.3-1.fc9.i386
May 25 08:40:09 Updated: e2fsprogs-libs-1.40.8-3.fc9.i386
May 25 08:40:12 Updated: 2:shadow-utils-4.1.1-2.fc9.i386
May 25 08:40:13 Updated: gnutls-2.0.4-3.fc9.i386
May 25 08:40:13 Updated: 1:cups-libs-1.3.7-2.fc9.i386
May 25 08:40:13 Updated: hal-libs-0.5.11-1.fc9.i386
May 25 08:40:17 Updated: gnome-desktop-2.22.1-5.fc9.i386
May 25 08:40:17 Updated: gnome-panel-libs-2.22.1.3-2.fc9.i386
May 25 08:40:18 Updated: imsettings-libs-0.99.6-4.fc9.i386
May 25 08:40:19 Updated: system-config-printer-libs-0.7.82.3-2.fc9.i386
May 25 08:40:20 Updated: paps-libs-0.6.8-6.fc9.i386
May 25 08:40:23 Updated: poppler-0.8.1-1.fc9.i386
May 25 08:41:00 Updated: libgweather-2.22.1.1-3.fc9.i386
May 25 08:41:01 Updated: paps-0.6.8-6.fc9.i386
May 25 08:41:24 Updated: gnome-settings-daemon-2.22.1-1.2008.03.26.8.fc9.i386
May 25 08:41:26 Updated: e2fsprogs-1.40.8-3.fc9.i386
May 25 08:41:27 Updated: audit-libs-python-1.7.3-1.fc9.i386
May 25 08:41:27 Updated: libselinux-python-2.0.64-2.fc9.i386
May 25 08:41:28 Updated: iproute-2.6.25-1.fc9.i386
May 25 08:41:33 Updated: initscripts-8.76.2-1.i386
May 25 08:41:39 Updated: policycoreutils-2.0.47-2.fc9.i386
May 25 08:41:50 Updated: 1:cups-1.3.7-2.fc9.i386
May 25 08:41:50 Updated: poppler-glib-0.8.1-1.fc9.i386
May 25 08:41:51 Updated: imsettings-0.99.6-4.fc9.i386
May 25 08:41:53 Installed: setools-libs-3.3.4-1.fc9.i386
May 25 08:41:54 Installed: setools-console-3.3.4-1.fc9.i386
May 25 08:41:55 Updated: lzo-2.02-5.fc9.i386
May 25 08:41:56 Updated: gnome-spell-1.0.8-5.fc9.i386
May 25 08:41:56 Updated: 1:libvorbis-1.2.0-4.fc9.i386
May 25 08:41:59 Updated: libxslt-1.1.24-1.fc9.i386
May 25 08:41:59 Updated: exempi-2.0.1-1.fc9.i386
May 25 08:42:00 Updated: im-chooser-0.99.6-4.fc9.i386
May 25 08:42:43 Installed: kernel-2.6.25.3-18.fc9.i686
May 25 08:43:23 Updated: gnome-panel-2.22.1.3-2.fc9.i386
May 25 08:43:25 Updated: audit-1.7.3-1.fc9.i386
May 25 08:43:27 Updated: pycairo-1.4.12-3.fc9.i386
May 25 08:44:11 Updated: 1:gnome-games-2.22.1.1-5.fc9.i386
May 25 08:44:14 Updated: python-numeric-24.2-11.fc9.i386
May 25 08:44:15 Updated: rsh-0.17-50.fc9.i386
May 25 08:44:16 Updated: gdb-6.8-5.fc9.i386
May 25 08:44:17 Updated: xorg-x11-drv-savage-2.2.0-2.fc9.i386
May 25 08:44:18 Updated: xterm-235-1.fc9.i386
May 25 08:44:18 Updated: xorg-x11-drv-ati-6.8.0-14.fc9.i386
May 25 08:44:23 Updated: ppp-2.4.4-7.fc9.i386
May 25 08:44:30 Updated: selinux-policy-3.3.1-51.fc9.noarch
May 25 08:45:21 Updated: selinux-policy-targeted-3.3.1-51.fc9.noarch
May 25 08:45:24 Updated: policycoreutils-gui-2.0.47-2.fc9.i386
May 25 08:45:26 Updated: system-config-printer-0.7.82.3-2.fc9.i386
May 25 08:45:27 Updated: python-urlgrabber-3.0.0-7.fc9.noarch
May 25 08:45:39 Updated: fonts-japanese-0.20061016-13.fc9.noarch
May 25 08:45:50 Updated: fedora-release-notes-9.0.1-1.noarch
May 25 08:45:51 Updated: hal-info-20080508-1.fc9.noarch
May 25 08:45:56 Updated: hal-0.5.11-1.fc9.i386
May 25 08:46:25 Updated: 1:gdm-2.22.0-5.fc9.i386
May 25 08:46:26 Updated: 1:gdm-user-switch-applet-2.22.0-5.fc9.i386
May 25 08:46:27 Updated: hal-cups-utils-0.6.16-4.fc9.i386
May 25 08:47:15 Installed: kernel-2.6.25.3-18.fc9.i686
And just in case it's relevant, here is my current kernel

Code:
[papa@luisraul ~]$ uname -a
Linux luisraul 2.6.25.3-18.fc9.i686 #1 SMP Tue May 13 05:38:53 EDT 2008 i686 i686 i386 GNU/Linux
Thanks

Last edited by rarsa; 06-01-2008 at 09:43 PM.
 
Old 06-01-2008, 09:57 PM   #5
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Original Poster
Rep: Reputation: 31
Solved

I rebooted the computer and yum is working again.

Maybe Fedora had to do something on first boot after upgrading the kernel last time.
 
Old 06-09-2008, 11:22 AM   #6
lonehacker
LQ Newbie
 
Registered: Sep 2007
Distribution: Debian
Posts: 6

Rep: Reputation: 0
If anything (yum or otherwise) hangs again, use the following to diagnose the problem.
1. strace -f ls -l
This traces kernel system calls. The -f causes to to also trace sub-processes started with fork/exec. You can restrict the output; see 'man strace'.
2. ltrace
This traces C library function calls. More useful for debugging specific applications.
3. If everything freezes, use the alt-sysrq key combinations, if they're enabled in your kernel. Google for those or see linux/Documentation/sysrq.txt.
 
Old 06-09-2008, 12:36 PM   #7
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Original Poster
Rep: Reputation: 31
Thank you for this information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference betweenn "yum install" and "yum update" john lee Linux - Newbie 1 02-11-2008 11:26 PM
"mounting smb filesystem" freezes at startup process on Mandrake 10.0 checho4 Linux - Networking 1 02-19-2007 04:52 PM
Huge log file grow since "yum update" on 29 April cubensys Fedora 1 05-21-2006 06:34 AM
boot process freezes at "Probing IDE interface ide0..." drowstar Mandriva 8 11-03-2004 01:43 AM
Update Fedora2 using "yum update" problem chinaundead Fedora 9 04-27-2004 09:25 AM


All times are GMT -5. The time now is 12:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration