nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Reinstalling userland only (without taking X11 down) (http://www.nvnews.net/vbulletin/showthread.php?t=133570)

uOpt 05-27-09 11:26 AM

Reinstalling userland only (without taking X11 down)
 
I need to reinstall the userland parts of the nvidia drivers, namely the *.so files.

(An OS upgrade overwrote some of them).

I want to do so without taking the X11 server (which still works fine because it was started when the NVidia stuff was intact) down.

This should be easy using this commandline:
Code:

NVIDIA-Linux-x86_64-173.14.18-pkg2.run --expert \
  --no-precompiled-interface \
  --accept-license --no-questions \
  --no-x-check \
  --no-kernel-module

But it isn't. Although I told the drivers to not mess with the kernel module, the install program still aborts because the module is loaded.

I can't seem to find an option to just install the userland.

This looks like a bug to me, I think the --no-kernel-module option should also ignore whether a module is currently loaded or not.

I will also need this "userland-only" option in the future to update chroots. I have a number of chroots, some of them I want to be able to use X11 with DRI. Obviously, when running the NVidia drivers in a chroot you can't have it do anything but userland updates.

Dragoran 05-27-09 12:06 PM

Re: Reinstalling userland only (without taking X11 down)
 
Extract the archive and copy the files by hand.

uOpt 05-27-09 12:36 PM

Re: Reinstalling userland only (without taking X11 down)
 
Quote:

Originally Posted by Dragoran (Post 2016384)
Extract the archive and copy the files by hand.

That doesn't quite work since you miss all the symlinks and the location for the 32 bit versions and all the other stuff that is done by the install program at runtime. The package only contains the very lowest level of actual *.so files. It's not like an rpm where `rpm2cpio foo.rom | cpio -di` gets the job done in an emergency.

The install program used to be a shellscript IIRC, but now it's an ELF binary and I can't seem to find a way to make it think the modules isn't already loaded (nor, as I said, to make it not care).

AaronP 05-27-09 04:04 PM

Re: Reinstalling userland only (without taking X11 down)
 
That's a pretty uncommon use case, so I don't think we can justify spending time on this. Feel free to send us a patch, though.

http://cgit.freedesktop.org/~aplattn...dia-installer/

nevion 05-28-09 06:43 AM

Re: Reinstalling userland only (without taking X11 down)
 
Happened to me all the time on ubuntu for a few years (there are numerious people who bitched about it in those times, it's come up here before too), it really liked installing its crud and overwriting your files when installing from the nvidia driver. A bit out dated but oh how I wished I could do it then. Not as useful now as then but when opensuse upgrades an xlib component/mesa, it'd still nice to be able to reinstall without killing x/session/complete driver reinstall.


All times are GMT -5. The time now is 11:07 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.