[Bug 451764] Re: need to update Installed-Size header

Mantas Kriaučiūnas mantas at akl.lt
Sun Oct 28 08:23:31 UTC 2012


"Installed-Size" header in most Ubuntu packages from main section is
still incorrect, even in latest Ubuntu release - 12.10:

ubuntu at ubuntu:~$ dpkg -s ubuntu-docs|grep "Installed-Size"
Installed-Size: 44551

While actual size of all installed files is less than 2 megabytes !

Please reopen this bugreport.

** Also affects: pkgbinarymangler
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler in Ubuntu.
https://bugs.launchpad.net/bugs/451764

Title:
  need to update Installed-Size header

Status in strips translations and alters maintainers during build:
  New
Status in “pkgbinarymangler” package in Ubuntu:
  Fix Released

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_NO_GNOME_HELP_SYMLINKING" ] && [ -d debian/ubuntu-docs/usr/share/gnome/help ]; then \
              cd debian/ubuntu-docs && LC_ALL=C fdupes -r1nq usr/share/gnome/help | while read s; do \
                  set -- $(echo $s | tr ' ' '\n' | sort); \
                  f=$1; shift; \
                  for d; do \
                      echo "symlinking duplicate Gnome help file $d to $f"; \
                      rm $d; ln -s /$f $d; \
                  done; \
              done; \
          fi
  [...]
  dh_builddeb -pubuntu-docs -- -Z bzip2
  pkgstriptranslations: processing control file: ./debian/ubuntu-docs/DEBIAN/control, package ubuntu-docs, directory ./debian/ubuntu-docs

  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
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
  SourcePackage: ubuntu-docs
  Uname: Linux 2.6.31-13-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/pkgbinarymangler/+bug/451764/+subscriptions




More information about the foundations-bugs mailing list