Finally have purged all the nvidia-prime.* inside /var/lib/dpkg/info/ and /etc/init/ to be able to remove nvidia-prime package.
note: as gdm is now used due to lightdm is actually broken (but still installed), i wonder about the "start with lightdm" inside /etc/init /nvidia-prime setting; should it also propose "gdm" or/and else as a fallback ? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu. https://bugs.launchpad.net/bugs/1366284 Title: Failed to issue method call: Unit nvidia-prime.service failed to load: No such file or directory. Status in “nvidia-graphics-drivers-331” package in Ubuntu: New Bug description: Utopic i386 with gtx 750 and q9550 (no builtin gpu here) using systemd-boot Follow up lp:1365336 nvidia-331 package error about nvidia-prime at build time: oem@u32:~$ sudo apt-get install --reinstall nvidia-331 [sudo] password for oem: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/27,7 MB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 216738 files and directories currently installed.) Preparing to unpack .../nvidia-331_331.89-0ubuntu3_i386.deb ... Removing all DKMS Modules Done. Unpacking nvidia-331 (331.89-0ubuntu3) over (331.89-0ubuntu3) ... Processing triggers for man-db (2.6.7.1-1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up nvidia-prime (0.6.6) ... Failed to issue method call: Unit nvidia-prime.service failed to load: No such file or directory. invoke-rc.d: initscript nvidia-prime, action "start" failed. dpkg: error processing package nvidia-prime (--configure): subprocess installed post-installation script returned error exit status 6 Setting up nvidia-331 (331.89-0ubuntu3) ... update-initramfs: deferring update (trigger activated) INFO:Enable nvidia-331 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude Loading new nvidia-331-331.89 DKMS files... Building only for 3.16.0-13-generic Building for architecture i686 Building initial module for 3.16.0-13-generic Done. nvidia_331: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.16.0-13-generic/updates/dkms/ depmod.... DKMS: install completed. Processing triggers for initramfs-tools (0.103ubuntu8) ... update-initramfs: Generating /boot/initrd.img-3.16.0-13-generic Errors were encountered while processing: nvidia-prime E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: nvidia-331 331.89-0ubuntu3 ProcVersionSignature: Ubuntu 3.16.0-13.19-generic 3.16.1 Uname: Linux 3.16.0-13-generic i686 NonfreeKernelModules: nvidia ApportVersion: 2.14.7-0ubuntu2 Architecture: i386 CurrentDesktop: GNOME Date: Sat Sep 6 10:52:02 2014 SourcePackage: nvidia-graphics-drivers-331 UpgradeStatus: No upgrade log present (probably fresh install) Note: uninstalling the faulty nvidia-prime package does not let booting with nvidia (jockey fails to find nvidia driver) and then 'nouveau' is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331/+bug/1366284/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp