linux-image-2.6.32-11-generic 2.6.32-11.15 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code 2 ("elif" unexpected)

Bug #512661 reported by Valdas Šulinskas
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: dkms

Crashed on system update with Synaptic. Update is not successfully.

ProblemType: Package
Architecture: i386
Date: Tue Jan 26 08:06:56 2010
DistroRelease: Ubuntu 10.04
ErrorMessage: run-parts: /etc/kernel/postinst.d/dkms exited with return code 2
NonfreeKernelModules: nvidia
Package: linux-image-2.6.32-11-generic 2.6.32-11.15
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
SourcePackage: dkms
Title: package linux-image-2.6.32-11-generic 2.6.32-11.15 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code 2
Uname: Linux 2.6.32-10-generic i686

Related branches

Revision history for this message
Valdas Šulinskas (valdas-idomu) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.32-11-generic /boot/vmlinuz-2.6.32-11-generic
/usr/lib/dkms/dkms_autoinstaller: 142: Syntax error: "elif" unexpected
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 2

Changed in dkms (Ubuntu):
importance: Undecided → High
status: New → Confirmed
summary: - package linux-image-2.6.32-11-generic 2.6.32-11.15 failed to
- install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with
- return code 2
+ linux-image-2.6.32-11-generic 2.6.32-11.15 failed to install/upgrade:
+ run-parts: /etc/kernel/postinst.d/dkms exited with return code 2 ("elif"
+ unexpected)
Revision history for this message
Thierry Carrez (ttx) wrote :

This is using latest dkms 2.1.1.1-0ubuntu1

Revision history for this message
Thierry Carrez (ttx) wrote :

In /usr/lib/dkms/dkms_autoinstaller:
  if [ "$return_status" -eq 0 ]; then
  elif [ "$return_status" -eq 101 ]; then

This bug might have been uncovered by recent fix to bug 480055

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.1.1.1-0ubuntu3

---------------
dkms (2.1.1.1-0ubuntu3) lucid; urgency=low

  * Correct a minor shell error in dkms_autoinstaller (LP: #512661)
 -- Mario Limonciello <email address hidden> Tue, 26 Jan 2010 04:24:52 -0600

Changed in dkms (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.