← Back to team overview

kernel-packages team mailing list archive

[Bug 1371325] Re: dkms script ... sed: -e expression #1, char 6: unknown command: `m'

 

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1371325

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

Status in “linux” package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1371325/+subscriptions


References