Bug#266482: gnome-control-center: woody -> sarge upgrade failure (1:1.4.0.5-3 -> 2.6.1-7)

J.H.M. Dassen (Ray) 266482@bugs.debian.org, 266482@bugs.debian.org
Thu, 19 Aug 2004 18:57:36 +0200


On Tue, Aug 17, 2004 at 23:50:45 +0100, Stuart Auchterlonie wrote:
> Package: gnome-control-center
> Version: 1:2.6.1-7
> Severity: important
> 
> On upgrade from woody -> sarge gnome-control-center fails to install
> correctly because one of it's scripts appears to attempt to use modules
> from perl 5.8 that are not available in perl 5.6 

The prerm (and postinst) of woody's gnome-control-center 1.4.0.5-3 call
doc-base's "/usr/sbin/install-docs" if available.

> I've attached a partial copy of the output from an 'apt-get dist-upgrade'
> from woody -> sarge upgrade.

> Preparing to replace gnome-control-center 1:1.4.0.5-3 (using .../gnome-control-center_2.6.1-7_i386.deb) ...
> Can't locate File/Basename.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 17.
> BEGIN failed--compilation aborted at /usr/sbin/install-docs line 17.
> dpkg: warning - old pre-removal script returned error exit status 2
                  ^^^^^^^^^^^^^^^
                  I.e. woody's gnome-control-center 1.4.0.5-3's prerm script.

Now the strange part is this:
> Can't locate File/Basename.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 17.

In woody, there is a "/usr/share/perl/5.6.1/File/Basename.pm" in the
perl-modules 5.6.1-8.3 package, and doc-base (0.7.11) Depends: perl, and
perl (5.6.1-8.3) Depends: perl-modules.

This leads me to believe that something was fundamentally wrong with your
woody installation and thus that there isn't anything to fix in
gnome-control-center in this regard.

HTH,
Ray
-- 
I think Microsoft should say, "You'll get a check from Bill Gates every time
you find an error."
	Donald Knuth, "All Questions Answered",
	http://www.ams.org/notices/200203/fea-knuth.pdf