Re: Sarge -> Lenny

2007-12-22 Thread stevem
On Friday 21 December 2007, Sven Joachim wrote:
>...
> Please try to find out where you got
> /usr/local/share/perl/5.8.8/Errno.pm from.
>
> Regards,
> Sven
Can't answer for the OP but I've downloaded various perl modules from CPAN 
and now my /usr/local/share is no longer arch independent.  I 
mount /usr/local via NFS and I've had to create 32 and 
64bit /usr/local/share/perl libs.  Its a bug as I understand "share",  
but I don't know where to file it since its not debian package breakage.

I know some perl modules are availabe as packages.  Is there a "debian 
way" to use CPAN for the others?

stevem


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sarge -> Lenny

2007-12-21 Thread Sven Joachim
On 2007-12-22 05:28 +0100, Cam wrote:

> apt-get dist-upgrade normally works a treat, but having used it lately
> to move from Etch to Lenny (after appropriate /etc/apt/sources.list
> changes) I encountered this ugly situation:
>
> Preparing to replace indent 2.2.9-7 (using .../indent_2.2.9-9_i386.deb) ...
> Errno architecture (i486-linux-gnu-thread-multi-2.6.22-3-amd64) does
> not match executable architecture
> (i486-linux-gnu-thread-multi-2.6.22.10) at
> /usr/local/share/perl/5.8.8/Errno.pm line 11.
   ^
The same problem appeared in the thread "install-info/dpkg b0rked ?"
yesterday, see my reply there.  Where does this local Errno.pm come
from?

> I'm presently working around this by commenting lines 11-13 in
> /usr/local/share/perl/5.8.8/Errno.pm:
> 11 #"$Config{'archname'}-$Config{'osvers'}" eq
> 12 #"i486-linux-gnu-thread-multi-2.6.22-3-amd64" or
> 13 #   die "Errno architecture
> (i486-linux-gnu-thread-multi-2.6.22-3-amd64) does not match executable
> architectur$

The Errno.pm that is included in Debian's perl-base package does not
include this check.

> ...and clearly this isn't a solution at all.  I feel distinctly uneasy
> with a workaround that out-uglies the original problem like this one.
>
> Does anyone have any idea of what is actually going on here?

Please try to find out where you got
/usr/local/share/perl/5.8.8/Errno.pm from.

Regards,
Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Sarge -> Lenny

2007-12-21 Thread Cam

Hi All,

apt-get dist-upgrade normally works a treat, but having used it lately 
to move from Etch to Lenny (after appropriate /etc/apt/sources.list 
changes) I encountered this ugly situation:


Preparing to replace indent 2.2.9-7 (using .../indent_2.2.9-9_i386.deb) ...
Errno architecture (i486-linux-gnu-thread-multi-2.6.22-3-amd64) does not 
match executable architecture (i486-linux-gnu-thread-multi-2.6.22.10) at 
/usr/local/share/perl/5.8.8/Errno.pm line 11.

Compilation failed in require at /usr/sbin/install-info line 308.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 308.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
Errno architecture (i486-linux-gnu-thread-multi-2.6.22-3-amd64) does not 
match executable architecture (i486-linux-gnu-thread-multi-2.6.22.10) at 
/usr/local/share/perl/5.8.8/Errno.pm line 11.

Compilation failed in require at /usr/sbin/install-info line 308.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 308.
dpkg: error processing /var/cache/apt/archives/indent_2.2.9-9_i386.deb 
(--unpack):

subprocess new pre-removal script returned error exit status 9
Errno architecture (i486-linux-gnu-thread-multi-2.6.22-3-amd64) does not 
match executable architecture (i486-linux-gnu-thread-multi-2.6.22.10) at 
/usr/local/share/perl/5.8.8/Errno.pm line 11.

Compilation failed in require at /usr/sbin/install-info line 308.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 308.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
/var/cache/apt/archives/indent_2.2.9-9_i386.deb

This kept happening for any package that wanted to use install-info to 
(presumably) update the Info doc database - and that's a few packages 
when doing a full migration!


I'm presently working around this by commenting lines 11-13 in
/usr/local/share/perl/5.8.8/Errno.pm:

1 #
2 # This file is auto-generated. ***ANY*** changes here will be lost
3 #
4
5 package Errno;
6 our (@EXPORT_OK,%EXPORT_TAGS,@ISA,$VERSION,%errno,$AUTOLOAD);
7 use Exporter ();
8 use Config;
9 use strict;
10
11 #"$Config{'archname'}-$Config{'osvers'}" eq
12 #"i486-linux-gnu-thread-multi-2.6.22-3-amd64" or
13 #   die "Errno architecture 
(i486-linux-gnu-thread-multi-2.6.22-3-amd64) does not match executable 
architectur$



...and clearly this isn't a solution at all.  I feel distinctly uneasy 
with a workaround that out-uglies the original problem like this one.


Does anyone have any idea of what is actually going on here?


cheers,
cam


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]