← Back to team overview

kernel-packages team mailing list archive

[Bug 1171344] Re: ImportError: No module named apport

 

Hi,

I am in need to install the ALPS psmouse driver and solution is provided by Dave (see bug 1041916).
But, following instructions i am unable to run dkms properly. I keep getting the following message

make KERNELRELEASE=3.8.0-19-generic -C /lib/modules/3.8.0-19-generic/build M=/var/lib/dkms/psmouse/alps-1.3/build/src psmouse.ko....(bad exit status: 2)
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
    import apport
ImportError: No module named apport
Error! Bad return status for module build on kernel: 3.8.0-19-generic (x86_64)

I am running Raring.
Is there any way to update DKMS to the above released patch with out disturbing the stable release updates set for raring?

Thanks

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1171344

Title:
  ImportError: No module named apport

Status in “dkms” package in Ubuntu:
  Fix Released

Bug description:
  When trying to install a home-built dkms module:

  Traceback (most recent call last):
    File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
      import apport
  ImportError: No module named apport

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: dkms 2.2.0.3-1.1ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  CasperVersion: 1.330
  Date: Mon Apr 22 07:54:53 2013
  LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130421)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: dkms
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1171344/+subscriptions