Public bug reported: Please backport upstream dpkg patch "libdpkg: Only preallocate disk size for files bigger than 16 KiB" to xenial, yakkety, and zesty versions of dpkg.
dpkg 1.17.11 commit "dpkg: Try to preallocate the disk size for extracted files" causes installs of packages with many small files to be slow. https://anonscm.debian.org/git/dpkg/dpkg.git/commit/?id=87b0b20b86407baf1deb4e91b3fd839e01228ac8 This was fixed in dpkg 1.18.15 with "libdpkg: Only preallocate disk size for files bigger than 16 KiB". https://anonscm.debian.org/git/dpkg/dpkg.git/commit/?id=a971ad91437af8880cad4703695dcf12ee45959b trusty dpkg is based off 1.17.5 and is not affected. xenial dpkg based off 1.18.4, yakkety dpkg based off 1.18.10, and zesty dpkg based off 1.18.10 need the fix. ** Affects: dpkg (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663749 Title: Backport "libdpkg: Only preallocate disk size for files bigger than 16 KiB". To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1663749/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs