Re: dpkg segfaulting

1999-05-18 Thread Orion the Hunter
Quoting Paulo Henrique Baptista de Oliveira <[EMAIL PROTECTED]>:
>   Hi Debian users,
>   I have Debian installed in one Sparc 4 (mainly slink) and dpkg is
> segfaulting allways.
>   Let's see an example:
> 


It's not dpkg, it's dhelp_parse.  The same thing happened to me some
time ago, and I had to patch and recompile the package dhelp to make it
work (patch below).  The problem seems to be that the lib libdb and the
include file db.h in libc6 2.0.105 is from a version different than the
one in i386.  I think this should be fixed for version 2.1.1.



*** dhelp_parse.c   Tue Sep 21 23:26:54 1999
--- dhelp_parse.c.new   Tue Apr 27 13:47:06 1999
***
*** 11,17 
  #include 
  #include 
  #include 
! #include 
  #include 
  #include 
  #include 
--- 11,17 
  #include 
  #include 
  #include 
! #include 
  #include 
  #include 
  #include 
*** MakefileTue Sep 21 23:26:54 1999
--- Makefile.newTue Apr 27 13:44:22 1999
***
*** 1,5 
  all: dhelp_parse.o
!   gcc dhelp_parse.o -o dhelp_parse -ldb
  
  clean: 
rm -rf dhelp_parse dhelp_parse.o *~ core
--- 1,5 
  all: dhelp_parse.o
!   gcc dhelp_parse.o -o dhelp_parse -ldb1
  
  clean: 
rm -rf dhelp_parse dhelp_parse.o *~ core



dpkg segfaulting

1999-05-18 Thread Paulo Henrique Baptista de Oliveira
Hi Debian users,
I have Debian installed in one Sparc 4 (mainly slink) and dpkg is
segfaulting allways.
Let's see an example:

===

[EMAIL PROTECTED]: ~$ su
Password:
honolulu:/home/IA/baptista# dpkg -i libpam-doc_0.66-9.deb 
Selecting previously deselected package libpam-doc.
(Reading database ... 30852 files and directories currently installed.)
Preparing to replace libpam-doc 0.66-7 (using libpam-doc_0.66-9.deb) ...
/var/lib/dpkg/info/libpam-doc.prerm: line 5:  6655 Segmentation fault
/usr/
sbin/dhelp_parse -d /usr/doc/libpam-doc/html
dpkg: warning - old pre-removal script returned error exit status 139
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: line 5:  6657 Segmentation fault
/usr/sbin/dhel
p_parse -d /usr/doc/libpam-doc/html
dpkg: error processing libpam-doc_0.66-9.deb (--install):
 subprocess new pre-removal script returned error exit status 139
/var/lib/dpkg/info/libpam-doc.postinst: line 5:  6659 Segmentation fault
/u
sr/sbin/dhelp_parse -a /usr/doc/libpam-doc/html
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
 libpam-doc_0.66-9.deb
honolulu:/home/IA/baptista# 


===

I dont know what to do? What other informations I have to do for you?
Thank you,  Paulo Henrique