Bug#239719: xserver-xfree86: v4.3.0-7 post-installation script returned error exit status 139
On 2004-03-25 Greg Folkert <greg@gregfolkert.net> wrote:
> Okay Gents. Have done the editing of
> /var/lib/dpkg/info/xserver-xfree86.[pre|post]inst
> To have "set -x" as the second line
> As they Both now are faulty since I downgraded to -5 and the re-updated to
> -7
> I even did a "set -x" before I ran the command, as you will see.
> -- Begin xf86-install-set-x-debug-out
> Before this output of script, I edited both
> /var/lib/dpkg/info/xserver-xfree86.preinst
> /var/lib/dpkg/info/xserver-xfree86.postinst
> to have "set -x" as the second line.
> Script started on Wed 24 Mar 2004 06:24:59 PM EST
> duke:/win1# set -x
> duke:/win1# DEBCONF_DEBUG=developer dpkg --debug=3773 --install
[...]
That does not work:
* Because of the way debconf double-executes the config script set -x
set for the current shell is not used when actually running the
script.
* Editing /var/lib/dpkg/info/xserver-xfree86.* is lost
when running 'dpkg --install', the interesting scripts (.config and
.postinst - one of these was failing) are overwritten and the
changes are lost before they are executed.
Please install -7, *then* edit
/var/lib/dpkg/info/xserver-xfree86.(postinst|config) and afterwards
run dpkg --configure xserver-xfree86.
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
Reply to: