Error "sed: -e expression #1, char 6: unknown command: `m'" on upgrading the kernel

Bug #1363697 reported by Sworddragon on 2014-08-31
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

I'm using Ubuntu 14.10 dev and for some time I'm seeing always the error "sed: -e expression #1, char 6: unknown command: `m'" on upgrading the kernel. On trying to reproduce this here is the complete terminal output:

sworddragon@ubuntu:~$ sudo apt-get install linux-image-generic linux-headers-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  linux-headers-3.16.0-12 linux-headers-3.16.0-12-generic linux-image-3.16.0-12-generic linux-image-extra-3.16.0-12-generic
Suggested packages:
  fdutils linux-doc-3.16.0 linux-source-3.16.0 linux-tools
The following NEW packages will be installed:
  linux-headers-3.16.0-12 linux-headers-3.16.0-12-generic linux-headers-generic linux-image-3.16.0-12-generic linux-image-extra-3.16.0-12-generic linux-image-generic
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/63.8 MB of archives.
After this operation, 281 MB of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package linux-image-3.16.0-12-generic.
(Reading database ... 93480 files and directories currently installed.)
Preparing to unpack .../linux-image-3.16.0-12-generic_3.16.0-12.17_amd64.deb ...
Done.
Unpacking linux-image-3.16.0-12-generic (3.16.0-12.17) ...
Selecting previously unselected package linux-headers-3.16.0-12.
Preparing to unpack .../linux-headers-3.16.0-12_3.16.0-12.17_all.deb ...
Unpacking linux-headers-3.16.0-12 (3.16.0-12.17) ...
Selecting previously unselected package linux-headers-3.16.0-12-generic.
Preparing to unpack .../linux-headers-3.16.0-12-generic_3.16.0-12.17_amd64.deb ...
Unpacking linux-headers-3.16.0-12-generic (3.16.0-12.17) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_3.16.0.12.13_amd64.deb ...
Unpacking linux-headers-generic (3.16.0.12.13) ...
Selecting previously unselected package linux-image-extra-3.16.0-12-generic.
Preparing to unpack .../linux-image-extra-3.16.0-12-generic_3.16.0-12.17_amd64.deb ...
Unpacking linux-image-extra-3.16.0-12-generic (3.16.0-12.17) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.16.0.12.13_amd64.deb ...
Unpacking linux-image-generic (3.16.0.12.13) ...
Setting up linux-image-3.16.0-12-generic (3.16.0-12.17) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
sed: -e expression #1, char 6: unknown command: `m'
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.16.0-12-generic
Found initrd image: /boot/initrd.img-3.16.0-12-generic
Found linux image: /boot/vmlinuz-3.16.0-11-generic
Found initrd image: /boot/initrd.img-3.16.0-11-generic
Found Microsoft Windows XP Professional on /dev/sda2
done
Setting up linux-headers-3.16.0-12 (3.16.0-12.17) ...
Setting up linux-headers-3.16.0-12-generic (3.16.0-12.17) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
Setting up linux-headers-generic (3.16.0.12.13) ...
Setting up linux-image-extra-3.16.0-12-generic (3.16.0-12.17) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.16.0-12.17 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.16.0-12.17 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-12-generic /boot/vmlinuz-3.16.0-12-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.16.0-12-generic
Found initrd image: /boot/initrd.img-3.16.0-12-generic
Found linux image: /boot/vmlinuz-3.16.0-11-generic
Found initrd image: /boot/initrd.img-3.16.0-11-generic
Found Microsoft Windows XP Professional on /dev/sda2
done
Setting up linux-image-generic (3.16.0.12.13) ...
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.16.0-11-generic.
ApportVersion: 2.14.7-0ubuntu1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D8p', '/dev/snd/pcmC1D7p', '/dev/snd/pcmC1D3p', '/dev/snd/controlC1', '/dev/snd/by-path', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/controlC0', '/dev/snd/timer'] failed with exit code 1:
BootDmesg: (Nothing has been logged yet.)
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfcff4000 irq 16'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,18497662,00100101'
   Controls : 36
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xfe97c000 irq 19'
   Mixer name : 'Nvidia GPU 42 HDMI/DP'
   Components : 'HDA:10de0042,14583555,00100100'
   Controls : 21
   Simple ctrls : 3
CurrentDesktop: LXDE
DistroRelease: Ubuntu 14.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=23b2ee46-5930-41bc-a3e5-33800a236db2
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: [Errno 2] No such file or directory
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-11-generic root=UUID=05338ff8-a226-421b-90a4-1dd45199f783 ro elevator=cfq
ProcVersionSignature: Ubuntu 3.16.0-11.16-generic 3.16.1
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-11-generic N/A
 linux-backports-modules-3.16.0-11-generic N/A
 linux-firmware 1.133
RfKill: Error: [Errno 2] No such file or directory
Tags: utopic
Uname: Linux 3.16.0-11-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo wireshark
WifiSyslog:

_MarkForUpload: True
dmi.bios.date: 10/02/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.40
dmi.board.asset.tag: BC5FF4739C55
dmi.board.name: 960GM/U3S3 FX
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.40:bd10/02/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn960GM/U3S3FX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

apport information

tags: added: apport-collected utopic
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: kernel-da-key
Changed in linux (Ubuntu):
importance: Undecided → Medium

Same here in my side.
Bug #1377479

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers