php4: fails post-installation; returned error exit status 20

Bug #7226 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
php4 (Debian)
Fix Released
Unknown
php4 (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #262148 http://bugs.debian.org/262148

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

Automatically imported from Debian bug report #262148 http://bugs.debian.org/262148

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.2 KiB)

Message-ID: <email address hidden>
Date: Fri, 30 Jul 2004 00:25:09 +0200
From: Shot <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: php4: fails post-installation; returned error exit status 20

Package: php4
Version: 4:4.3.8-3
Severity: grave
Justification: renders package unusable

Hello.

`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 recover:
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

I tried to `dpkg -i` 4.3.8-2, 4.3.8-1, 4.3.4-4, 4.3.4-2 and 4.3.4-1 with
the same result. Then I got bored and tried 4.3.3-1 for a chagne - there
was something new, the installation process hung. So I tried 4.3.3-2,
which worked, and then upgraded it without a problem to 4.3.8-3 in one
go.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8

Versions of packages php4 depends on:
ii apache-common 1.3.31-2 Support files for all Apache webse
ii debconf [debconf-2.0] 1.4.30 Debian configuration management sy
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libmm13 1.3.0-3 Shared memory library - runtime
ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi
ii libssl0.9.7 0.9.7d-5 SSL shared libraries
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii zlib1g 1:1.2.1.1-5 compression library - runtime

-- debconf information:
  php4/update_apache_php_ini: true

Cheers,
-- Shot (Piotr Szotkowski)
--
.--- http://shot.pl/ --- http://shot.pl/hovercraft/ --- -- -
| Today is a good day. Not because anything wonderful is happening,
| so much, but because my d...

Read more...

Revision history for this message
In , Steve Langasek (vorlon) wrote : Re: Bug#262148: php4: fails post-installation; returned error exit status 20
Download full text (3.2 KiB)

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 recover:
> 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
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
  php4
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
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
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
#

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 recover:
> 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.

--...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.9 KiB)

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 en...

Read more...

Revision history for this message
In , chastell (chastell) wrote :

Hello.

Steve Langasek:

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

Well, I don't know what exactly would be a useful information -
it's a freshly installed[1] sarge upgraded to sid. Can you test
a fresh install on an i386 (as opposed to alpha) machine?

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261899

> 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 recover:
> > 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.

The strange thing is, when I wanted to purge
php4 and try again, I couldn't; all I got was

(Reading database ... 69140 files and directories currently installed.)
Removing php4 ...
/
/
dpkg: error processing php4 (--purge):
 subprocess pre-removal 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 recover:

When I tried to `dpkg -i`-downgrade 4.3.8-3 to 4.3.3-2 I got exit status
128, but the system somehow thought it's got php4 4.3.3-2 anyway; when
I told aptitude to upgrade this back to 4.3.8-3 it worked flawlessly.

Pozdrav
-- Shot (Piotr Szotkowski)
--
.--- http://shot.pl/ --- http://shot.pl/wycinki/ --- -- -
| Java programmers are so in love with abstraction, they forget to code.
| -- Pim van Riezen
`----- ---- --- -- -

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

Message-ID: <email address hidden>
Date: Fri, 30 Jul 2004 20:22:14 +0200
From: Shot <email address hidden>
To: Steve Langasek <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#262148: php4: fails post-installation; returned error exit status 20

Hello.

Steve Langasek:

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

Well, I don't know what exactly would be a useful information -
it's a freshly installed[1] sarge upgraded to sid. Can you test
a fresh install on an i386 (as opposed to alpha) machine?

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261899

> 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 recover:
> > 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.

The strange thing is, when I wanted to purge
php4 and try again, I couldn't; all I got was

(Reading database ... 69140 files and directories currently installed.)
Removing php4 ...
/
/
dpkg: error processing php4 (--purge):
 subprocess pre-removal 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 recover:

When I tried to `dpkg -i`-downgrade 4.3.8-3 to 4.3.3-2 I got exit status
128, but the system somehow thought it's got php4 4.3.3-2 anyway; when
I told aptitude to upgrade this back to 4.3.8-3 it worked flawlessly.

Pozdrav
-- Shot (Piotr Szotkowski)
--
.--- http://shot.pl/ --- http://shot.pl/wycinki/ --- -- -
| Java programmers are so in love with abstraction, they forget to code.
| -- Pim van Riezen
`----- ---- --- -- -

Revision history for this message
In , Steve Langasek (vorlon) wrote :

reassign 262148 bash
severity 262148 grave
merge 262619 262148
thanks

This bug appears to be a bug in bash that has broken apache-modconf, as
already identified by the Apache maintainers.

--
Steve Langasek
postmodern programmer

On Fri, Jul 30, 2004 at 08:22:14PM +0200, Shot wrote:
> Hello.
>
> Steve Langasek:
>
> > You'll have to provide more information about your system; there
> > doesn't seem to be a problem in general with installing this package.
>
> Well, I don't know what exactly would be a useful information -
> it's a freshly installed[1] sarge upgraded to sid. Can you test
> a fresh install on an i386 (as opposed to alpha) machine?
>
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261899
>
> > 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 recover:
> > > 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.
>
> The strange thing is, when I wanted to purge
> php4 and try again, I couldn't; all I got was
>
> (Reading database ... 69140 files and directories currently installed.)
> Removing php4 ...
> /
> /
> dpkg: error processing php4 (--purge):
> subprocess pre-removal 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 recover:
>
> When I tried to `dpkg -i`-downgrade 4.3.8-3 to 4.3.3-2 I got exit status
> 128, but the system somehow thought it's got php4 4.3.3-2 anyway; when
> I told aptitude to upgrade this back to 4.3.8-3 it worked flawlessly.
>
> Pozdrav
> -- Shot (Piotr Szotkowski)
> --
> .--- http://shot.pl/ --- http://shot.pl/wycinki/ --- -- -
> | Java programmers are so in love with abstraction, they forget to code.
> | -- Pim van Riezen
> `----- ---- --- -- -

Revision history for this message
In , Steve Langasek (vorlon) wrote : blah blah

severity 262148 serious
tags 262148 -unreproducible
merge 262619 262148
tags 262619 sid
thanks

Revision history for this message
In , Matthias Klose (doko-cs) wrote : merge/unmerge/reassign bash reports

severity 262642 grave
severity 262438 grave
merge 262642 262438
tags 262642 + sid
forwarded 262642 <email address hidden>

unmerge 262148
reassign 262148 apache
tags 262148 +fixed

thanks

Revision history for this message
In , Fabio Massimo Di Nitto (fabbione) wrote : Closing

Hi,
 this problem has been introduced with the new bash3.0 in debian. apache
packages to workaround new bash behaviorus have been uploaded today and
they will be available on the mirrors tomorrow 2nd of august.

I am closing this bug.

Fabio

--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.

Revision history for this message
Thom May (thombot) wrote :

Agreeing with Steve - this looks like a broken system, rather than a packaging
problem. NOTWARTY

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.1 KiB)

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 02:33:06 -0700
From: Steve Langasek <email address hidden>
To: Shot <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#262148: php4: fails post-installation; returned error exit status 20

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

reassign 262148 bash
severity 262148 grave
merge 262619 262148
thanks

This bug appears to be a bug in bash that has broken apache-modconf, as
already identified by the Apache maintainers.

--=20
Steve Langasek
postmodern programmer

On Fri, Jul 30, 2004 at 08:22:14PM +0200, Shot wrote:
> Hello.
>=20
> Steve Langasek:
>=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.
>=20
> Well, I don't know what exactly would be a useful information -
> it's a freshly installed[1] sarge upgraded to sid. Can you test
> a fresh install on an i386 (as opposed to alpha) machine?
>=20
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D261899
>=20
> > In particular, this section of your log looks very suspicious:
> >=20
> > > 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 re=
cover:
> > > Setting up php4 (4.3.8-3) ...
> > > /home/shot
> > > /home/shot
> > > dpkg: error processing php4 (--configure):
> >=20
> > 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
> The strange thing is, when I wanted to purge
> php4 and try again, I couldn't; all I got was
>=20
> (Reading database ... 69140 files and directories currently installed.)
> Removing php4 ...
> /
> /
> dpkg: error processing php4 (--purge):
> subprocess pre-removal 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:
>=20
> When I tried to `dpkg -i`-downgrade 4.3.8-3 to 4.3.3-2 I got exit status
> 128, but the system somehow thought it's got php4 4.3.3-2 anyway; when
> I told aptitude to upgrade this back to 4.3.8-3 it worked flawlessly.
>=20
> Pozdrav
> -- Shot (Piotr Szotkowski)
> --=20
> .--- http://shot.pl/ --- http://shot.pl/wycinki/ --- -- -
> | Java programmers are so in love with abstraction, they forget to code.
> | -- Pim van Riezen
> `----- ---- --- -- -

--+SfteS7bOf3dGlBC
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)

iD8DBQFBDLjQKN6ufymYLloRAqq3AJ9NVIn0j7JH4wGIiD4v/1kG1kK0VgCZAf6r
XJxDEvkRB6mINSQZH5tcC/4=
=WaNV
-----END PGP SIGNATURE-----

--+SfteS7bOf3dGl...

Read more...

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

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 02:51:09 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: blah blah

severity 262148 serious
tags 262148 -unreproducible
merge 262619 262148
tags 262619 sid
thanks

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

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 13:33:18 +0200
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: merge/unmerge/reassign bash reports

severity 262642 grave
severity 262438 grave
merge 262642 262438
tags 262642 + sid
forwarded 262642 <email address hidden>

unmerge 262148
reassign 262148 apache
tags 262148 +fixed

thanks

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

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 16:08:21 +0200 (CEST)
From: Fabio Massimo Di Nitto <email address hidden>
To: <email address hidden>
Subject: Closing

Hi,
 this problem has been introduced with the new bash3.0 in debian. apache
packages to workaround new bash behaviorus have been uploaded today and
they will be available on the mirrors tomorrow 2nd of august.

I am closing this bug.

Fabio

--
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.

Changed in php4:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.