Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-03-2009, 07:16 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
[SOLVED]Help me reinstall xorg

Using Ubuntu 9.04 on AMD64, and tried to install nVidia's beta 185 driver for my card, the GeForce 8400 GS (I do know that my card is supported by this version; this isn't a hardware issue) but after using the proprietary drivers dialog to install the driver, I rebooted to a terminal- since I didn't get a little message telling me that I needed to make a new xorg.conf, I did some looking around and it appears that xorg had been uninstalled. I tried installing xorg, and it conflicted with the package nvidia-glx-185. I tried to get rid of that but it wouldn't let me. I booted a livecd and chroot'd in so I could paste the exact error message. It is as follows:
Removing nvidia-glx-185 ...
dpkg-divert: error checking `/usr/lib/xorg/modules/extensions/': No such file or directory
dpkg: error processing nvidia-glx-185 (--remove):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
It won't let me install xorg with nvidia-glx-185 installed, but it won't let me uninstall that. So, what next?

I was able to uninstall nvidia-glx-185 by extracting a file called from the .deb for nvidia-glx-185 to the path it expected and trying to uninstall it. Then I installed ubuntu-desktop everything worked once more.

Last edited by charrah; 06-03-2009 at 08:09 PM. Reason: problem solved
Old 06-03-2009, 11:08 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,602

Rep: Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648
for the driver/installer it DOSE NOT replace your xorg1.5 It only replaces 2 opengl files( .so) and 2 headers but reinstalling your mesa and mesa-dev will take care of the .01% of programs that will not work with the nvidia opengl. ( my custom built Celestia 1.6 ( svn) is one of them )
To uninstall the .run driver run
su -   ( or sudo)
init 3 ( or telinit 3 , or /sbin/telinit 3 ) 
relogin in text as root
cd /to/where/the/
sh *.run --uninstall 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstall Slack's LILO after WIndows XP reinstall __spc__ Linux - Newbie 3 02-15-2009 09:04 AM
Xorg.conf file error when trying to load fedora or reinstall fedora shickidyshade Fedora 2 09-18-2008 11:02 PM
Sid Users - Beware of Xorg 7.3 (xserver-xorg-input-evdev) bug rickh Debian 4 10-24-2007 03:30 AM
how do I reinstall xorg SVwander Ubuntu 6 06-27-2007 05:22 PM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration