glx-alternative-nvidia upgrade error

Started by terroreek, 2015/10/17, 05:44:47

Previous topic - Next topic

terroreek

Hi All,

I am getting an error with the glx-alternative-nvidia package version, 0.6.91+nmu1, from the siduction repos.  When I install it throws up a an error from dpkg about the install script exiting with error code -2.  Rebooting without upgrading the package properly causes the desktop to not load correctly. 

melmarker

new debian packages are in buildd-unstable and will hit sid with next sync

btw - thanks for the warning, please provide at least one useful inforation with the fact that a postinstall script is broken - like adressed driver etc.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

terroreek

Sorry Melmarker,

Tried to upgrade before I departed for the weekend.  The exact error I get is;

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up glx-alternative-nvidia (0.6.91+nmu1) ...
update-alternatives: error: alternative link /etc/modprobe.d/nvidia.conf is already managed by nvidia
dpkg: error processing package glx-alternative-nvidia (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
glx-alternative-nvidia


for now I just put glx-alternative-nvidia on hold, and was able to upgrade the rest of my system without issue. 

michaa7

This is really strange. I d-u-ed each of the last days and had no problems with glx-alternative-nvidia. But as I use a nvidia-legacy driver, I wonder whether or not there are packaging problems with the current driver? It seems this bug triggers not for all nvidia users.

Quote# apt-cache policy glx-alternative-nvidia
glx-alternative-nvidia:
  Installiert:           0.6.91+nmu1
  Installationskandidat: 0.6.91+nmu1
  Versionstabelle:
*** 0.6.91+nmu1 0
        500 ftp://ftp.uni-stuttgart.de/siduction/fixes/ unstable/contrib amd64 Packages
        100 /var/lib/dpkg/status
     0.6.91 0
        500 http://httpredir.debian.org/debian/ unstable/contrib amd64 Packages
     0.5.1 0
        500 http://http.debian.net/debian/ testing/contrib amd64 Packages
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Evilakos

had the same issue. I upgraded some packages(nvidia driver related) and it got fixed.

terroreek

Hi All,

Still getting the same error;


update-alternatives: error: alternative link /etc/modprobe.d/nvidia.conf is already managed by nvidia


The following nvidia related packages are pending upgrade


glx-alternative-mesa glx-alternative-nvidia glx-diversions nvidia-installer-cleanup nvidia-kernel-common nvidia-support


The nvidia-driver I have installed installed;

apt-cache policy nvidia-driver
nvidia-driver:
  Installed: 352.41-2.siduction.1
  Candidate: 352.41-2.siduction.1
  Version table:
*** 352.41-2.siduction.1 0
        100 /var/lib/dpkg/status
     340.93-5 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages

towo

Install nvidia-driver from debian/experimental and the error will be gone.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

terroreek

Quote from: towo on 2015/10/22, 08:44:29
Install nvidia-driver from debian/experimental and the error will be gone.

Did this last night it worked.