package alsa-base 1.0.19.dfsg-3ubuntu1 failed to install/upgrade: podproces pre-installation script zwrócił kod błędu 2

Bug #380571 reported by trylik
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
High
Unassigned

Bug Description

i was updateing the system (karmic)

ProblemType: Package
Architecture: i386
Card0.Amixer.info:
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981B at irq 17'
   Mixer name : 'Analog Devices AD1981B'
   Components : 'AC97a:41445374'
   Controls : 28
   Simple ctrls : 20
Date: Tue May 26 13:25:58 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: podproces pre-installation script zwrócił kod błędu 2
Package: alsa-base 1.0.19.dfsg-3ubuntu1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.30-5.6-generic
SourcePackage: alsa-driver
Title: package alsa-base 1.0.19.dfsg-3ubuntu1 failed to install/upgrade: podproces pre-installation script zwrócił kod błędu 2
Uname: Linux 2.6.30-5-generic i686

Revision history for this message
trylik (marek-nasionka) wrote :
Revision history for this message
Hew (hew) wrote :

Looks like alsa-base 1.0.20+dfsg-1ubuntu3 is uninstallable.

Changed in alsa-driver (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Hew (hew) wrote :

Bug 380565 seems to describe the same issue with alsa-base 1.0.20+dfsg-1ubuntu1, so perhaps this regression occurred with the 1.0.20 merge.

Revision history for this message
David McBride (david-mcbride) wrote :

I can confirm this error, and have identified the cause: there is a typo in the preinst script of this new package.

On my (English, 64-bit) system, I see:

Preparing to replace alsa-base 1.0.19.dfsg-3ubuntu1 (using .../alsa-base_1.0.20+dfsg-1ubuntu1_all.deb) ...
dpkg (subprocess): unable to execute new pre-installation script: Exec format error
dpkg: error processing /var/cache/apt/archives/alsa-base_1.0.20+dfsg-1ubuntu1_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/alsa-base_1.0.20+dfsg-1ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Manually unpacking the deb file with `ar`, and untarring the resulting control.tar.gz, I find that the pre-inst script inside the package begins:

\#!/bin/sh

Which is clearly wrong.

Cheers,
David

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.