need to update Installed-Size header
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkgbinarymangler |
New
|
Undecided
|
Unassigned | ||
pkgbinarymangler (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: ubuntu-docs
The Installed-Size header in the ubuntu-docs package is broken, because it appears to be calculated on the package *before* translations have been stripped:
# apt-get install ubuntu-docs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
ubuntu-docs
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B/470kB of archives.
After this operation, 63.8MB of additional disk space will be used.
63.8MB of *additional* disk space, because the only information apt has available says that the package has grown from 165MB to 226 MB (!). The unpacked size of the *actual* package is 19MB.
The problem appears to be in this ordering of operations in the build log:
dh_gencontrol -pubuntu-docs
[...]
if [ -z "$CDBS_
cd debian/ubuntu-docs && LC_ALL=C fdupes -r1nq usr/share/
set -- $(echo $s | tr ' ' '\n' | sort); \
for d; do \
done; \
fi
[...]
dh_builddeb -pubuntu-docs -- -Z bzip2
pkgstriptransla
Perhaps this will be fixed by fixing bug #441401, I don't know.
ProblemType: Bug
Architecture: amd64
Date: Wed Oct 14 16:47:33 2009
DistroRelease: Ubuntu 9.10
Package: ubuntu-docs 9.10.9
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: ubuntu-docs
Uname: Linux 2.6.31-13-generic x86_64
summary: |
- Installed-Size header in ubuntu-docs is broken + need to update Installed-Size header |
affects: | ubuntu-docs (Ubuntu) → pkgbinarymangler (Ubuntu) |
Changed in pkgbinarymangler (Ubuntu): | |
status: | Triaged → Fix Committed |
assignee: | nobody → Martin Pitt (pitti) |
I'm wondering if this is a bug in the Launchpad build process - so that pkgstriptransla tions should be run earlier in the build. Unfortunately I don't have nearly enough knowledge to work that out so will have to leave it to Martin, subscribing him.