Activity log for bug #134000

Date Who What changed Old value New value Message
2007-08-22 08:54:16 Colin Watson bug added bug
2007-08-22 14:39:53 Ian Jackson dpkg: status New Won't Fix
2007-08-22 14:39:53 Ian Jackson dpkg: statusexplanation I agree that this behaviour looks unusual. The system is operating as designed. It is difficult to do much better because of the way that apt invokes dpkg - in particular, the new dpkg doesn't get to run until the next run after it has been installed, and apt generally instructs dpkg only to process specific packages. We don't want to make dpkg process these transitional trigger states for all packages in an apparently unrelated run because that would be very unexpected for someone using dpkg from the command line (eg to fix a broken system). So I don't propose to do anything about this in dpkg. However, we must make sure that the dist-upgrader definitely runs dpkg --configure --pending after the upgrade. I will add a task to this bug to reflect this and adjust the bug title etc. appropriately.
2007-08-22 14:43:36 Ian Jackson description Binary package hint: dpkg I did an 'apt-get upgrade', which completed successfully (and involved upgrading dpkg with some trigger processing changes). I then ran 'apt-get clean' and 'apt-get upgrade' again to remind myself of what packages had been held back due to unsatisfied dependencies. To my surprise, it still had something to do, which turned out to be trigger processing for initramfs-tools; I had expected that once 'apt-get upgrade' completed successfully it would have nothing left to do a second time. None of the packages I had installed appear to trigger initramfs-tools, so I can only assume that this happened due to the dpkg upgrade? This could be a bug in apt; I'm not sure. A transcript of the upgrade follows. The mention of man-db triggers is due to local modifications to man-db which I'm testing. <cjwatson@cairhien ~>$ sudo apt-get upgrade [sudo] password for cjwatson: Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-headers-powerpc linux-headers-powerpc64-smp linux-image-powerpc python-kde3-dev restricted-manager ubufox ubuntu-desktop yelp The following packages will be upgraded: apport apport-gtk apport-retrace cupsys cupsys-bsd cupsys-client cupsys-common debootstrap dpkg dpkg-dev dselect foomatic-db-engine gdm gnome-doc-utils gnome-screensaver libcupsimage2 libcupsys2 libcupsys2-dev libglib2.0-0 libglib2.0-0-dbg libglib2.0-data libglib2.0-dev libpango1.0-0 libpango1.0-common libpango1.0-dev libsmbclient libtotem-plparser7 linux-libc-dev python-apport python-problem-report samba samba-common smbclient totem totem-gstreamer totem-mozilla 36 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. Need to get 29.8MB of archives. After unpacking 1892kB disk space will be freed. Do you want to continue [Y/n]? Get: 1 http://ports.ubuntu.com gutsy/main dpkg 1.14.5ubuntu9 [2202kB] Get: 2 http://ports.ubuntu.com gutsy/main foomatic-db-engine 3.0.2-20070719-0ubuntu3 [289kB] Get: 3 http://ports.ubuntu.com gutsy/main dselect 1.14.5ubuntu9 [137kB] Get: 4 http://ports.ubuntu.com gutsy/main python-problem-report 0.96 [51.6kB] Get: 5 http://ports.ubuntu.com gutsy/main python-apport 0.96 [97.7kB] Get: 6 http://ports.ubuntu.com gutsy/main apport 0.96 [145kB] Get: 7 http://ports.ubuntu.com gutsy/main apport-gtk 0.96 [49.4kB] Get: 8 http://ports.ubuntu.com gutsy/main dpkg-dev 1.14.5ubuntu9 [162kB] Get: 9 http://ports.ubuntu.com gutsy/main apport-retrace 0.96 [57.8kB] Get: 10 http://ports.ubuntu.com gutsy/main libcupsys2-dev 1.3.0-3ubuntu1 [147kB] Get: 11 http://ports.ubuntu.com gutsy/main libcupsys2 1.3.0-3ubuntu1 [188kB] Get: 12 http://ports.ubuntu.com gutsy/main libcupsimage2 1.3.0-3ubuntu1 [106kB] Get: 13 http://ports.ubuntu.com gutsy/main cupsys-common 1.3.0-3ubuntu1 [783kB] Get: 14 http://ports.ubuntu.com gutsy/main cupsys 1.3.0-3ubuntu1 [2107kB] Get: 15 http://ports.ubuntu.com gutsy/main cupsys-bsd 1.3.0-3ubuntu1 [46.5kB] Get: 16 http://ports.ubuntu.com gutsy/main cupsys-client 1.3.0-3ubuntu1 [108kB] Get: 17 http://ports.ubuntu.com gutsy/main libglib2.0-dev 2.14.0-2ubuntu1 [742kB] Get: 18 http://ports.ubuntu.com gutsy/main libglib2.0-0-dbg 2.14.0-2ubuntu1 [739kB] Get: 19 http://ports.ubuntu.com gutsy/main libglib2.0-0 2.14.0-2ubuntu1 [637kB] Get: 20 http://ports.ubuntu.com gutsy/main libpango1.0-dev 1.18.0-0ubuntu1 [414kB] Get: 21 http://ports.ubuntu.com gutsy/main libpango1.0-common 1.18.0-0ubuntu1 [61.4kB] Get: 22 http://ports.ubuntu.com gutsy/main libpango1.0-0 1.18.0-0ubuntu1 [316kB] Get: 23 http://ports.ubuntu.com gutsy/main gdm 2.19.6-0ubuntu3 [1882kB] Get: 24 http://ports.ubuntu.com gutsy/main gnome-doc-utils 0.11.2-0ubuntu1 [294kB] Get: 25 http://ports.ubuntu.com gutsy/main gnome-screensaver 2.19.6-0ubuntu3 [1597kB] Get: 26 http://ports.ubuntu.com gutsy/main libglib2.0-data 2.14.0-2ubuntu1 [964B] Get: 27 http://ports.ubuntu.com gutsy/main libtotem-plparser7 2.19.90-0ubuntu2 [245kB] Get: 28 http://ports.ubuntu.com gutsy/main linux-libc-dev 2.6.22-10.29 [621kB] Get: 29 http://ports.ubuntu.com gutsy/main smbclient 3.0.25b-1ubuntu4 [5193kB] Get: 30 http://ports.ubuntu.com gutsy/main samba 3.0.25b-1ubuntu4 [4121kB] Get: 31 http://ports.ubuntu.com gutsy/main samba-common 3.0.25b-1ubuntu4 [2988kB] Get: 32 http://ports.ubuntu.com gutsy/main totem-gstreamer 2.19.90-0ubuntu2 [1841kB] Get: 33 http://ports.ubuntu.com gutsy/main totem 2.19.90-0ubuntu2 [211kB] Get: 34 http://ports.ubuntu.com gutsy/main totem-mozilla 2.19.90-0ubuntu2 [211kB] Get: 35 http://ports.ubuntu.com gutsy/main debootstrap 1.0.3 [49.1kB] Get: 36 http://ports.ubuntu.com gutsy/main libsmbclient 3.0.25b-1ubuntu4 [958kB] Fetched 29.8MB in 5m16s (94.1kB/s) Reading changelogs... Done Extract templates from packages: 100% Preconfiguring packages ... (Reading database ... 185102 files and directories currently installed.) Preparing to replace dpkg 1.14.5ubuntu8 (using .../dpkg_1.14.5ubuntu9_powerpc.deb) ... Unpacking replacement dpkg ... Processing triggers for man-db ... Setting up dpkg (1.14.5ubuntu9) ... (Reading database ... 185102 files and directories currently installed.) Preparing to replace foomatic-db-engine 3.0.2-20070719-0ubuntu1 (using .../foomatic-db-engine_3.0.2-20070719-0ubuntu3_powerpc.deb) ... Unpacking replacement foomatic-db-engine ... Preparing to replace dselect 1.14.5ubuntu8 (using .../dselect_1.14.5ubuntu9_powerpc.deb) ... Unpacking replacement dselect ... Preparing to replace python-problem-report 0.95 (using .../python-problem-report_0.96_all.deb) ... Unpacking replacement python-problem-report ... Preparing to replace python-apport 0.95 (using .../python-apport_0.96_all.deb) ... Unpacking replacement python-apport ... Preparing to replace apport 0.95 (using .../archives/apport_0.96_all.deb) ... * Stopping automatic crash report generation: apport [ OK ] Unpacking replacement apport ... Preparing to replace apport-gtk 0.95 (using .../apport-gtk_0.96_all.deb) ... Unpacking replacement apport-gtk ... Preparing to replace dpkg-dev 1.14.5ubuntu8 (using .../dpkg-dev_1.14.5ubuntu9_all.deb) ... Unpacking replacement dpkg-dev ... Preparing to replace apport-retrace 0.95 (using .../apport-retrace_0.96_all.deb) ... Unpacking replacement apport-retrace ... Preparing to replace libcupsys2-dev 1.3.0-2ubuntu2 (using .../libcupsys2-dev_1.3.0-3ubuntu1_powerpc.deb) ... Unpacking replacement libcupsys2-dev ... Preparing to replace libcupsys2 1.3.0-2ubuntu2 (using .../libcupsys2_1.3.0-3ubuntu1_powerpc.deb) ... Unpacking replacement libcupsys2 ... Preparing to replace libcupsimage2 1.3.0-2ubuntu2 (using .../libcupsimage2_1.3.0-3ubuntu1_powerpc.deb) ... Unpacking replacement libcupsimage2 ... Preparing to replace cupsys-common 1.3.0-2ubuntu2 (using .../cupsys-common_1.3.0-3ubuntu1_all.deb) ... Unpacking replacement cupsys-common ... Preparing to replace cupsys 1.3.0-2ubuntu2 (using .../cupsys_1.3.0-3ubuntu1_powerpc.deb) ... * Stopping Common Unix Printing System: cupsd [ OK ] Unpacking replacement cupsys ... Preparing to replace cupsys-bsd 1.3.0-2ubuntu2 (using .../cupsys-bsd_1.3.0-3ubuntu1_powerpc.deb) ... Unpacking replacement cupsys-bsd ... Preparing to replace cupsys-client 1.3.0-2ubuntu2 (using .../cupsys-client_1.3.0-3ubuntu1_powerpc.deb) ... Unpacking replacement cupsys-client ... Preparing to replace libglib2.0-dev 2.13.7-1ubuntu5 (using .../libglib2.0-dev_2.14.0-2ubuntu1_powerpc.deb) ... Unpacking replacement libglib2.0-dev ... Preparing to replace libglib2.0-0-dbg 2.13.7-1ubuntu5 (using .../libglib2.0-0-dbg_2.14.0-2ubuntu1_powerpc.deb) ... Unpacking replacement libglib2.0-0-dbg ... Preparing to replace libglib2.0-0 2.13.7-1ubuntu5 (using .../libglib2.0-0_2.14.0-2ubuntu1_powerpc.deb) ... Unpacking replacement libglib2.0-0 ... Preparing to replace libpango1.0-dev 1.17.5-1ubuntu1 (using .../libpango1.0-dev_1.18.0-0ubuntu1_powerpc.deb) ... Unpacking replacement libpango1.0-dev ... Preparing to replace libpango1.0-common 1.17.5-1ubuntu1 (using .../libpango1.0-common_1.18.0-0ubuntu1_all.deb) ... Cleaning up font configuration of pango... Cleaning up category xfont.. Unpacking replacement libpango1.0-common ... Preparing to replace libpango1.0-0 1.17.5-1ubuntu1 (using .../libpango1.0-0_1.18.0-0ubuntu1_powerpc.deb) ... Unpacking replacement libpango1.0-0 ... Preparing to replace gdm 2.19.6-0ubuntu1 (using .../gdm_2.19.6-0ubuntu3_powerpc.deb) ... Unpacking replacement gdm ... Preparing to replace gnome-doc-utils 0.11.1-0ubuntu1 (using .../gnome-doc-utils_0.11.2-0ubuntu1_all.deb) ... Unpacking replacement gnome-doc-utils ... Preparing to replace gnome-screensaver 2.19.6-0ubuntu2 (using .../gnome-screensaver_2.19.6-0ubuntu3_powerpc.deb) ... Unpacking replacement gnome-screensaver ... Preparing to replace libglib2.0-data 2.13.7-1ubuntu5 (using .../libglib2.0-data_2.14.0-2ubuntu1_all.deb) ... Unpacking replacement libglib2.0-data ... Preparing to replace libtotem-plparser7 2.19.90-0ubuntu1 (using .../libtotem-plparser7_2.19.90-0ubuntu2_powerpc.deb) ... Unpacking replacement libtotem-plparser7 ... Preparing to replace linux-libc-dev 2.6.22-9.25 (using .../linux-libc-dev_2.6.22-10.29_powerpc.deb) ... Unpacking replacement linux-libc-dev ... Preparing to replace smbclient 3.0.25b-1ubuntu3 (using .../smbclient_3.0.25b-1ubuntu4_powerpc.deb) ... Unpacking replacement smbclient ... Preparing to replace samba 3.0.25b-1ubuntu3 (using .../samba_3.0.25b-1ubuntu4_powerpc.deb) ... * Stopping Samba daemons... [ OK ] Unpacking replacement samba ... Preparing to replace samba-common 3.0.25b-1ubuntu3 (using .../samba-common_3.0.25b-1ubuntu4_powerpc.deb) ... Unpacking replacement samba-common ... Preparing to replace totem-gstreamer 2.19.90-0ubuntu1 (using .../totem-gstreamer_2.19.90-0ubuntu2_powerpc.deb) ... Unpacking replacement totem-gstreamer ... Preparing to replace totem 2.19.90-0ubuntu1 (using .../totem_2.19.90-0ubuntu2_all.deb) ... Unpacking replacement totem ... Preparing to replace totem-mozilla 2.19.90-0ubuntu1 (using .../totem-mozilla_2.19.90-0ubuntu2_all.deb) ... Unpacking replacement totem-mozilla ... Preparing to replace debootstrap 1.0.2 (using .../debootstrap_1.0.3_all.deb) ... Unpacking replacement debootstrap ... Preparing to replace libsmbclient 3.0.25b-1ubuntu3 (using .../libsmbclient_3.0.25b-1ubuntu4_powerpc.deb) ... Unpacking replacement libsmbclient ... Processing triggers for man-db ... Setting up foomatic-db-engine (3.0.2-20070719-0ubuntu3) ... Setting up dselect (1.14.5ubuntu9) ... Setting up python-problem-report (0.96) ... Setting up python-apport (0.96) ... Setting up apport (0.96) ... * Starting automatic crash report generation: apport [ OK ] Setting up apport-gtk (0.96) ... Setting up dpkg-dev (1.14.5ubuntu9) ... Setting up apport-retrace (0.96) ... Setting up libcupsys2 (1.3.0-3ubuntu1) ... Setting up libcupsys2-dev (1.3.0-3ubuntu1) ... Setting up libcupsimage2 (1.3.0-3ubuntu1) ... Setting up cupsys-common (1.3.0-3ubuntu1) ... Setting up cupsys (1.3.0-3ubuntu1) ... Installing new version of config file /etc/apparmor.d/usr.sbin.cupsd ... Reloading AppArmor profiles : done. * Starting Common Unix Printing System: cupsd [ OK ] Setting up cupsys-client (1.3.0-3ubuntu1) ... Setting up cupsys-bsd (1.3.0-3ubuntu1) ... Setting up libglib2.0-0 (2.14.0-2ubuntu1) ... Setting up libglib2.0-dev (2.14.0-2ubuntu1) ... Setting up libglib2.0-0-dbg (2.14.0-2ubuntu1) ... Setting up libpango1.0-common (1.18.0-0ubuntu1) ... Cleaning up font configuration of pango... Cleaning up category xfont.. Updating font configuration of pango... Cleaning up category xfont.. Updating category xfont.. Setting up libpango1.0-0 (1.18.0-0ubuntu1) ... Setting up libpango1.0-dev (1.18.0-0ubuntu1) ... Setting up gdm (2.19.6-0ubuntu3) ... Installing new version of config file /etc/gdm/gdm.conf ... * Reloading GNOME Display Manager configuration... * Changes will take effect when all current X sessions have ended. [ OK ] Setting up gnome-doc-utils (0.11.2-0ubuntu1) ... Setting up gnome-screensaver (2.19.6-0ubuntu3) ... Setting up libglib2.0-data (2.14.0-2ubuntu1) ... Setting up libtotem-plparser7 (2.19.90-0ubuntu2) ... Setting up linux-libc-dev (2.6.22-10.29) ... Setting up samba-common (3.0.25b-1ubuntu4) ... Setting up smbclient (3.0.25b-1ubuntu4) ... Setting up samba (3.0.25b-1ubuntu4) ... * Starting Samba daemons... [ OK ] Setting up totem-gstreamer (2.19.90-0ubuntu2) ... Setting up totem (2.19.90-0ubuntu2) ... Setting up totem-mozilla (2.19.90-0ubuntu2) ... Setting up debootstrap (1.0.3) ... Setting up libsmbclient (3.0.25b-1ubuntu4) ... <cjwatson@cairhien ~>$ sudo apt-get clean [sudo] password for cjwatson: <cjwatson@cairhien ~>$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-headers-powerpc linux-headers-powerpc64-smp linux-image-powerpc python-kde3-dev restricted-manager ubufox ubuntu-desktop yelp 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.22-9-powerpc Due to the transitional arrangements for dpkg-triggers, it is possible for the dpkg runs done by apt to do a dist upgrade to leave unprocessed triggers. (This is only true for the one apt run which installs the new dpkg.) To ensure that triggers are properly run, and the user is not surprised by unexpectedly leftover trigger processing, the dist upgrader should run dpkg --configure --pending at some appropriate point late in the upgrade cycle, if it does not do so already (I haven't checked).
2007-08-22 14:43:36 Ian Jackson title trigger processing remaining after upgrade dist-upgrader should run dpkg --configure --pending
2007-08-22 14:43:58 Ian Jackson bug assigned to update-manager (Ubuntu)
2007-08-22 14:44:44 Ian Jackson update-manager: importance Undecided Medium
2007-08-22 14:44:44 Ian Jackson update-manager: statusexplanation
2007-08-27 13:19:20 Michael Vogt update-manager: status New Confirmed
2007-08-31 14:06:36 Colin Watson bug assigned to apt (Ubuntu)
2007-09-04 12:53:17 Henrik Nilsen Omma update-manager: assignee mvo
2007-09-05 19:42:40 Michael Vogt update-manager: importance Medium High
2007-09-05 19:43:06 Michael Vogt title dist-upgrader should run dpkg --configure --pending dist-upgrader needs backported dpkg/apt with triggers support
2007-09-06 16:31:47 Michael Vogt update-manager: status Confirmed In Progress
2007-09-07 21:30:08 Michael Vogt update-manager: status In Progress Fix Released
2007-09-14 13:58:43 Michael Vogt apt: importance Undecided High
2007-09-14 13:58:43 Michael Vogt apt: status New In Progress
2007-09-24 09:27:33 Michael Vogt apt: status In Progress Fix Released
2007-09-24 09:27:33 Michael Vogt apt: assignee mvo
2010-02-22 00:31:39 Launchpad Janitor branch linked lp:ubuntu/update-manager