apt-get dist-upgrade failed - architecture (i486-linux-gnu-thread-multi-2.6.15.7) does not match executable architecture (i486-linux-gnu-thread-multi-2.6.24-14-server)

Bug #316013 reported by Jeff Bisbee
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: util-linux

Preparing to replace util-linux 2.13.1-5ubuntu2 (using .../util-linux_2.13.1-5ubuntu3_i386.deb) ...
Errno architecture (i486-linux-gnu-thread-multi-2.6.15.7) does not match executable architecture (i486-linux-gnu-thread-multi-2.6.24-14-server) 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

ProblemType: Package
Architecture: i386
Date: Sun Jan 11 03:49:38 2009
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess new pre-removal script returned error exit status 9
NonfreeKernelModules: fglrx
Package: util-linux 2.13.1-5ubuntu2
PackageArchitecture: i386
SourcePackage: util-linux
Title: package util-linux 2.13.1-5ubuntu2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 9
Uname: Linux 2.6.24-22-generic i686

Revision history for this message
Jeff Bisbee (jbisbee) wrote :
Revision history for this message
William Gallafent (william-gallaf-deactivatedaccount) wrote :

I also experience this on 8.04 LTS. Log attached.

Revision history for this message
William Gallafent (william-gallaf-deactivatedaccount) wrote :

I should have noted that I get the same problem with “sudo apt-get dist-upgrade” as with “sudo apt-get upgrade” …

Revision history for this message
Vegard Loekken (vegard-loekken) wrote :

I had the same problem. Solved it by editing the /usr/lib/perl/5.8.8/Config.pm file, changing "2.6.24-14-server" to "2.6.15.7" under the "osvers"-option on line 85. Strange error and maybe a strange fix, but i worked for me.

Revision history for this message
mdtatroe (mdtatroe) wrote :

I found a blog entry about a similar error related to Errno.pm.

http://www.debian-administration.org/users/simonw/weblog/201

I tried the suggested fix in there and it worked for me.

 root@zuul:~# locate Errno.pm
 /usr/lib/perl/5.8.8/Errno.pm
 /usr/local/share/perl/5.8.8/Errno.pm
 root@zuul:~# mv /usr/local/share/perl/5.8.8/Errno.pm /usr/local/share/perl/5.8.8/DONOTUSE-Errno.pm

After that change I was able to successfully run apt-get upgrade.

Revision history for this message
mla (maurice-aubrey) wrote :

I was also bitten by this. There's a good explanation of how to upgrade the Errno module here (see post #5):

  http://ubuntuforums.org/showthread.php?p=6558942

Perhaps the Errno check should be changed to a warning instead of a fatal error.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

marking as confirmed, importance probably medium...

Changed in util-linux (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

reassigning to the perl package

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.