LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2012, 12:01 PM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,489

Rep: Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662
Revert to pristine state after installing nvidia-driver?


Hi,

One of my boxes is a dual-boot buildbox for Slackware-13.37 and Slackware64-13.37. It has an NVidia GeForce 6150 graphic card, so I installed the nvidia-driver and nvidia-kernel packages from SlackBuilds.org

The nvidia-driver package contains 'nvidia-switch', a little command-line utility, to switch between libraries replaced by the proprietary driver package and those shipping with X.org.

Only this switch doesn't seem to revert my system to the old state. When trying to compile applications like wxGTK or Firefox ESR, I get complaints about a missing /usr/include/GL/glx.h, and the build exits.

Is there another way to restore my install, e. g. reinstall some of the X.org packages? But which one? I'm a bit lost here.
 
Old 09-08-2012, 12:16 PM   #2
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,489

Original Poster
Rep: Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662
Correct me if I'm wrong, but after grepping /var/log/packages for files in /usr/include/GL, I find the 'mesa' package. So this would be:

Code:
# cd /var/log/packages
# removepkg nvidia-*
# slackpkg reinstall mesa
Right?
 
Old 09-08-2012, 12:23 PM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,787

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
Reinstall mesa

EDIT: By the time I posted this I saw that you have it worked out already!

Last edited by ruario; 09-08-2012 at 12:24 PM.
 
Old 09-08-2012, 12:25 PM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,787

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
Quote:
Originally Posted by kikinovak View Post
Correct me if I'm wrong, but after grepping /var/log/packages for files in /usr/include/GL, I find the 'mesa' package. So this would be:

Code:
# cd /var/log/packages
# removepkg nvidia-*
# slackpkg reinstall mesa
Right?
Yep!
 
Old 09-08-2012, 12:39 PM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,787

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
FWIW, you could also have used slackpkg itself to check, like so:

Code:
slackpkg file-search "usr/include/GL/glx.h"
Also handy when you want to find out which (not currently installed package) would provide a particular file.

Or the old fashioned way:
Code:
wget -qO- http://mirrors.slackware.com/slackware/slackware-13.37/slackware/MANIFEST.bz2 | bzcat | grep -Fe '||   Package:' -e 'usr/include/GL/glx.h' | grep -vB1 '^|'
 
1 members found this post helpful.
Old 09-08-2012, 12:45 PM   #6
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,489

Original Poster
Rep: Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662Reputation: 662
Thanks for the help, ruario!

BTW, my approach was KISS:

Code:
# grep -R glx.h /var/log/packages
 
Old 09-08-2012, 12:51 PM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,787

Rep: Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799Reputation: 799
Quote:
Originally Posted by kikinovak View Post
Thanks for the help, ruario!

BTW, my approach was KISS:

Code:
# grep -R glx.h /var/log/packages
Yeah that works nicely in this particular case. My suggestion of using slackpkg or the manifest instead was because it would have worked even if you didn't have the package installed.
 
1 members found this post helpful.
  


Reply

Tags
nvidia, xorg


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
[SOLVED] installing nvidia driver I get: ./nvidia-installer can't find lord_didger Debian 18 02-25-2011 12:48 PM
Revert Ndiswrapper After Installing Wrong Driver on Ubuntu siliconpie Linux - Laptop and Netbook 1 12-11-2008 04:02 AM
How to revert to old i810 driver Laen Debian 3 11-20-2007 08:35 AM
LXer: App restores Linux desktops to pristine state LXer Syndicated Linux News 0 07-18-2007 07:16 AM
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM


All times are GMT -5. The time now is 05:36 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