[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#76941: dpkg: Wrong installation arch on the new Hurd (improved uname detects processor model)



Package: dpkg
Version: 1.10.9
Severity: important

It appears that current uname can detect processor model which is
not reflected in achtable. This leads to inability to install any
packages with newly compiled dpkg due to arch mismatch.

hurd:/usr/src# dpkg -i dselect_1.10.9_hurd-i386.deb 
dpkg: error processing dselect_1.10.9_hurd-i386.deb (--install):
 package architecture (hurd-i386) does not match system (i686-gnu0.3)
Errors were encountered while processing:
 dselect_1.10.9_hurd-i386.deb

I hope the patch below fixes the problem

--- /usr/src/dpkg-1.10.9/archtable.orig	2002-10-22 17:58:16.000000000 +0200
+++ /usr/src/dpkg-1.10.9/archtable	2002-10-22 18:19:24.000000000 +0200
@@ -31,9 +31,12 @@
 mips-linux-gnu		mips		mips
 mipsel-linux-gnu	mipsel		mipsel
 mipseb-linux-gnu	mips		mips
-i386-gnu		hurd-i386	undefined
-i386-gnu0.2		hurd-i386	undefined
-i386-gnu0.3		hurd-i386	undefined
+i386-gnu		hurd-i386	hurd-i386
+i386-gnu0.2		hurd-i386	hurd-i386
+i386-gnu0.3		hurd-i386	hurd-i386
+i486-gnu0.3		hurd-i386	hurd-i386
+i586-gnu0.3		hurd-i386	hurd-i386
+i686-gnu0.3		hurd-i386	hurd-i386
 ia64-linux-gnu		ia64		ia64
 ia64-unknown-linux	ia64		ia64
 sh3-linux-gnu		sh3		sh3

-- System Information
Debian Release: testing/unstable
Kernel Version: GNU hurd 0.3 GNUmach-1.90/Hurd-0.3 i686-AT386 unknown unknown GNU

Versions of the packages dpkg depends on:
ii  dselect        1.10.9         a user tool to manage Debian packages
ii  hurd           20021011-1     The GNU Hurd
ii  libc0.3        2.2.5-13       GNU C Library: Shared libraries and Timezone



Reply to: