← Back to team overview

kernel-packages team mailing list archive

[Bug 1401425] Re: Uninstalling unused kernel requires a reboot

 

Addition: I suspect this may be related to Nvidia driver packages and
DKMS. When I removed the packages, the offer to reboot appeared again. I
can understand why that happened - even though I don't have a Nvidia
card on this machine, the module is built for all kernels, including the
active one, and removing it requires reconfiguring the active kernel.
However, this should not happen when unused kernel is removed.

I attached apt logs of the Nvidia packages removal.


** Attachment added: "/var/log/apt/history.log and term.log of Nvidia drivers removal"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401425/+attachment/4283313/+files/apt.log

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

Title:
  Uninstalling unused kernel requires a reboot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  When Linux kernel is updated, a package with the new kernel version is
  installed, and the system offers to reboot the machine (an icon
  appears in the system tray). After reboot the new kernel is loaded,
  but the old one is still installed. When I remove the old kernel
  packages (e.g. linux-image-3.16.0-25-generic, linux-image-
  extra-3.16.0-25-generic, linux-headers-3.16.0-25, linux-
  headers-3.16.0-25-generic) the system offers to reboot again, even
  though that kernel is not used. In essence this means that kernel
  upgrade requires two reboots.

  Removing unused kernel packages should not require a reboot, and some
  time ago it actually worked that way. I can't remember exactly which
  kernel release broke that (probably, 3.16.0-24 or so).

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-25-generic (not installed)
  ProcVersionSignature: Ubuntu 3.16.0-26.35-generic 3.16.7-ckt1
  Uname: Linux 3.16.0-26-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC3:  lastique   2670 F.... pulseaudio
   /dev/snd/controlC2:  lastique   2670 F.... pulseaudio
   /dev/snd/controlC0:  lastique   2670 F.... pulseaudio
   /dev/snd/controlC1:  lastique   2670 F.... pulseaudio
  CurrentDesktop: KDE
  Date: Thu Dec 11 10:58:29 2014
  HibernationDevice: RESUME=UUID=91d1b3ae-bbf2-489a-93b8-87323a08a6e8
  InstallationDate: Installed on 2013-11-01 (404 days ago)
  InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Apple Inc. MacBookPro8,2
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-26-generic root=UUID=d61403bb-991b-45fe-8052-ffc7a7e0db80 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-26-generic N/A
   linux-backports-modules-3.16.0-26-generic  N/A
   linux-firmware                             1.138
  SourcePackage: linux
  UpgradeStatus: Upgraded to utopic on 2014-11-01 (39 days ago)
  dmi.bios.date: 01/24/12
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP81.88Z.0047.B27.1201241646
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-94245A3940C91C80
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro8,2
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-94245A3940C91C80
  dmi.modalias: dmi:bvnAppleInc.:bvrMBP81.88Z.0047.B27.1201241646:bd01/24/12:svnAppleInc.:pnMacBookPro8,2:pvr1.0:rvnAppleInc.:rnMac-94245A3940C91C80:rvrMacBookPro8,2:cvnAppleInc.:ct10:cvrMac-94245A3940C91C80:
  dmi.product.name: MacBookPro8,2
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

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


References