Error "sed: -e expression #1, char 6: unknown command: `m'" on upgrading the kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
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@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-
Suggested packages:
fdutils linux-doc-3.16.0 linux-source-3.16.0 linux-tools
The following NEW packages will be installed:
linux-
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-
(Reading database ... 93480 files and directories currently installed.)
Preparing to unpack .../linux-
Done.
Unpacking linux-image-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-generic (3.16.0.12.13) ...
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
sed: -e expression #1, char 6: unknown command: `m'
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
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-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Microsoft Windows XP Professional on /dev/sda2
done
Setting up linux-headers-
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Setting up linux-headers-
Setting up linux-image-
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/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
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-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
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/
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,
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,
Controls : 21
Simple ctrls : 3
CurrentDesktop: LXDE
DistroRelease: Ubuntu 14.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=
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.
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=C
SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.board.name: 960GM/U3S3 FX
dmi.board.vendor: ASRock
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To Be Filled By O.E.M.
dmi.product.
dmi.sys.vendor: To Be Filled By O.E.M.
tags: | added: kernel-da-key |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
apport information