Bug#544712: Upgrading perl from 5.10.0-24 to 5.10.0-25 fails
Julian Andres Klode
jak at debian.org
Wed Sep 2 19:24:26 UTC 2009
On Wed, Sep 02, 2009 at 10:16:50PM +0300, Niko Tyni wrote:
> On Wed, Sep 02, 2009 at 04:51:55PM +0200, Julian Andres Klode wrote:
> > Package: perl
> > Version: 5.10.0-25
> > Severity: grave
> >
> > Perl fails to upgrade in my build chroot although it worked
> > on my laptop.
>
> > -bash: /usr/sbin/update-alternatives: /usr/bin/perl: bad interpreter: No such file or directory
>
> That's really weird.
>
> Is /usr/bin/perl really missing or is it one of the libraries it links to?
>
> What's the output of 'ldd /usr/bin/perl' and 'ldd /usr/lib/libperl.so.5.10' ?
>
> Everything needed for /usr/bin/perl should obviosly be in perl-base
> (and libc6, which it Pre-Depends on.)
ldd
----
hp:/home/jak/Desktop# ldd /usr/bin/perl
ldd: /usr/bin/perl: No such file or directory
hp:/home/jak/Desktop# ldd /usr/lib/libperl.so.5.10.0
ldd: exited with unknown exit code (139)
=> Maybe something wrong with libperl?
readelf
---------------
hp:/home/jak/Desktop# readelf -a /usr/lib/libperl.so.5.10.0
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x38640
Start of program headers: 64 (bytes into file)
Start of section headers: 1483944 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 6
Size of section headers: 64 (bytes)
Number of section headers: 28
Section header string table index: 27
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] <no-name> NULL 0000000000000000 00000000
0000000000000000 0000000000000190 11 7 2
[ 1] <no-name> NULL 0000000000000000 00000004
0000000000000000 00000000000001b8 XS 34 5 2
[ 2] <no-name> NULL 0000000000000004 00000008
0000000000000004 00000000000044b8 XxMSILGx 30 1879048182 2
[ 3] <no-name> NULL 0000000000000004 00000008
0000000000000000 0000000000007c00 XIOGTxx 40 11 2
[ 4] <no-name> NULL 0000000200000005 00000008
0000000000000018 0000000000014d40 IOxxx 48 3 2
[ 5] <no-name> NULL 0000000000000000 00000001
0000000000000000 000000000001d846 AXOGxx 56 1879048191 2
[ 6] <no-name> NULL 0000000000000004 00000002
0000000000000002 000000000001e9b8 MSIOx 69 1879048190 2
[ 7] <no-name> NULL 0000000500000005 00000008
0000000000000000 000000000001ea78 IL 84 4 2
[ 8] <no-name> NULL 0000000000000004 00000008
0000000000000018 000000000002e0f0 xMSIGTxxxx 94 4 2
[ 9] <no-name> NULL 0000000b00000004 00000008
0000000000000018 0000000000034408 xMOGxx 104 1 6
[10] <no-name> NULL 0000000000000000 00000004
0000000000000000 0000000000034420 xM 99 1 6
[11] <no-name> NULL 0000000000000000 00000004
0000000000000010 0000000000038640 SGx 110 1 6
[12] <no-name> NULL 0000000000000000 00000010
0000000000000000 00000000001366a8 xSIxxxxxxx 116 1 6
[13] <no-name> NULL 0000000000000000 00000004
0000000000000000 00000000001366c0 AXx 122 1 2
[14] <no-name> NULL 0000000000000000 00000020
0000000000000000 000000000014d580 ILGTxxxx 130 1 2
[15] <no-name> NULL 0000000000000000 00000004
0000000000000000 0000000000151678 XMSILx 144 1 2
[16] <no-name> NULL 0000000000000000 00000008
0000000000000000 0000000000362000 XxMSILTx 154 1 3
[17] <no-name> NULL 0000000000000000 00000008
0000000000000000 0000000000362010 M 161 1 3
[18] <no-name> NULL 0000000000000000 00000008
0000000000000000 0000000000362028 xM 168 1 3
[19] <no-name> NULL 0000000000000000 00000008
0000000000000000 0000000000362040 x 173 1 3
[20] <no-name> NULL 0000000000000000 00000020
0000000000000000 0000000000365188 xIOxx 186 6 3
[21] <no-name> NULL 0000000000000005 00000008
0000000000000010 0000000000365368 SILO 195 1 3
[22] <no-name> NULL 0000000000000000 00000008
0000000000000008 0000000000365980 xMGT 200 1 3
[23] <no-name> NULL 0000000000000000 00000008
0000000000000008 0000000000367aa0 SOx 209 1 3
[24] <no-name> NULL 0000000000000000 00000020
0000000000000000 000000000036a3c0 XOxx 215 8 3
[25] <no-name> NULL 0000000000000000 00000020
0000000000000000 0000000000000000 xG 220 1 0
[26] <no-name> NULL 0000000000000000 00000001
0000000000000000 0000000000000000 xM 1 3 0
[27] <no-name> NULL 0000000000000000 00000001
0000000000000000 0000000000000000 WAxSIL 0 0 0
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
There are no section groups in this file.
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000161b74 0x0000000000161b74 R E 200000
LOAD 0x0000000000162000 0x0000000000362000 0x0000000000362000
0x00000000000083a4 0x00000000000085c8 RW 200000
DYNAMIC 0x0000000000165188 0x0000000000365188 0x0000000000365188
readelf: Error: no .dynamic section in the dynamic segment
0x00000000000001e0 0x00000000000001e0 RW 8
NOTE 0x0000000000000190 0x0000000000000190 0x0000000000000190
0x0000000000000024 0x0000000000000024 R 4
GNU_EH_FRAME 0x000000000014d580 0x000000000014d580 0x000000000014d580
0x00000000000040f4 0x00000000000040f4 R 4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 8
readelf: Warning: Virtual address 0x6ffffff0 not located in any PT_LOAD segment.
readelf: Error: Unable to determine the length of the dynamic string table
Dynamic section at offset 0x165188 contains 25 entries:
Tag Type Name/Value
0x0000000000008a87 (<unknown>: 8a87) 0x1
0x0000000000008a91 (<unknown>: 8a91) 0x1
0x0000000000008aa1 (<unknown>: 8aa1) 0x1
0x0000000000008ab5 (<unknown>: 8ab5) 0xe
0x0000000000008ad6 (<unknown>: 8ad6) 0xc
0x0000000000034408 (<unknown>: 34408) 0xd
0x00000000001366a8 (<unknown>: 1366a8) 0x4
0x00000000000001b8 (<unknown>: 1b8) 0x6ffffef5
0x00000000000044b8 (<unknown>: 44b8) 0x5
0x0000000000014d40 (<unknown>: 14d40) 0x6
0x0000000000007c00 (<unknown>: 7c00) 0xa
0x0000000000008b06 (<unknown>: 8b06) 0xb
0x0000000000000018 (BIND_NOW)
0x0000000000365980 (<unknown>: 365980) 0x2
0x0000000000006318 (<unknown>: 6318) 0x14
0x0000000000000007 (RELA) 0x17
0x000000000002e0f0 (<unknown>: 2e0f0) 0x7
0x000000000001ea78 (<unknown>: 1ea78) 0x8
0x000000000000f678 (<unknown>: f678) 0x9
0x0000000000000018 (BIND_NOW)
0x000000000001e9b8 (<unknown>: 1e9b8) 0x6fffffff
0x0000000000000005 (STRTAB) 0x6ffffff0
0x000000000001d846 (<unknown>: 1d846) 0x6ffffff9
0x00000000000004a7 (<unknown>: 4a7) 0x0
0x0000000000000000 (NULL) 0x0
There are no relocations in this file.
There are no unwind sections in this file.
No version information found in this file.
> --
> Niko Tyni ntyni at debian.org
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
More information about the Perl-maintainers
mailing list