Comment 25 for bug 559582

Revision history for this message
Michael Vogt (mvo) wrote :

So the problem is that libpng12-0 requires libc6 (>= 2.11) and at the point apt tries to configure it its not ready yet and the pre-configure code fails. That is a bug in this code.

I would not want to change this code at this point of the release though but instead add a workaround to help apt to get it right. A fix is to add a stricter libc6 dependency (libc6 (>= 2.11)) to any of the packages before mountall, i.e.:

...
Conf libnih1 (1.0.1-1 Ubuntu:10.04/lucid)
Conf libnih-dbus1 (1.0.1-1 Ubuntu:10.04/lucid)
Conf ifupdown (0.6.8ubuntu29 Ubuntu:10.04/lucid)
Conf upstart (0.6.5-6 Ubuntu:10.04/lucid)
Inst libc6-dev [2.10.1-0ubuntu16] (2.11.1-0ubuntu5 Ubuntu:10.04/lucid) []
Inst libc-dev-bin [2.10.1-0ubuntu16] (2.11.1-0ubuntu5 Ubuntu:10.04/lucid) []
Inst libdrm2 (2.4.18-1ubuntu3 Ubuntu:10.04/lucid) []
Inst libdrm-intel1 (2.4.18-1ubuntu3 Ubuntu:10.04/lucid) []
Inst libdrm-nouveau1 (2.4.18-1ubuntu3 Ubuntu:10.04/lucid) []
Inst libdrm-radeon1 (2.4.18-1ubuntu3 Ubuntu:10.04/lucid) []
Inst libpng12-0 (1.2.42-1ubuntu2 Ubuntu:10.04/lucid) []
Inst initramfs-tools-bin (0.92bubuntu73 Ubuntu:10.04/lucid) []
Inst initramfs-tools [0.92bubuntu53] (0.92bubuntu73 Ubuntu:10.04/lucid) [initramfs-tools on mountall] []
Inst udev [147~-6.1] (151-10 Ubuntu:10.04/lucid) [initramfs-tools on mountall] []
Inst plymouth (0.8.2-1 Ubuntu:10.04/lucid) [initramfs-tools on mountall] []
Inst libplymouth2 (0.8.2-1 Ubuntu:10.04/lucid) [initramfs-tools on mountall] [libplymouth2 on mountall] []