[Bug 1663749] [NEW] Backport "libdpkg: Only preallocate disk size for files bigger than 16 KiB".

Vinson Lee 1663749 at bugs.launchpad.net
Fri Feb 10 21:15:13 UTC 2017


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
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1663749

Title:
  Backport "libdpkg: Only preallocate disk size for files bigger than 16
  KiB".

Status in dpkg package in Ubuntu:
  New

Bug description:
  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.

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



More information about the foundations-bugs mailing list