← Back to team overview

desktop-packages team mailing list archive

[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script

 

Actually, you probably want "display-manager.service" instead of
"lightdm.service" so that this also works with gdm and friends.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1312255

Title:
  [systemd] nvidia-prime package needs systemd unit or init.d script

Status in nvidia-prime package in Ubuntu:
  Triaged

Bug description:
  With systemd as pid 1

  nvidia-prime package is pulled as a dependency of nvidia-331-updates package.
  When I tried to install the nvidia-331-updates package it gave me an error of installation on nvidia-prime due to

  "initctl: Unable to connect to Upstart: Failed to connect to socket
  /com/ubuntu/upstart: Connection refused"

  The full terminal stdout is

  Setting up nvidia-prime (0.6.2) ...
  initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
  invoke-rc.d: unknown initscript, /etc/init.d/nvidia-prime not found.
  dpkg: error processing package nvidia-prime (--configure):
  subprocess installed post-installation script returned error exit status 100

  and at the end

  Errors were encountered while processing:
   nvidia-prime
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  This problem didn't prevent the nvidia-331-updates package from being
  installed. Nvidia driver installed properly and have worked as it
  should after a reboot, but the nvidia-prime "didn't make it".

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: nvidia-prime 0.6.2
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Apr 24 18:37:04 2014
  InstallationDate: Installed on 2014-03-24 (31 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140323)
  SourcePackage: nvidia-prime
  UpgradeStatus: No upgrade log present (probably fresh install)

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