*** This bug is a duplicate of bug 1250109 *** https://bugs.launchpad.net/bugs/1250109
** Bug watch removed: Debian Bug tracker #481542 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481542 ** This bug is no longer a duplicate of bug 396381 Update-grub should probably be set up to be a dpkg trigger. ** This bug has been marked a duplicate of bug 1250109 Please use dpkg-triggers -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1156929 Title: triggers called multiple times in one upgrade Status in apt package in Ubuntu: New Bug description: Filing against apt, since I think I've seen seen this with plain apt- get update commands. However, this might be the fault of dpkg or do- release-upgrade. When I upgraded from 12.10 to Raring, I found multiple instances of running kernel triggers. It seemed inefficient to me to see the grub configuration regenerated over and over again: Removing linux-headers-3.5.0-22-generic ... Removing linux-headers-3.5.0-22 ... Removing linux-headers-3.5.0-23-generic ... Removing linux-headers-3.5.0-23 ... Removing linux-headers-3.5.0-24-generic ... Removing linux-headers-3.5.0-24 ... Removing linux-headers-3.5.0-25-generic ... Removing linux-headers-3.5.0-25 ... Removing linux-image-extra-3.5.0-22-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-22-generic /boot/vmlinuz-3.5.0-22-generic update-initramfs: Deleting /boot/initrd.img-3.5.0-22-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-22-generic /boot/vmlinuz-3.5.0-22-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-13-generic Found initrd image: /boot/initrd.img-3.8.0-13-generic Found linux image: /boot/vmlinuz-3.5.0-25-generic Found initrd image: /boot/initrd.img-3.5.0-25-generic Found linux image: /boot/vmlinuz-3.5.0-24-generic Found initrd image: /boot/initrd.img-3.5.0-24-generic Found linux image: /boot/vmlinuz-3.5.0-23-generic Found initrd image: /boot/initrd.img-3.5.0-23-generic Found linux image: /boot/vmlinuz-3.5.0-22-generic Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found memtest86+ image: /boot/memtest86+.bin File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 63 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 119 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 170 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh No volume groups found done Removing linux-image-3.5.0-22-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-22-generic /boot/vmlinuz-3.5.0-22-generic update-initramfs: Deleting /boot/initrd.img-3.5.0-22-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-22-generic /boot/vmlinuz-3.5.0-22-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-13-generic Found initrd image: /boot/initrd.img-3.8.0-13-generic Found linux image: /boot/vmlinuz-3.5.0-25-generic Found initrd image: /boot/initrd.img-3.5.0-25-generic Found linux image: /boot/vmlinuz-3.5.0-24-generic Found initrd image: /boot/initrd.img-3.5.0-24-generic Found linux image: /boot/vmlinuz-3.5.0-23-generic Found initrd image: /boot/initrd.img-3.5.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found memtest86+ image: /boot/memtest86+.bin File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 63 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 119 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 170 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh No volume groups found done Removing linux-image-extra-3.5.0-23-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-23-generic /boot/vmlinuz-3.5.0-23-generic update-initramfs: Deleting /boot/initrd.img-3.5.0-23-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-23-generic /boot/vmlinuz-3.5.0-23-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-13-generic Found initrd image: /boot/initrd.img-3.8.0-13-generic Found linux image: /boot/vmlinuz-3.5.0-25-generic Found initrd image: /boot/initrd.img-3.5.0-25-generic Found linux image: /boot/vmlinuz-3.5.0-24-generic Found initrd image: /boot/initrd.img-3.5.0-24-generic Found linux image: /boot/vmlinuz-3.5.0-23-generic Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found memtest86+ image: /boot/memtest86+.bin File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 63 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 119 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 170 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh No volume groups found done Removing linux-image-3.5.0-23-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-23-generic /boot/vmlinuz-3.5.0-23-generic update-initramfs: Deleting /boot/initrd.img-3.5.0-23-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-23-generic /boot/vmlinuz-3.5.0-23-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-13-generic Found initrd image: /boot/initrd.img-3.8.0-13-generic Found linux image: /boot/vmlinuz-3.5.0-25-generic Found initrd image: /boot/initrd.img-3.5.0-25-generic Found linux image: /boot/vmlinuz-3.5.0-24-generic Found initrd image: /boot/initrd.img-3.5.0-24-generic Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found memtest86+ image: /boot/memtest86+.bin File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 63 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 119 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 170 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh No volume groups found done Removing linux-image-extra-3.5.0-24-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-24-generic /boot/vmlinuz-3.5.0-24-generic update-initramfs: Deleting /boot/initrd.img-3.5.0-24-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-24-generic /boot/vmlinuz-3.5.0-24-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-13-generic Found initrd image: /boot/initrd.img-3.8.0-13-generic Found linux image: /boot/vmlinuz-3.5.0-25-generic Found initrd image: /boot/initrd.img-3.5.0-25-generic Found linux image: /boot/vmlinuz-3.5.0-24-generic Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found memtest86+ image: /boot/memtest86+.bin File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 63 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 119 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 170 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh No volume groups found done Removing linux-image-3.5.0-24-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.5.0-24-generic /boot/vmlinuz-3.5.0-24-generic update-initramfs: Deleting /boot/initrd.img-3.5.0-24-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.5.0-24-generic /boot/vmlinuz-3.5.0-24-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.8.0-13-generic Found initrd image: /boot/initrd.img-3.8.0-13-generic Found linux image: /boot/vmlinuz-3.5.0-25-generic Found initrd image: /boot/initrd.img-3.5.0-25-generic Found linux image: /boot/vmlinuz-3.2.0-35-generic Found initrd image: /boot/initrd.img-3.2.0-35-generic Found memtest86+ image: /boot/memtest86+.bin File descriptor 59 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 63 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 119 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 170 (/var/log/dist-upgrade/apt.log) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh No volume groups found done Removing ntfsprogs ... ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: apt 0.9.7.7ubuntu3 ProcVersionSignature: Ubuntu 3.8.0-13.22-generic 3.8.3 Uname: Linux 3.8.0-13-generic x86_64 ApportVersion: 2.9.1-0ubuntu1 Architecture: amd64 Date: Mon Mar 18 17:22:35 2013 InstallationDate: Installed on 2012-10-18 (151 days ago) InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1) MarkForUpload: True ProcEnviron: TERM=rxvt-unicode PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: apt UpgradeStatus: Upgraded to raring on 2013-03-18 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1156929/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp