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/ | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org