The apport issue seems to be due to a bug in xenial's shared-mime-info: root@xenial-test:/home/rbalint# time apt-get install -y --allow-downgrades --reinstall apport=2.20.1-0ubuntu2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libllvm3.8 libmircommon5 linux-image-4.4.0-78-generic linux-image-4.4.0-83-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 20 not upgraded. Need to get 0 B/119 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 271938 files and directories currently installed.) Preparing to unpack .../apport_2.20.1-0ubuntu2_all.deb ... Unpacking apport (2.20.1-0ubuntu2) over (2.20.1-0ubuntu2) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for systemd (229-4ubuntu18) ... Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Setting up apport (2.20.1-0ubuntu2) ...
real 1m36.802s user 0m1.812s sys 0m0.796s root@xenial-test:/home/rbalint# time update-mime-database.real /usr/share/mime real 1m53.622s user 0m0.264s sys 0m0.096s This takes ~2s on zesty: root@zesty-test:/home/rbalint# time update-mime-database.real /usr/share/mime Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' real 0m2.146s user 0m0.272s sys 0m0.104s This may worth further investigation and possibly an SRU. -- 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/1690980 Title: unattended-upgrades does not block shutdown of system, as it is designed to Status in OEM Priority Project: Triaged Status in OEM Priority Project xenial series: New Status in apt package in Ubuntu: New Status in unattended-upgrades package in Ubuntu: Confirmed Bug description: Title: No pop-up window to warn users that system should not reboot or shutdown while installing security updates Summary: No pop-up window to warn users that system should not reboot or shutdown while installing security updates Steps: 1. trigger unattended-upgrades 2. reboot or shutdown system while installing packages Expected results: There is a pop-up window to warn users that system should not reboot or shutdown Actual results: There is no pop-up window to warn users Additional information: $ apt-cache policy unattended-upgrades unattended-upgrades: Installed: 0.90 Candidate: 0.90ubuntu0.5 $ lsb_release -rd Description: Ubuntu 16.04 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1690980/+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