Fedora 8: select the repositories carefully

November 15th, 2007 | Tagged as ,

A week ago, I installed Fedora 8, from scratch. The installation went fine, I customized the system to my liking, using the default GUI. After a week, however, I could not initialize an X session anymore. And the problem occurred straight after I downloaded the package updates as the system prompted me to do.

The X session would not initialize because of the following error:

X.Org X Server 1.4.0.1
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.20-1.3002.fc6xen i686
Current Operating System: Linux tank.matrix.local 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 21:41:26 EST 2007 i686
Build Date: 13 November 2007 05:47:17PM
Build ID: xorg-x11-server 1.4.99.1-0.10.fc9
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Thu Nov 15 22:31:35 2007
(==) Using config file: “/etc/X11/xorg.conf”
dlopen: /usr/lib/xorg/modules/drivers//nvidia_drv.so: undefined symbol: xf86GetPciVideoInfo
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so
(EE) Failed to load module “nvidia” (loader failed, 7)
(EE) No drivers available.Fatal server error:
no screens found
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error

I immediately thought that the update broke something related to Nvidia driver, see the undefined symbol above. So I re-installed the driver:

[ikendra@tank][~] sudo yum remove kmod-nvidia
[ikendra@tank][~] sudo yum install kmod-nvidia

This didn’t help and I started to suspect Fedora from releasing a broken update. However, because I have never seen such a major problem after Fedora update, I decided to log on IRC to discuss this with competent people. On the #fedora-qa channel I chatted with a friendly and helpful tester from Fedora, Will Woods. After a few questions, he found the root cause of the problem: I had the fedora-development repository enabled which means that the packages from current development head repository were downloaded. This was easy to be confirmed by issuing

[ikendra@tank][~] cat /var/log/yum.log | grep “fc9″


So it was entirely my mistake. Will asked me, what made me enable the repository at the first place. Good question! I confused fedora-development with fedora-updates-testing – I was interested in the test updates not realizing that I enabled the Rawhide repository. Although I was entirely aware of the fact that the Rawhide cannot be considered stable, I wasn’t aware of the fact I was actually enabling it and the UI did not warn me:

Fedora 8 Repository Manager

I tried to save the day by disabling the fedora-development repository and issuing…

[ikendra@tank][~] sudo yum install yum-utils
[ikendra@tank][~] package-cleanup –orphans


…to get the list of all fc9 package installed in order to remove them and re-install the fc8 packages – the list was however too long, I will have to reinstall the system. I was glad that Will acknowledged the fact that the repository name “fedora-development” was confusing. It was a good school for me, too, but I could have imagined to spend the evening in a different way! ;)

6 Comments

CJ
November 19th, 2007 at 13:49

Good article… unfortunately, I read it too late :(

Maybe a popup that said “Hey, dumba$$; are you really sure you want to hose your system” would have helped me see the way. Oh well… I’m reinstalling.

Alberto Paris
November 27th, 2007 at 15:46

Good article, indeed. I also fell for the “let’s click on all repositories” game, and had to reinstall my FC8 system :(

I think Fedora should mark the “dangerous” repositories so you can only check them if you are ABSOLUTELY sure of what you are doing ….

I installed FC8, added all repositories, did a ‘yum update -y’ and went to sleep … This morning I had no graphic environment :~( … Tried to play around with the X configuration files, but until I found this article, I had no clue what was going on ….

If you are reading this, like for us, it is probably a little too late. (When I checked the packages installed belonging to fc9, I got 498 of them, … :S )

Oh, well ….. Happy reinstalling ;)

GenericHippy
November 28th, 2007 at 20:46

I’ve been looking and looking–Can anyone tell me how to safely change the repository information so I can access nearer servers every time?
I tried on my own and, yes, didn’t make a backup of the .repo and had to re-install.

I did google for this, but my old eyes get tired after a few pages.

Josh
January 4th, 2008 at 16:12

Thanks for the info, it was very helpful!

Saurabh Tiwari
February 4th, 2008 at 17:04

by mistake i have clicked on all the repositories can anyone please tell me what were the default checks. i want to restore the original settings again.
So any one having any info about this please mail to me on saurabhtiwaririshi@gmail.com

Casper van Dijk
June 15th, 2008 at 13:43

Good article, unfortunately it was already too late for me, which means I already installed the distro again

Your comment

You can post anonymous comments. Some tags are allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>