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

Re: post-installation script errors

On Mon, 11 Aug 2003, Peter Nome wrote:

> On a woody base install, I'm getting lots of post-installation script errors, like this:
> # dpkg -i sed_3.02-8_i386.deb
> (Reading database ... 6623 files and directories currently installed.)
> Preparing to replace sed 3.02-8 (using sed_3.02-8_i386.deb) ...
> /var/lib/dpkg/info/sed.prerm: line 9:   653 Segmentation fault      install-info --quiet --remove sed
> dpkg: warning - old pre-removal script returned error exit status 139
> dpkg - trying script from the new package instead ...
> dpkg: ... it looks like that went OK.
> Unpacking replacement sed ...
> Setting up sed (3.02-8) ...
> /var/lib/dpkg/info/sed.postinst: line 11:   662 Segmentation fault      install-info --quiet --section "General commands" "General commands" /usr/share/info/sed.info
> dpkg: error processing sed (--install):
>  subprocess post-installation script returned error exit status 139
> Errors were encountered while processing:
>  sed
> If I comment out the line starting "install-info" in /var/lib/dpkg/info/sed.postinst I can complete the configuration with apt-get --reinstall install sed (or sometimes dpkg --configure sed). However, I get this on lots of packages. What's going on?
> Strace below. I don't really think it's a bug in dpkg, as I'm running dpkg without problems on a dozen other machines.
> On this particular one, both dpkg_1.9.21_i386.deb and dpkg_1.10.10_i386.deb produce the same segfault error.
> Please cc: me. I'd really appreciate suggestions and insights; I'm stumped.

install-info is perl.  maybe the bug is there?

Also, try running the install-info cmd from the command line, and turn on core
dumping(ulimit -c unlimited).

Reply to: