Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  glx-alternative-nvidia upgrade error  (Read 5710 times)

Offline terroreek

  • User
  • Posts: 202
glx-alternative-nvidia upgrade error
« 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. 

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: glx-alternative-nvidia upgrade error
« Reply #1 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.
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)

Offline terroreek

  • User
  • Posts: 202
Re: glx-alternative-nvidia upgrade error
« Reply #2 on: 2015/10/19, 14:39:38 »
Sorry Melmarker,

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

Code: [Select]
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. 

Offline michaa7

  • User
  • Posts: 2.298
Re: glx-alternative-nvidia upgrade error
« Reply #3 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
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Evilakos

  • Guest
Re: glx-alternative-nvidia upgrade error
« Reply #4 on: 2015/10/21, 16:30:44 »
had the same issue. I upgraded some packages(nvidia driver related) and it got fixed.

Offline terroreek

  • User
  • Posts: 202
Re: glx-alternative-nvidia upgrade error
« Reply #5 on: 2015/10/22, 04:05:27 »
Hi All,

Still getting the same error;

Code: [Select]
update-alternatives: error: alternative link /etc/modprobe.d/nvidia.conf is already managed by nvidia
The following nvidia related packages are pending upgrade

Code: [Select]
glx-alternative-mesa glx-alternative-nvidia glx-diversions nvidia-installer-cleanup nvidia-kernel-common nvidia-support

The nvidia-driver I have installed installed;
Code: [Select]
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

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.938
Re: glx-alternative-nvidia upgrade error
« Reply #6 on: 2015/10/22, 08:44:29 »
Install nvidia-driver from debian/experimental and the error will be gone.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline terroreek

  • User
  • Posts: 202
Re: glx-alternative-nvidia upgrade error
« Reply #7 on: 2015/10/24, 16:59:02 »
Install nvidia-driver from debian/experimental and the error will be gone.

Did this last night it worked.