On Thu, 2004-03-25 at 11:20, Andreas Metzler wrote:
> On 2004-03-25 Greg Folkert <greg@gregfolkert.net> wrote:
> > On Thu, 2004-03-25 at 04:24, Andreas Metzler wrote:
> > > 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.
>
> > Okay here is the deal. It will NOT install. I have done as best I can to
> > get everything right for your needs.
> [...]
> > duke:~# DEBCONF_DEBUG=developer dpkg -i /var/cache/apt/archives/xserver-xfree86_4.3.0-7_i386.deb
> [...]
> > dpkg: error processing /var/cache/apt/archives/xserver-xfree86_4.3.0-7_i386.deb (--install):
> > subprocess pre-installation script returned error exit status 139
> > Errors were encountered while processing:
> > /var/cache/apt/archives/xserver-xfree86_4.3.0-7_i386.deb
> > duke:~# COLUMNS=148 dpkg -l | grep xserver-xfree86
> > + COLUMNS=148
> > + dpkg -l
> > + grep xserver-xfree86
> > iU xserver-xfree86 4.3.0-5 the XFree86 X server
> [...]
> > duke:~# dpkg --configure xserver-xfree86
> [...]
>
> Now please edit /var/lib/dpkg/info/xserve... and invoke dpkg
> --configure xserver-xfree86 again.
Script started on Thu Mar 25 11:24:58 2004
duke:~# head -23 /var/lib/dpkg/info/xserver-xfree86.postinst
#!/bin/sh
set -x
# Debian xserver-xfree86 package post-installation script
# Copyright 1998--2003 Branden Robinson.
# Licensed under the GNU General Public License, version 2. See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
# $Id: xserver-xfree86.postinst.in 1044 2004-02-16 17:40:33Z branden $
set -e
# source debconf library
. /usr/share/debconf/confmodule
THIS_PACKAGE=xserver-xfree86
THIS_SCRIPT=postinst
# $Id: shell-lib.sh 1124 2004-03-02 19:05:03Z branden $
SOURCE_VERSION=4.3.0-5
OFFICIAL_BUILD=yes
duke:~# dpkg --configure xserver-xfree86
Setting up xserver-xfree86 (4.3.0-5) ...
+ set -e
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/xserver-xfree86.postinst configure 4.3.0-5
dpkg: error processing xserver-xfree86 (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
xserver-xfree86
duke:~# exit
Script done on Thu Mar 25 11:26:12 2004
--
greg@gregfolkert.net
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry
Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup
Attachment:
signature.asc
Description: This is a digitally signed message part