dkms script ... sed: -e expression #1, char 6: unknown command: `m'

Bug #1371325 reported by martin suchanek
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hi,

this error appeared in ubuntu utopic 14.10 within installation of each kernel:

run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-16-lowlatency /boot/vmlinuz-3.16.0-16-lowlatency
sed: -e expression #1, char 6: unknown command: `m'
Error! Problems with depmod detected. Automatically uninstalling this module.
DKMS: Install Failed (depmod problems). Module rolled back to built state.
sed: -e expression #1, char 6: unknown command: `m'

/usr/sbin/dkms script:

line 898:
     sed -e "s/INITRD_MODULES=\"\(.*\)\"/INITRD_MODULES=\"\1 $m\"/" /etc/sysconfig/kernel > $temp_dir_name/kernel.new
line 904:
     sed -e "s/\(INITRD_MODULES.*\)$m\b\(.*\)/\1\2/" /etc/sysconfig/kernel > $temp_dir_name/kernel.new

lsb_release -rd
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

apt-cache policy linux-image-3.16.0-16-generic
linux-image-3.16.0-16-generic:
  Installed: 3.16.0-16.22
  Candidate: 3.16.0-16.22
  Version table:
 *** 3.16.0-16.22 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status

Thank You,
Kind Regards,
Martin

Tags: utopic
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1371325

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Are you unable to install/upgrade to new Utopic kernels?

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: utopic
Revision history for this message
martin suchanek (martin-suc) wrote :

I am able to install/upgrade new Utopic Kernels.
It is just small ammendments of that script :-)

Revision history for this message
Simon Elmir (nerd65536) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.