← Back to team overview

touch-packages team mailing list archive

[Bug 1414479] [NEW] Optimized grouping on unpacking packages

 

Public bug reported:

I'm using Ubuntu 15.04 dev with apt 1.0.9.3ubuntu1 and on upgrading the
system I'm noticing that related packages are often grouped together.
This makes the log easier to read but I'm noticing that sometimes
packages are not grouped together anymore while there are no packages in
between that needed to be setup. Here is an example log of the unpacking
process:

(Reading database ... 94597 files and directories currently installed.)
Preparing to unpack .../libsystemd0_218-5ubuntu2_amd64.deb ...
Unpacking libsystemd0:amd64 (218-5ubuntu2) over (218-3ubuntu4) ...
Setting up libsystemd0:amd64 (218-5ubuntu2) ...
Processing triggers for libc-bin (2.19-13ubuntu3) ...
(Reading database ... 94597 files and directories currently installed.)
Preparing to unpack .../udev_218-5ubuntu2_amd64.deb ...
Unpacking udev (218-5ubuntu2) over (218-3ubuntu4) ...
Preparing to unpack .../libudev1_218-5ubuntu2_i386.deb ...
De-configuring libudev1:amd64 (218-3ubuntu4) ...
Unpacking libudev1:i386 (218-5ubuntu2) over (218-3ubuntu4) ...
Preparing to unpack .../libudev1_218-5ubuntu2_amd64.deb ...
Unpacking libudev1:amd64 (218-5ubuntu2) over (218-3ubuntu4) ...
Preparing to unpack .../libgtk-3-common_3.14.7-0ubuntu2_all.deb ...
Unpacking libgtk-3-common (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
Preparing to unpack .../libgtk-3-0_3.14.7-0ubuntu2_amd64.deb ...
Unpacking libgtk-3-0:amd64 (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
Preparing to unpack .../libgudev-1.0-0_1%3a218-5ubuntu2_amd64.deb ...
Unpacking libgudev-1.0-0:amd64 (1:218-5ubuntu2) over (1:218-3ubuntu4) ...
Preparing to unpack .../libicu52_52.1-7_amd64.deb ...
Unpacking libicu52:amd64 (52.1-7) over (52.1-6) ...
Preparing to unpack .../libjasper1_1.900.1-debian1-2.3ubuntu1_amd64.deb ...
Unpacking libjasper1:amd64 (1.900.1-debian1-2.3ubuntu1) over (1.900.1-debian1-2.3) ...
Preparing to unpack .../binutils_2.25-2ubuntu2_amd64.deb ...
Unpacking binutils (2.25-2ubuntu2) over (2.25-2ubuntu1) ...
Preparing to unpack .../gir1.2-gtk-3.0_3.14.7-0ubuntu2_amd64.deb ...
Unpacking gir1.2-gtk-3.0:amd64 (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
Preparing to unpack .../eog_3.14.3-1ubuntu2_amd64.deb ...
Unpacking eog (3.14.3-1ubuntu2) over (3.14.3-1ubuntu1) ...
Preparing to unpack .../firefox_36.0~b2+build1-0ubuntu1_amd64.deb ...
Unpacking firefox (36.0~b2+build1-0ubuntu1) over (35.0+build3-0ubuntu1) ...
Preparing to unpack .../firefox-locale-de_36.0~b2+build1-0ubuntu1_amd64.deb ...
Unpacking firefox-locale-de (36.0~b2+build1-0ubuntu1) over (35.0+build3-0ubuntu1) ...
Preparing to unpack .../flashplugin-installer_11.2.202.438ubuntu1_amd64.deb ...
Unpacking flashplugin-installer (11.2.202.438ubuntu1) over (11.2.202.429ubuntu1) ...
Preparing to unpack .../libgtk-3-bin_3.14.7-0ubuntu2_amd64.deb ...
Leaving 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
Leaving 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
Unpacking libgtk-3-bin (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
Preparing to unpack .../xdg-utils_1.1.0~rc1-2ubuntu9_all.deb ...
Unpacking xdg-utils (1.1.0~rc1-2ubuntu9) over (1.1.0~rc1-2ubuntu8) ...


In this log libgudev-1.0-0:amd64 comes after libgtk-3-0:amd64. But I think it would make more sense if libgudev-1.0-0:amd64 comes after/somewhere in the group of libudev1:amd64 as it would enhance the readability. I'm seeing the same often with other packages too so maybe this part could be optimized in apt.

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

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

Title:
  Optimized grouping on unpacking packages

Status in apt package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 15.04 dev with apt 1.0.9.3ubuntu1 and on upgrading
  the system I'm noticing that related packages are often grouped
  together. This makes the log easier to read but I'm noticing that
  sometimes packages are not grouped together anymore while there are no
  packages in between that needed to be setup. Here is an example log of
  the unpacking process:

  (Reading database ... 94597 files and directories currently installed.)
  Preparing to unpack .../libsystemd0_218-5ubuntu2_amd64.deb ...
  Unpacking libsystemd0:amd64 (218-5ubuntu2) over (218-3ubuntu4) ...
  Setting up libsystemd0:amd64 (218-5ubuntu2) ...
  Processing triggers for libc-bin (2.19-13ubuntu3) ...
  (Reading database ... 94597 files and directories currently installed.)
  Preparing to unpack .../udev_218-5ubuntu2_amd64.deb ...
  Unpacking udev (218-5ubuntu2) over (218-3ubuntu4) ...
  Preparing to unpack .../libudev1_218-5ubuntu2_i386.deb ...
  De-configuring libudev1:amd64 (218-3ubuntu4) ...
  Unpacking libudev1:i386 (218-5ubuntu2) over (218-3ubuntu4) ...
  Preparing to unpack .../libudev1_218-5ubuntu2_amd64.deb ...
  Unpacking libudev1:amd64 (218-5ubuntu2) over (218-3ubuntu4) ...
  Preparing to unpack .../libgtk-3-common_3.14.7-0ubuntu2_all.deb ...
  Unpacking libgtk-3-common (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
  Preparing to unpack .../libgtk-3-0_3.14.7-0ubuntu2_amd64.deb ...
  Unpacking libgtk-3-0:amd64 (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
  Preparing to unpack .../libgudev-1.0-0_1%3a218-5ubuntu2_amd64.deb ...
  Unpacking libgudev-1.0-0:amd64 (1:218-5ubuntu2) over (1:218-3ubuntu4) ...
  Preparing to unpack .../libicu52_52.1-7_amd64.deb ...
  Unpacking libicu52:amd64 (52.1-7) over (52.1-6) ...
  Preparing to unpack .../libjasper1_1.900.1-debian1-2.3ubuntu1_amd64.deb ...
  Unpacking libjasper1:amd64 (1.900.1-debian1-2.3ubuntu1) over (1.900.1-debian1-2.3) ...
  Preparing to unpack .../binutils_2.25-2ubuntu2_amd64.deb ...
  Unpacking binutils (2.25-2ubuntu2) over (2.25-2ubuntu1) ...
  Preparing to unpack .../gir1.2-gtk-3.0_3.14.7-0ubuntu2_amd64.deb ...
  Unpacking gir1.2-gtk-3.0:amd64 (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
  Preparing to unpack .../eog_3.14.3-1ubuntu2_amd64.deb ...
  Unpacking eog (3.14.3-1ubuntu2) over (3.14.3-1ubuntu1) ...
  Preparing to unpack .../firefox_36.0~b2+build1-0ubuntu1_amd64.deb ...
  Unpacking firefox (36.0~b2+build1-0ubuntu1) over (35.0+build3-0ubuntu1) ...
  Preparing to unpack .../firefox-locale-de_36.0~b2+build1-0ubuntu1_amd64.deb ...
  Unpacking firefox-locale-de (36.0~b2+build1-0ubuntu1) over (35.0+build3-0ubuntu1) ...
  Preparing to unpack .../flashplugin-installer_11.2.202.438ubuntu1_amd64.deb ...
  Unpacking flashplugin-installer (11.2.202.438ubuntu1) over (11.2.202.429ubuntu1) ...
  Preparing to unpack .../libgtk-3-bin_3.14.7-0ubuntu2_amd64.deb ...
  Leaving 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
  Leaving 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
  Unpacking libgtk-3-bin (3.14.7-0ubuntu2) over (3.14.7-0ubuntu1) ...
  Preparing to unpack .../xdg-utils_1.1.0~rc1-2ubuntu9_all.deb ...
  Unpacking xdg-utils (1.1.0~rc1-2ubuntu9) over (1.1.0~rc1-2ubuntu8) ...

  
  In this log libgudev-1.0-0:amd64 comes after libgtk-3-0:amd64. But I think it would make more sense if libgudev-1.0-0:amd64 comes after/somewhere in the group of libudev1:amd64 as it would enhance the readability. I'm seeing the same often with other packages too so maybe this part could be optimized in apt.

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


Follow ups

References