Bug#216887: apache update broken in unstable with error in postinstall
Package: apache
Version: 1.3.28-4
'apt-get install apache' gives several errors:
Reading Package Lists... Done
Building Dependency Tree... Done
apache is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.28-4) ...
grep: /etc/apache/mod-ssl.conf:: No such file or directory
grep: /etc/apache/mod-ssl.conf:: No such file or directory
grep: /etc/apache/mod-ssl.conf:: No such file or directory
grep: README.Debian: No such file or directory
grep: README.Debian: No such file or directory
grep: README.Debian: No such file or directory
grep: mod-ssl.conf: No such file or directory
grep: mod-ssl.conf: No such file or directory
grep: mod-ssl.conf: No such file or directory
grep: sample-vhost.conf: No such file or directory
grep: sample-vhost.conf: No such file or directory
grep: sample-vhost.conf: No such file or directory
Starting web server: apache/usr/sbin/apache already running.
failed
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache-mod-ssl:
libapache-mod-ssl depends on apache (>= 1.3.28-1) | apache-perl (>=
1.3.28-1);
however:
Package apache is not configured yet.
Package apache-perl is not installed.
dpkg: error processing libapache-mod-ssl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phpsysinfo:
phpsysinfo depends on apache | httpd; however:
Package apache is not configured yet.
Package apache-perl which provides apache is not installed.
Package httpd is not installed.
Package apache-perl which provides httpd is not installed.
Package apache which provides httpd is not configured yet.
dpkg: error processing phpsysinfo (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache
libapache-mod-ssl
phpsysinfo
E: Sub-process /usr/bin/dpkg returned an error code (1)
Somehow there is a double colon in the messages from grep so there might
be an error in postinstall. But I haven't found it. After renaming
/etc/apache/mod-ssl.conf the messages from grep are gone.
If apache is stopped manualy, the invoke-rc.d message is gone and the
update is finished.
The errors from libapache-mod-ssl and phpsysinfo are related to apache
and were solved after apache was updated.
Berthold
Reply to: