← Back to team overview

kernel-packages team mailing list archive

[Bug 1388991] [NEW] kernel postinst scripts errors

 

Public bug reported:

During a normal

sudo apt-get dist-upgrade

my "utopic" system reported the need to upgrade the kernel package.

During the process, I saw

Setting up linux-image-3.16.0-24-generic (3.16.0-24.32) ...
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-24-generic /boot/vmlinuz-3.16.0-24-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-24-generic /boot/vmlinuz-3.16.0-24-generic
sed: -e expression #1, char 6: unknown command: `m'

so something must be wrong in some postinst script.

I cannot evaluate the impact that this may have on the correct
installation of the new kernel.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-generic 3.16.0.24.25
ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
Uname: Linux 3.16.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  callegar   3469 F.... pulseaudio
CurrentDesktop: KDE
Date: Mon Nov  3 22:34:47 2014
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=c50b4249-43ed-49ef-a3d8-ec7aa9718265
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB:
 
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-23-generic root=/dev/mapper/DISK00-root ro quiet splash nomdmonddf nomdmonisw
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-23-generic N/A
 linux-backports-modules-3.16.0-23-generic  N/A
 linux-firmware                             1.138
RfKill:
 0: hci0: Bluetooth
 	Soft blocked: no
 	Hard blocked: no
SourcePackage: linux
StagingDrivers: r8188eu
UpgradeStatus: Upgraded to utopic on 2014-10-28 (6 days ago)
WpaSupplicantLog:
 
dmi.bios.date: 04/21/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P2.10
dmi.board.name: N68-S
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.:bvrP2.10:bd04/21/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-S: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.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug staging utopic

-- 
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/1388991

Title:
  kernel postinst scripts errors

Status in “linux” package in Ubuntu:
  New

Bug description:
  During a normal

  sudo apt-get dist-upgrade

  my "utopic" system reported the need to upgrade the kernel package.

  During the process, I saw

  Setting up linux-image-3.16.0-24-generic (3.16.0-24.32) ...
  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-24-generic /boot/vmlinuz-3.16.0-24-generic
  run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-24-generic /boot/vmlinuz-3.16.0-24-generic
  sed: -e expression #1, char 6: unknown command: `m'

  so something must be wrong in some postinst script.

  I cannot evaluate the impact that this may have on the correct
  installation of the new kernel.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-generic 3.16.0.24.25
  ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
  Uname: Linux 3.16.0-23-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  callegar   3469 F.... pulseaudio
  CurrentDesktop: KDE
  Date: Mon Nov  3 22:34:47 2014
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=c50b4249-43ed-49ef-a3d8-ec7aa9718265
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-23-generic root=/dev/mapper/DISK00-root ro quiet splash nomdmonddf nomdmonisw
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-23-generic N/A
   linux-backports-modules-3.16.0-23-generic  N/A
   linux-firmware                             1.138
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  StagingDrivers: r8188eu
  UpgradeStatus: Upgraded to utopic on 2014-10-28 (6 days ago)
  WpaSupplicantLog:
   
  dmi.bios.date: 04/21/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P2.10
  dmi.board.name: N68-S
  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.:bvrP2.10:bd04/21/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-S: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.

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


Follow ups

References