Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: terroreek on 2015/10/17, 05:44:47

Title: glx-alternative-nvidia upgrade error
Post by: terroreek on 2015/10/17, 05:44:47
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. 
Title: Re: glx-alternative-nvidia upgrade error
Post by: melmarker on 2015/10/17, 08:30:31
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.
Title: Re: glx-alternative-nvidia upgrade error
Post by: terroreek on 2015/10/19, 14:39:38
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. 
Title: Re: glx-alternative-nvidia upgrade error
Post by: michaa7 on 2015/10/19, 18:23:54
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
Title: Re: glx-alternative-nvidia upgrade error
Post by: Evilakos on 2015/10/21, 16:30:44
had the same issue. I upgraded some packages(nvidia driver related) and it got fixed.
Title: Re: glx-alternative-nvidia upgrade error
Post by: terroreek on 2015/10/22, 04:05:27
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
Title: Re: glx-alternative-nvidia upgrade error
Post by: towo on 2015/10/22, 08:44:29
Install nvidia-driver from debian/experimental and the error will be gone.
Title: Re: glx-alternative-nvidia upgrade error
Post by: terroreek on 2015/10/24, 16:59:02
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.