← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 886560] [NEW] nvidia-current doesn't check if /usr/share/applications exists

 

Public bug reported:

nvidia-current doesn't check if /usr/share/applications exists. It runs
update-alternatives to set ubuntu-nvidia-settings.desktop, but this
assumes  /usr/share/applications already exists. This happens when to
packages that use this path are installed. This happens when you have
empty Ubntu server system or a empty debootstrap chroot.

Error:

Setting up nvidia-current (280.13-0ubuntu6) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-alternatives: error: unable to make /usr/share/applications/ubuntu-nvidia-settings.desktop.dpkg-tmp a symlink to /etc/alternatives/x86_64-linux-gnu_nvidia_desktop: No such file or directory
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 2


How to reproduce: run apt-get install nvidia-graphics-drivers in an empty debootstrap chroot.

** Affects: nvidia-graphics-drivers (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/886560

Title:
  nvidia-current doesn't check if /usr/share/applications exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/886560/+subscriptions


Follow ups

References