package bbswitch-dkms 0.7-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 3

Bug #1383515 reported by MoGa on 2014-10-20
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
bbswitch (Ubuntu)
High
Unassigned
neutron-snabbswitch (Ubuntu)
Undecided
Unassigned

Bug Description

This happened after updating to new kernel through the update manager.
It randomly appeared.

1) $ lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
==============

2) $ apt-cache policy bbswitch-dkms
bbswitch-dkms:
  Installed: 0.7-2ubuntu1
  Candidate: 0.7-2ubuntu1
  Version table:
 *** 0.7-2ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status
====================

3) Expected:
Not to produce errors when updating kernel
==========================

4) What happened:
Random report error message
===========================

Also This maybe related:

when I do
$ sudo apt-get autoremove

I get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-331 (331.89-0ubuntu5) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-331-331.89 DKMS files...
Loading new nvidia-331-331.89 DKMS files...
Error! DKMS tree already contains: nvidia-331-331.89
You cannot add the same module/version combo more than once.
dpkg: error processing package nvidia-331 (--configure):
 subprocess installed post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of nvidia-331-uvm:
 nvidia-331-uvm depends on nvidia-331 (>= 331.89); however:
  Package nvidia-331 is not configured yet.

dpkg: error processing package nvidia-331-uvm (--configure):
 dependency problems - leaving unconfigured
Setting up bbswitch-dkms (0.7-2ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Removing old bbswitch-0.7 DKMS files...
Loading new bbswitch-0.7 DKMS files...
Error! DKMS tree already contains: bbswitch-0.7
You cannot add the same module/version combo more than once.
dpkg: error processing package bbswitch-dkms (--configure):
 subprocess installed post-installation script returned error exit status 3
dpkg: dependency problems prevent configuration of nvidia-prime:
 nvidia-prime depends on bbswitch-dkms; however:
  Package bbswitch-dkms is not configured yet.

dpkg: error processing package nvidia-prime (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.103ubuntu8) ...
No apport report written because MaxReports is reached already
                                                              update-initramfs: Generating /boot/initrd.img-3.16.0-23-generic
Errors were encountered while processing:
 nvidia-331
 nvidia-331-uvm
 bbswitch-dkms
 nvidia-prime
E: Sub-process /usr/bin/dpkg returned an error code (1)
------

My nvidia drivers works really good, and I have no drivers issues. I tried to purge nvidia drivers reboot then install them from the "Additional Drivers" but I still have this issue appear when I run apt-get.

ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: bbswitch-dkms 0.7-2ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-23.30-generic 3.16.4
Uname: Linux 3.16.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu7
Architecture: amd64
Date: Sat Oct 18 22:48:54 2014
DuplicateSignature: package:bbswitch-dkms:0.7-2ubuntu1:subprocess installed post-installation script returned error exit status 3
ErrorMessage: subprocess installed post-installation script returned error exit status 3
InstallationDate: Installed on 2014-09-28 (22 days ago)
InstallationMedia: Ubuntu MATE 14.10 "Utopic Unicorn" - beta2 amd64 (20140925)
SourcePackage: bbswitch
Title: package bbswitch-dkms 0.7-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 3
UpgradeStatus: No upgrade log present (probably fresh install)

MoGa (mr-3sool) wrote :
description: updated
description: updated
tags: removed: need-duplicate-check
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bbswitch (Ubuntu):
status: New → Confirmed
Panchal Sagar (panchalsag) wrote :

Same With me

Error! DKMS tree already contains: bbswitch-0.7
You cannot add the same module/version combo more than once.

Changed in bbswitch (Ubuntu):
importance: Undecided → High
Peter Wu (lekensteyn) wrote :

Something broke in the past and affected the current installation. Please try these commands in order to remove the bbswitch module and continue the installation through apt:

    sudo dkms remove -m dkms -v 0.7 --all
    sudo apt-get install -f

Now you should see bbswitch when running this command:

    dkms status

If not, reinstall bbswitch:

    sudo apt-get install --reinstall bbswitch-dkms

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in neutron-snabbswitch (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers