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

-- 
package alsa-base 1.0.19.dfsg-3ubuntu1 failed to install/upgrade: podproces 
pre-installation script zwrócił kod błędu 2
https://bugs.launchpad.net/bugs/380571
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to