Bug#224233: apache: upgrade bombs with sed errors
Package: apache
Version: 1.3.29.0.1-2
Severity: normal
Apache gave me a "sed" error during upgrade. Log pasted in below.
ptelford@ros-saab:/etc/apache$ dpkg -l apache
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-========================-========================-
================================================================
ii apache 1.3.26-1 Versatile,
high-performance HTTP server
ptelford@ros-saab:/etc/apache$ sudo apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache apache-common apache-utils file libkeynote0 libmagic1 libmm13
zlib1g zlib1g-dev
Suggested packages:
apache-perl libapache-mod-auth-mysql php4-pear
The following NEW packages will be installed:
apache-utils libkeynote0 libmagic1 libmm13 php4
The following packages will be upgraded
apache apache-common file zlib1g zlib1g-dev
5 upgraded, 5 newly installed, 0 to remove and 668 not upgraded.
1 not fully installed or removed.
Need to get 2954kB of archives.
After unpacking 3025kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://http.us.debian.org unstable/main zlib1g-dev 1:1.2.1-2
[405kB]
Get:2 http://http.us.debian.org unstable/main zlib1g 1:1.2.1-2 [61.1kB]
Get:3 http://http.us.debian.org unstable/main file 4.06-2 [25.5kB]
Get:4 http://http.us.debian.org unstable/main libmagic1 4.06-2 [212kB]
Get:5 http://http.us.debian.org unstable/main libkeynote0 2.3-10
[28.2kB]
Get:6 http://http.us.debian.org unstable/main apache 1.3.29.0.1-2
[365kB]
Get:7 http://http.us.debian.org unstable/main apache-common
1.3.29.0.1-2 [811kB]
Get:8 http://http.us.debian.org unstable/main apache-utils 1.3.29.0.1-2
[252kB]
Get:9 http://http.us.debian.org unstable/main libmm13 1.3.0-1 [15.4kB]
Get:10 http://http.us.debian.org unstable/main php4 4:4.3.3-4 [778kB]
Fetched 2954kB in 23s (127kB/s)
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n]?
Preconfiguring packages ...
(Reading database ... 103786 files and directories currently installed.)
Preparing to replace zlib1g-dev 1:1.1.4-3 (using
.../zlib1g-dev_1%3a1.2.1-2_i386.deb) ...
Unpacking replacement zlib1g-dev ...
Preparing to replace zlib1g 1:1.1.4-3 (using
.../zlib1g_1%3a1.2.1-2_i386.deb) ...
Unpacking replacement zlib1g ...
Preparing to replace file 3.37-3.1.woody.1 (using
.../archives/file_4.06-2_i386.deb) ...
Unpacking replacement file ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.06-2_i386.deb) ...
Selecting previously deselected package libkeynote0.
Unpacking libkeynote0 (from .../libkeynote0_2.3-10_i386.deb) ...
Preparing to replace apache 1.3.26-1 (using
.../apache_1.3.29.0.1-2_i386.deb) ...
Unpacking replacement apache ...
Preparing to replace apache-common 1.3.26-1 (using
.../apache-common_1.3.29.0.1-2_i386.deb) ...
Unpacking replacement apache-common ...
Selecting previously deselected package apache-utils.
Unpacking apache-utils (from .../apache-utils_1.3.29.0.1-2_i386.deb) ...
Selecting previously deselected package libmm13.
Unpacking libmm13 (from .../libmm13_1.3.0-1_i386.deb) ...
Selecting previously deselected package php4.
Unpacking php4 (from .../php4_4%3a4.3.3-4_i386.deb) ...
Setting up netenv (0.94.3-1) ...
Setting up zlib1g (1.2.1-2) ...
Setting up zlib1g-dev (1.2.1-2) ...
Setting up libmagic1 (4.06-2) ...
Setting up file (4.06-2) ...
Setting up libkeynote0 (2.3-10) ...
Setting up apache-utils (1.3.29.0.1-2) ...
Setting up apache-common (1.3.29.0.1-2) ...
Setting up apache (1.3.29.0.1-2) ...
Installing new version of config file /etc/init.d/apache ...
Installing new version of config file /etc/logrotate.d/apache ...
sed: invalid option -- s
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be
executed
--help display this help and exit
-V, --version output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
E-mail bug reports to: bug-gnu-utils@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
Configuration syntax error detected. Not reloading.
Syntax error on line 211 of /etc/apache/httpd.conf:
Invalid command 'ExtendedStatus', perhaps mis-spelled or defined by a
module not included in the server configuration
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 1
Setting up libmm13 (1.3.0-1) ...
Setting up php4 (4.3.3-4) ...
sed: invalid option -- s
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be
executed
--help display this help and exit
-V, --version output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
E-mail bug reports to: bug-gnu-utils@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
sed: invalid option -- s
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be
executed
--help display this help and exit
-V, --version output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
E-mail bug reports to: bug-gnu-utils@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
Errors were encountered while processing:
apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
ptelford@ros-saab:/etc/apache$
--
Paul Telford | 1024D/431B38BA | pxt@debian.org | paul@droflet.net
C903 0E85 9AF5 1B80 6A5F F169 D7E9 4363 431B 38BA
Reply to: