[debian unstable] perl foutmelding verkeerde architecture

Pagina: 1
Acties:

  • Ankh
  • Registratie: Mei 2001
  • Laatst online: 18:16
Vanmorgen wilde ik me server eens updaten met de nieuwste updates.

Alles ging goed totdat hij bij het pakket util-linux kwam.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
centurion:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  snmp snmpd
The following packages will be upgraded:
  util-linux
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 433kB of archives.
After unpacking 8192B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 ftp://ftp.debian.nl unstable/main util-linux 2.13-7 [433kB]
Fetched 433kB in 5s (79.2kB/s)
(Reading database ... 38309 files and directories currently installed.)
Preparing to replace util-linux 2.13-5 (using .../util-linux_2.13-7_i386.deb) ...
Errno architecture (i486-linux-gnu-thread-multi-2.6.18.3) does not match executable architecture (i486-linux-gnu-

thread-multi-2.6.22.6) at /usr/local/share/perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/sbin/install-info line 304.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 304.
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.18.3) does not match executable architecture (i486-linux-gnu-

thread-multi-2.6.22.6) at /usr/local/share/perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/sbin/install-info line 304.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 304.
dpkg: error processing /var/cache/apt/archives/util-linux_2.13-7_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 9
Errno architecture (i486-linux-gnu-thread-multi-2.6.18.3) does not match executable architecture (i486-linux-gnu-

thread-multi-2.6.22.6) at /usr/local/share/perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/sbin/install-info line 304.
BEGIN failed--compilation aborted at /usr/sbin/install-info line 304.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 /var/cache/apt/archives/util-linux_2.13-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


wat eigenlijk simpel was:
code:
1
Errno architecture (i486-linux-gnu-thread-multi-2.6.18.3) does not match executable architecture (i486-linux-gnu-thread-multi-2.6.22.6) at /usr/local/share/perl/5.8.8/Errno.pm line 11.

Daar lag het probleem.

Maar wat ik ook probeer, deze foutmelding blijf ik overal krijgen zolang het Perl nodig heeft.

met Perl -MCPAN -e shell krijg ik hetzelfde bij een r command. Waardoor ik eigenlijk niets kan doen (de rest werkt nog perfect btw)

Hetgeen wat ik al gedaan heb is Perl opnieuw te installeren. (dus met een force eraf gehaald en er opnieuw op gezet). Ook heb ik alle deb's bekeken welke misschien verkeerd geinstalleerd waren. maar ook daar zag ik niets verkeerd.

Als kernel draai ik 2.6.22. Weet iemand hier een simpele oplossing voor 8)7

Bij debian had ik dit aangemeld als bug zijnde, maar degene vertelde me dat het een probleem was van perl. En hij wist niet hoe je het op kon lossen. Zelfde geldt voor Google. Er 1 iemand anders te vinden met het probleem. En daar zijn geen replies op qua antwoorden.

-Ankh- Camera Gear: Nikon D7000 | Nikon AF-S DX 16-85mm f3.5-5.6 AF-S DX VR & Tokina AT-X 116 Pro DX AF 11-16mm f2,8


  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 13:45

deadinspace

The what goes where now?

Ik heb een soortgelijke bugreport gevonden: #443262 (of is dat jouw bugreport?).

De conclusie daar is dat het veroorzaakt wordt door 3rd party perl dingen, en dat is inderdaad wel logisch aangezien die file in /usr/local staat. Waar komt die file vandaan? Wat heb je zelf geinstalleerd wat daar verantwoordelijk voor kan zijn?

  • eamelink
  • Registratie: Juni 2001
  • Niet online

eamelink

Droptikkels

Ik had zojuist hetzelfde. 'Opgelost' door /usr/share/perl te renamen naar iets anders...

  • _JGC_
  • Registratie: Juli 2000
  • Laatst online: 18:13
/usr/local/share/perl ? Dat wijst op of een brak perl pakket, of iets wat je zelf hebt gecompileerd.

  • Ankh
  • Registratie: Mei 2001
  • Laatst online: 18:16
eamelink schreef op donderdag 27 september 2007 @ 21:40:
Ik had zojuist hetzelfde. 'Opgelost' door /usr/share/perl te renamen naar iets anders...
ik heb de errno bestand aangepast en werkt nu ook weer.
Echt vaag.

maar niets zelf gecompiled. Alles prebuild van debian zelf. Behalve een kleine aantal pakketjes voor horde3 :)

-Ankh- Camera Gear: Nikon D7000 | Nikon AF-S DX 16-85mm f3.5-5.6 AF-S DX VR & Tokina AT-X 116 Pro DX AF 11-16mm f2,8