Comment 4 for bug 7226

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 30 Jul 2004 00:57:24 -0700
From: Steve Langasek <email address hidden>
To: Shot <email address hidden>, <email address hidden>
Subject: Re: Bug#262148: php4: fails post-installation; returned error exit status 20

--Y51z1SGMnxVzkhDv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tags 262148 unreproducible
severity 262148 important
thanks

On Fri, Jul 30, 2004 at 12:25:09AM +0200, Shot wrote:
> `aptitude install php4` on a brand new sarge-upgraded-to-sid
> system (just after installing apache) is broken:

> Reading Package Lists... Done
> Building Dependency Tree
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Writing extended state information... Done
> Setting up php4 (4.3.8-3) ...
> /
> /
> dpkg: error processing php4 (--configure):
> subprocess post-installation script returned error exit status 20
> Errors were encountered while processing:
> php4
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> Ack! Something bad happened while installing packages. Trying to recove=
r:
> Setting up php4 (4.3.8-3) ...
> /home/shot
> /home/shot
> dpkg: error processing php4 (--configure):
> subprocess post-installation script returned error exit status 128
> Errors were encountered while processing:
> php4
> Reading Package Lists... Done
> Building Dependency Tree
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done

# aptitude install php4
Reading Package Lists... Done
Building Dependency Tree =20
Reading extended state information =20
Initializing package states... Done
Reading task descriptions... Done =20
The following NEW packages will be installed:
  php4=20
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1743kB of archives. After unpacking 3772kB will be used.
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done =20
Preconfiguring packages ...
Selecting previously deselected package php4.
(Reading database ... 166106 files and directories currently installed.)
Unpacking php4 (from .../php4_4%3a4.3.8-3_alpha.deb) ...
Setting up php4 (4.3.8-3) ...
Replacing config file /etc/apache/modules.conf with new version

Reading Package Lists... Done =20
Building Dependency Tree =20
Reading extended state information =20
Initializing package states... Done
Reading task descriptions... Done =20
#

You'll have to provide more information about your system; there doesn't
seem to be a problem in general with installing this package.

In particular, this section of your log looks very suspicious:

> Setting up php4 (4.3.8-3) ...
> /
> /
> dpkg: error processing php4 (--configure):
> subprocess post-installation script returned error exit status 20
> Errors were encountered while processing:
> php4
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> Ack! Something bad happened while installing packages. Trying to recove=
r:
> Setting up php4 (4.3.8-3) ...
> /home/shot
> /home/shot
> dpkg: error processing php4 (--configure):

There is no reason why the php4 postinst script would be outputting
directory names on its own. Something else seems to be broken on your
system.

--=20
Steve Langasek
postmodern programmer

--Y51z1SGMnxVzkhDv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCf9iKN6ufymYLloRAt4/AJ9ze8JPiIPbgsbQMe8aP69JxHZXwgCgsEAh
Vbb/aL8htL/6YUy5Q811oKk=
=TES2
-----END PGP SIGNATURE-----

--Y51z1SGMnxVzkhDv--