PDA

View Full Version : CentOS xorg update, now errors


KirkD
29th November 2010, 11:42 PM
When I came to work this morning, I saw a list of updates available on my CentOS system (CentOS 5.5) which I promptly installed. Now, some of the software that I use is failing due to what appear to be drawing functions. My guess is that there is an incompatibility with the latest xorg updated.

Is there a simple way to move back to my previous xorg version?

-kirk

glennzo
30th November 2010, 01:15 AM
Two that come to mind. You can use yum downgrade or you can use yum history undo #xx.

yum downgrade xorg-xxx-xxx-xxx
yum history list
yum history info xx
yum history undo xx

KirkD
30th November 2010, 01:24 AM
Excellent options, both of them! 'yum downgrade' seems to give the right results, but I cannot seem to get 'yum history list' to generate an output apart from the usage text. Am I being too literal in reading this?

Thank you!!

smr54
30th November 2010, 03:56 AM
yum history list gave me a few packges that conflicted--maybe it's changed in Fedora, or we're both interpreting the intrepid Glenn's words too literally.

However, after your post, I hesitated on doing an upgrade, especially when I saw that it included a new kernel on my machine with an NVidia card. However, I went ahead and did it, rebooted, and all was well.

I use priorities to make sure rpmforge doesn't overwrite things, which might help. (And don't use Gnome, which probably helps more.) :)

glennzo
30th November 2010, 09:25 AM
Now that I think of it, and have had a chance to boot my virtual CentOS 5.5 installation, yum doesn't provide a history feature with the version included.

[root@virtcentos5 ~># yum --version
3.2.22
Installed: rpm-4.4.2.3-20.el5_5.1.i386 at 2010-11-18 15:22
Built : [] at 2010-09-08 15:11
Committed: Jindrich Novy <jnovy@redhat.com> at 2010-08-30 22:00

Installed: yum-3.2.22-26.el5.centos.noarch at 2010-11-18 14:57
Built : [] at 2010-04-04 19:48
Committed: Karanbir Singh <kbsingh@centos.org> at 2010-04-04 22:00

Installed: yum-metadata-parser-1.1.2-3.el5.centos.i386 at 2010-11-18 14:53
Built : [] at 2009-08-27 16:20
Committed: James Antill <james.antill@redhat.com> at 2009-04-06 22:00

KirkD
1st December 2010, 07:31 PM
Yeah, CentOS is a bit out of date on many, many things. To get around the history deficiency, I used the yum.log file.

I had gone back and removed or downgraded all the packages that were installed on the day the problem arose. Only the xorg seemed to make any sense, but I did them all anyway. That did not fix the problem, so I put them all back to the updated version. After thinking about it a bit further, I realized that all the errors I was getting seemed to be related to OpenGL. The nVidia driver uses xorg libraries and OpenGL libraries, so it seemed logical that the driver's OpenGL libraries weren't compatible with the new xorg version. A rebuild of the nVidia driver solved the problem.

Whew!

Czech Republic - Heusden Photos on Instagram - Macas Travel Photos