[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#669172: libc6: preinst fails in -28 and since then also in -27



found 669172 2.13-29
thanks

On 2012-04-18 00:38 +0200, Adam Conrad wrote:

> The reason this fails in -27 as well as -28 is because it has
> nothing to do with -28, it just got triggered for people by a
> new eglibc upload, period.
>
> The real bug here is that dpkg has decided that referring to
> multi-arch:same packages without the :arch suffix is bad, wrong
> and evil, and eglibc sprinkles "dpkg -L LIBC" and such all
> over its maintainer scripts without adding an :arch qualifier.
>
> I'll look at this tonight when I get off work and commit some
> fixes, unless someone beats me to it.

Alas, the fix that has been uploaded breaks with squeeze's dpkg which
knows about DPKG_MAINTSCRIPT_ARCH but not about the package:arch syntax,
so libc6 2.13-29 fails to unpack:

,----
| # dpkg --version
| Debian `dpkg' package management program version 1.15.8.12 (i386).
| This is free software; see the GNU General Public License version 2 or
| later for copying conditions. There is NO warranty.
| # dpkg -l libc6:i386
| No packages found matching libc6:i386.
| # dpkg --unpack /var/cache/apt/archives/libc6_2.13-29_i386.deb 
| (Reading database ... 9738 files and directories currently installed.)
| Preparing to replace libc6 2.11.3-2 (using .../libc6_2.13-29_i386.deb) ...
| Checking for services that may need to be restarted...
| Checking init scripts...
| dpkg: error processing /var/cache/apt/archives/libc6_2.13-29_i386.deb (--unpack):
|  subprocess new pre-installation script returned error exit status 1
| Errors were encountered while processing:
|  /var/cache/apt/archives/libc6_2.13-29_i386.deb
`----

Cheers,
       Sven



Reply to: