Bug#687268: perl: breaks debsums during squeeze -> wheezy upgrade

Niko Tyni ntyni at debian.org
Tue Sep 11 11:03:13 UTC 2012


On Tue, Sep 11, 2012 at 03:19:50AM -0700, Andres Salomon wrote:
> Package: perl
> Version: 5.14.2-12
> Severity: critical
> 
> I kicked off an upgrade of a machine running stable (squeeze) to the
> currently frozen testing (wheezy).  During the upgrade, I hit the
> following:

It looks to me more like the upgrade is failing first, then debsums
is run in the failed state.

> dpkg: error processing /var/cache/apt/archives/xserver-xorg-core_2%3a1.12.3-1_i386.deb (--unpack):
>  installing xserver-xorg-core would break existing software
> configured to not write apport reports
>                                       Preparing to replace xserver-xorg-input-synaptics 1.2.2-2 (using .../xserver-xorg-input-synaptics_1.6.2-1_i386.deb) ...
> Unpacking replacement xserver-xorg-input-synaptics ...
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/xserver-xorg-core_2%3a1.12.3-1_i386.deb
> Can't locate File/Find.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/debsums line 10.
> BEGIN failed--compilation aborted at /usr/bin/debsums line 10.
> E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'

That said, I suppose it would be nice if debsums would fail more
gracefully when its dependencies, particularly perl/perl-modules, aren't
in a configured state.

> The package that breaks is xserver-xorg-core, but it does so while calling
> out to debsums (which in turn does so while looking for perl includes).

I disagree. The package breaks first, then an apt post-invoke hook calls
debsums regardless of the failure or the state of the debsums dependencies.

> I've attached the full dist-upgrade log.  Marking this as critical, as
> perl is breaking unrelated software (debsums, dpkg postinst scripts..).

debsums is written in perl so it's certainly not unrelated software.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list