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

Re: dpkg/lchown and 2.0.3[0-4] kernels



On Monday, December 7 1998, at 22:10:12, Nikhil Nair wrote:
: 
: So, rather than upgrade to 2.0.35, what can I do to get dpkg going again?
: I tried installing lchown.so (which Nikita Schmidt posted on Aug 30) but
: then tar failed to chmod anything ... maybe incompatible syscall numbers?

You can just recompile your 2.0.3[0-4] kernel with the attached
patch, and the last dpkg will work ok with the last libc.
It does for me :)

Regards,
-- 
Roberto Lumbreras
e-mail: rover@lander.es, rover@etsit.upm.es, rover@debian.org
PGP: id 143BE391; B4 E2 73 BA 63 BF 55 EE  FE E8 32 32 69 9E BF 47
Lander Internet, Madrid-Spain-UE; http://www.lander.es

--- linux-2.0.33/arch/alpha/kernel/traps.c.orig	Sun Dec  7 05:38:36 1997
+++ linux-2.0.33/arch/alpha/kernel/traps.c	Wed Nov 25 22:46:52 1998
@@ -422,7 +422,7 @@
 {
 	if (regs.r0 != 112 && regs.r0 < 300)
 		printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);
-	return -1;
+	return -ENOSYS;
 }
 
 extern asmlinkage void entMM(void);

Reply to: