Package: dkms Version: 2.2.0.3-1.2 Severity: normal Dear Maintainer,
while updating the system to the newest version of linux-headers in unstable (linux-headers-3.8-1-amd64), dkms failed to run the package hooks for dkms. The script in /usr/share/apport/package-hooks/dkms_packages.py failed because it imports the python module apport, which is, however, not installed on the machine. Installing python-apport and applying the following patch --- dkms_packages.py 2013-05-06 20:02:05.102478775 +0000 +++ /usr/share/apport/package-hooks/dkms_packages.py 2013-05-06 20:00:26.940936271 +0000 @@ -92,4 +92,4 @@ if options.kernel: report['DKMSKernelVersion'] = options.kernel -report.write(open(apport.fileutils.make_report_path(report), 'w')) +report.write(open(apport.fileutils.make_report_path(report), 'wb')) fixes the problem. Best, Matthias *** Please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action?linux-headers-3.8-1-amd64 * What outcome did you expect instead? *** End of the template - remove these lines *** -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dkms depends on: ii build-essential 11.6 ii coreutils 8.20-3 ii dpkg-dev 1.16.10 ii gcc 4:4.7.2-1 ii make 3.81-8.2 ii module-init-tools 9-3 ii patch 2.6.1-3 Versions of packages dkms recommends: ii fakeroot 1.18.4-2 ii linux-headers-3.2.0-4-amd64 [linux-headers] 3.2.41-2 ii linux-headers-3.8-1-amd64 [linux-headers] 3.8.11-1 ii linux-headers-amd64 [linux-headers] 3.8+47 ii linux-image-3.2.0-4-amd64 [linux-image] 3.2.41-2 ii linux-image-3.8-1-amd64 [linux-image] 3.8.11-1 ii menu 2.1.46 ii sudo 1.8.5p2-1+nmu1 dkms suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org