[Bug 1709098] Re: repetitive calling of zz-update-grub

Phillip Susi psusi at ubuntu.com
Wed Sep 20 17:16:10 UTC 2017


*** This bug is a duplicate of bug 1250109 ***
    https://bugs.launchpad.net/bugs/1250109

** This bug has been marked a duplicate of bug 1250109
   Please use dpkg-triggers for update-grub when installing or removing kernel packages

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1709098

Title:
  repetitive calling of zz-update-grub

Status in grub2 package in Ubuntu:
  New

Bug description:
  with
  GRUB_DISABLE_OS_PROBER=true
  the time wasted is significantly reduced, but repetitive calling of zz-update-grub is still an unnecessary annoying waste of time.

  perhaps the solution could be something like defer it and trigger it
  at the end.

  here's an example of repetitive calling of zz-update-grub:
    #  apt-get --purge --auto-remove install stalonetray                                                                                                                    
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    linux-headers-4.4.0-78* linux-headers-4.4.0-78-generic* linux-image-4.4.0-78-generic* linux-image-extra-4.4.0-78-generic*
  The following NEW packages will be installed:
    stalonetray
  0 upgraded, 1 newly installed, 4 to remove and 23 not upgraded.
  Need to get 70.7 kB of archives.
  After this operation, 297 MB disk space will be freed.
  Do you want to continue? [Y/n] 
  Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 stalonetray amd64 0.8.1-1 [70.7 kB]
  Fetched 70.7 kB in 0s (208 kB/s)     
  (Reading database ... 248305 files and directories currently installed.)
  Removing linux-headers-4.4.0-78-generic (4.4.0-78.99) ...
  Removing linux-headers-4.4.0-78 (4.4.0-78.99) ...
  Removing linux-image-extra-4.4.0-78-generic (4.4.0-78.99) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-4.4.0-87-generic
  Found initrd image: /boot/initrd.img-4.4.0-87-generic
  Found linux image: /boot/vmlinuz-4.4.0-79-generic
  Found initrd image: /boot/initrd.img-4.4.0-79-generic
  Found linux image: /boot/vmlinuz-4.4.0-78-generic
  Found initrd image: /boot/initrd.img-4.4.0-78-generic
  Found memtest86+ image: /boot/memtest86+.elf
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Purging configuration files for linux-image-extra-4.4.0-78-generic (4.4.0-78.99) ...
  Removing linux-image-4.4.0-78-generic (4.4.0-78.99) ...
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  update-initramfs: Deleting /boot/initrd.img-4.4.0-78-generic
  run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-4.4.0-87-generic
  Found initrd image: /boot/initrd.img-4.4.0-87-generic
  Found linux image: /boot/vmlinuz-4.4.0-79-generic
  Found initrd image: /boot/initrd.img-4.4.0-79-generic
  Found memtest86+ image: /boot/memtest86+.elf
  Found memtest86+ image: /boot/memtest86+.bin
  done
  Purging configuration files for linux-image-4.4.0-78-generic (4.4.0-78.99) ...
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
  Selecting previously unselected package stalonetray.
  (Reading database ... 215994 files and directories currently installed.)
  Preparing to unpack .../stalonetray_0.8.1-1_amd64.deb ...
  Unpacking stalonetray (0.8.1-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up stalonetray (0.8.1-1) ...
    #

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: grub-pc 2.02~beta2-36ubuntu3.12
  ProcVersionSignature: Ubuntu 4.4.0-87.110-generic 4.4.73
  Uname: Linux 4.4.0-87-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Mon Aug  7 09:21:51 2017
  InstallationDate: Installed on 2016-10-15 (295 days ago)
  InstallationMedia: Lubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list