LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora first update hangs on "Fetching rpm header: glibc-2.3.2-101.4" (https://www.linuxquestions.org/questions/fedora-35/fedora-first-update-hangs-on-fetching-rpm-header-glibc-2-3-2-101-4-a-157975/)

Darthomir 03-15-2004 10:36 AM

Fedora first update hangs on "Fetching rpm header: glibc-2.3.2-101.4"
 
Hello. I just activated my Internet connection that I get a message saying I have 75 updates available! So they tell me to connect to the Red Hat Network, I download "the new key" and so on, I click Ok (I let everything by default) there are two channels for the update, ok so I launch up2date but after a while, it hangs on "Fetching rpm header: glibc-2.3.2-101.4".
Can anyone help me!? It would be appreciated! Thx,
Max

THX75 03-15-2004 11:01 AM

It's most likely because you're using the "stock" Redhat Network settings and are trying to download the updates from Redhat, which can be slow as hell! It will take forever to update your system using the Redhat server. There's some articles at fedoranews.org that will show you how to speedup up2date by editing the server list to use mirrors.

I use "yum" to update my installation of Fedora. There's instructions fedoranews.org to speed it up to.

- THX

noeffred 03-15-2004 11:08 AM

you should use a mirror such as http://freshrpms.net

redhats servers tend to let the clients hang forever. nasty behavior, have to admit that.

Bomb187 03-15-2004 11:27 AM

I had the same problem. iIt was downloading slow, but i disconnected and re downloaded, and the speeds were fine. but the hang does happen. ill try giving that link a try.

Darthomir 03-15-2004 12:14 PM

Ok thanks alot because i was downloading at 10 kb.. takes forever! thx, ill try these links!
Max

Darthomir 03-15-2004 01:03 PM

OK I found that webpage telling me how to setup a mirror. I found my mirror, i wanna use yum or whatever but when they say I have to change the yum.conf file, its in readonly mode. I even logon as root, did a chmod ug+rw but no changes.. still in readonly mode. How can I access this file to change the baseurl in order to put my mirror? Thx alot,
Max

noeffred 03-15-2004 01:11 PM

If you're root, you should be able to overwrite the file no matter what. You sure you're logged in as root?

Darthomir 03-15-2004 01:54 PM

Ok thx.. that was stupid though!
Is there a gui interface than typing #yup ... ?
Thx alot
Max

Darthomir 03-15-2004 02:06 PM

Ok I try with the mirrors list there but none of them seems to work (I tried like 10 of them). I first type #yup check_update
then I can get:
retrygrab() failed for..
failover: out of servers to try..
550 headers: no such file / directory
..
is it the right way to use yum?
Thx,
Max

THX75 03-15-2004 03:50 PM

yum check-update

Additional Info

Here are the servers from my yum.conf

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os
ftp://linux.stanford.edu/pub/mirrors/fedora/linux/core/$releasever/$basearch/os
http://ftp.dulug.duke.edu/pub/fedora/linux/core/$releasever/$basearch/os
# http://fedora.redhat.com/releases/fedora-core-$releasever
#gpgcheck=1

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://mirrors.kernel.org/fedora/core/updates/$releasever/$basearch
ftp://linux.stanford.edu/pub/mirrors.../core/updates/$releasever/$basearch
http://speakeasy.rpmfind.net/linux/fedora/core/updates/$releasever/$basearch
http://ftp.dulug.duke.edu/pub/fedora.../core/updates/$releasever/$basearch
# http://fedora.redhat.com/updates/released/fedora-core-$releasever
#gpgcheck=1

Darthomir 03-15-2004 04:03 PM

Ok thx I'll try that in an hour.
Max

Darthomir 03-15-2004 05:06 PM

Once I have the headers, what do I do? I'm not going to install them one by one right? Do I type #yum update ? Or something else?
Thx,
Max
Btw, thx for your yum config, it works fine!

THX75 03-15-2004 09:46 PM

If you want to install all of the updates available for your installation, then you type "yum update". It should be okay to update everything at once.

I'd probably reboot after updating everything the first time because there's some updates to the xwindows.

You can also update by package or use wildcards. ie.) yum update xfree86*

Have fun!

- THX75

Darthomir 03-16-2004 09:22 AM

Ok thanks for the info.
I am trying to do the update this morning but it does not work: i get a 404 not found error when I do #yum update. Same error if I do again #yum check-update. I suppose the servers (all of them!??) are down? I have the same yum.conf as THX75.
I found some info there but it does not help more.
Thx for the help again,
Max

Darthomir 03-16-2004 06:05 PM

Ok.. now I just forgot about the yum.. and I used redhat network instead.. did some updates (along with the new yum version yah..) but thats it, the yum update has a "not valid key" so ok, skip that update. But when I did install these updates, it did try to install the yum update. So I got an error and everything start hanging. I press power off since I cannot do anything, then now when I reboot under linux I have no more GUI, even after pressing Y for the "disk check" I suppose. So ok I can connect, but under a "terminal" form, no more GUI, no more browser for Internet! AH!! How can I get these things back!! :-)
Thx alot,
Max

AND oh, just before I log in (i have to type enter first) i get this message:
Id "x" respawning too fast: disabled for 5 minutes

Darthomir 03-19-2004 11:24 AM

Ok after browing the web, I've been able to switch to run level 3, so I dont have this respawning too fast message. I see that there are some errors in the kernel, but I dont know what to do for that.
So now i'm running under level 3, after all the boot process, I have the login prompt and I am able to login under my user accounts (and root) and I see all the files and can access them. Everything is fine! Except no more GUI! Gone ! Is there a way I can get GUI back (like GNOME and KDE) ?
Thx!
Max

flysideways 03-20-2004 01:19 PM

Oops, someone else will have to help you get X back.

I am using ud2date on my FC1 install. I changed the mirrors per the instructions on http://www.fedora.us/wiki/FedoraHOWTO

I am sticking with the stable and also added the line[ yum fedora-us-updates-fc1 http://download.fedora.us/fedora/fed...86/yum/updates ]so as to include those update packages.

I suppose the really adventurous are using the testing and unstable also but....

Using the up2date gives you an icon on the taskbar and the rest is pretty much click and drool, the way I like it.

Darthomir 03-20-2004 05:11 PM

Hey, thx for the info!
Well if I'm able to get it back, well I'll have a look at these urls! In the mean time, I stick to windows! But monday I'll try the suggestion of putting the first CD and try to fix it with it by upgrading.. If it works that would be fine, otherwise.. maybe a complete reinstall but I don't wanna think about it now!
Max

Darthomir 03-23-2004 11:10 AM

Ok I tried to "upgrade" with the CDs but nothing much changed. So I just reinstalled it over and its works as before! Now I done multiple partitions such as home in case this crash again!
Max

carbonlogic 03-23-2004 02:45 PM

I was having the same issue with up2date hanging at random places and xfer speed never got above 8kB/sec.. I used apt and it worked great.

Download the FC1 Apt RPM:
http://ftp.freshrpms.net/pub/freshrp....1.fr.i386.rpm

Then:
% rpm -Uvh apt-0.5.15cnc3-0.1.fr.i386.rpm

% apt-get update

% apt-get dist-upgrade

---
http://freshrpms.net/apt/

Darthomir 03-23-2004 04:36 PM

Thx carbonlogic for ur message.
I started a yum list to get the headers, and I dont know why but my internet was so unstable (had to go deactivate/activate my eth0 every 5 minutes..!) anyways during that yum update, my computer froze AGAIN! this was like the 3-4th time today! It never froze before (well once when I lost my GUI) so I dont know why its crashing for no special reason! I have to do a hard restart, check everything, almost everything is fine I guess and crash after a while! Its not Windows !! Common!
What is the possible source of problem? Cause after the bug I encountered, I repartitioned over it with Fedora (DRUID I think), made a /boot, /, /home and a swap partitions, reinstall fully Fedora Core 1 and everything runs fine. Except I crash all the time..
Thx!
Max

Darthomir 03-23-2004 09:15 PM

Ok I hope this thread is close to an end ;-) I did change the file used for up2date, did 1 update instead of the 83 announced under the redhat servers (dunno why!??) and now I did play with my eth0 (maybe thats the source of all the crashes..!) running AMSN, having fun under linux, even having a weather report telling me its -4C, so all is perfect now ;-)
Happy Linux Member!
Max

Darthomir 03-24-2004 07:52 PM

OK one day after and only happy experiences on Fedora ;-) Not bad uh!
Following the information (along with the urls you all gave me), I did set up correctly the file source used for up2date, saw again the 83 updates available, did in 3 shot a total of 64 updates, I encountered NO problems at all!
Now when I boot, I see a new entry in the grub loader. I thinks its a newer version of the kernel, correct me if I am wrong.
Do I need to keep the older one? If not, how can I remove it (must be a line into a file right) ?
Thx!
Thats almost it for this thread, since it was for up2date and that now it is working perfect! Thx again to everyone!

Darthomir 03-24-2004 08:48 PM

Ok just edited the grub.conf, comment out the older kernel, I think its fine!

tktim 04-10-2004 11:53 AM

Check this out before you edited GRUB menu.

http://wiki.linuxquestions.org/wiki/GRUB_Menu


All times are GMT -5. The time now is 08:23 AM.