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]

Reply via email to