"nvidia-installer" downloads wrong version

When I run “nvidia-installer --latest” or “nvidia-installer --update”, it returns the following:

Currently installed version: 355.11; latest available version: 352.55;     
  latest driver file:
  ftp://download.nvidia.com/XFree86/Linux-x86_64/352.55/NVIDIA-Linux-x86_64- 
  352.55.run.

I have installed the current official release, but It seems that the app is checking the current long-lived branch release instead.

Is there any way to fix it?

Where did you get your “nvidia-installer” binary? I’m not aware of such an application from NVIDIA. If that’s a distro tool you’ll have to talk to your distro developers.

Hi.

I don’t have installed any package containing the word “nvidia” on my OS (Mageia, by the way), my proprietary driver comes from the official site (NVIDIA-Linux-x86_64-355.11.run).

I wasn’t aware of this application neither, but today I found it when writing “nvidia + TAB” from the terminal.

The --latest option and the latest.txt file it pulls its information from actually predates the long-lived / short-lived branch distinction. I maintain a slightly more flexible information file at [url]http://people.freedesktop.org/~aplattner/nvidia-versions[/url], but it’s unofficial and nvidia-installer doesn’t look at it to implement its --latest feature.

We discussed trying to beef up the driver update code in nvidia-installer, but honestly you’re probably better off using your Linux distribution’s driver packages instead.

To answer the other questions, nvidia-installer is extracted from the .run file and invoked to actually install the package, and it installs itself to /usr/bin. It implements the uninstaller and you can also invoke it with the --latest option to (supposedly) upgrade to the latest release. Its source code is available on GitHub.

Thanks for your detailed answer, aplattner.

Unfortunately my distro packages aren’t updated to the last version, and because of that I was very interested as soon as I found “nvidia-installer --update”.

It’s a shame that there isn’t a way to point the updater to the current official release.