[Pkg-dkms-maint] Bug#762324: linux-image-3.16-2-amd64: sed error when executing /etc/kernel/postinst.d/dkms

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Sep 22 13:42:23 UTC 2014


Hello,

On Sun, Sep 21, 2014 at 09:29:42AM +0300, Jacek Sobczak wrote:
> Package: src:linux
> Version: 3.16.3-2
> Severity: normal
> 
> When upgrading linux kernel I get such error messages:
> 
> Setting up linux-image-3.16-2-amd64 (3.16.3-2) ...
> /etc/kernel/postinst.d/dkms:
> sed: -e expression #1, char 6: unknown command: `m'
> sed: -e expression #1, char 6: unknown command: `m'
Which version of dkms do you have installed?

The most suspicious candidates in dpkg -L dkms | xargs grep '\<sed\>'
look like:

	/usr/sbin/dkms:     sed "${sa_mc_o[@]}" "$file" > "$temp_dir_name/${file##*/}.new"

So assuming you can reproduce the problem, can you please add

	set -x

at the start of /usr/sbin/dkms and provide the generated output.
 
Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the Pkg-dkms-maint mailing list