Bug#358543: apache: fails to install
Sorry for the hardcorehackers address not working. Please use this
eratos one instead.
> No one else seems to be having this problem. What version are you
> trying to install?
I'm using the current one from stable, which appears to be
apache_1.3.33-6sarge. I've tried uninstalling everything down to the
libapr0, deleting /etc/apache and /var/www, then installing again to no
avail; see attached transcript.
--
The more I use other operating systems, the more I like Debian GNU/Linux
http://www.debian.org http://www.gnu.org http://www.linux.org
Script started on Thu Mar 23 08:40:22 2006
]0;npsimons@elysium.eratos.com:/home/npsimonsnpsimons@elysium:~$ sudo apt-get --purge remove apache apache-common apache2-uti
ls libapr0
Reading Package Lists... 0%
Reading Package Lists... 0%
Reading Package Lists... 1%
Reading Package Lists... Done
Building Dependency Tree... 0%
Building Dependency Tree... 0%
Building Dependency Tree... 50%
Building Dependency Tree... 50%
Building Dependency Tree... Done
The following packages will be REMOVED:
apache* apache-common* apache2-utils* libapr0*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 4534kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 38725 files and directories currently installed.)
Removing apache ...
grep: /etc/apache/httpd.conf: No such file or directory
Stopping web server: apacheNo process in pidfile `/var/run/apache.pid' found running; none killed.
.
Purging configuration files for apache ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
dpkg - warning: while removing apache, directory `/etc/apache' not empty so not removed.
Removing apache-common ...
Purging configuration files for apache-common ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Removing apache2-utils ...
Removing libapr0 ...
Purging configuration files for libapr0 ...
]0;npsimons@elysium.eratos.com:/home/npsimonsnpsimons@elysium:~$ sudo rm -Rf /etc/apache /var/www
]0;npsimons@elysium.eratos.com:/home/npsimonsnpsimons@elysium:~$ sudo apt-get install apache
Reading Package Lists... 0%
Reading Package Lists... 0%
Reading Package Lists... 1%
Reading Package Lists... Done
Building Dependency Tree... 0%
Building Dependency Tree... 0%
Building Dependency Tree... 50%
Building Dependency Tree... 50%
Building Dependency Tree... Done
The following extra packages will be installed:
apache-common apache2-utils libapr0
Suggested packages:
apache-ssl apache-perl
The following NEW packages will be installed:
apache apache-common apache2-utils libapr0
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1452kB of archives.
After unpacking 4534kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103, <> line 4.
Preconfiguring packages ...
Configuring apache
------------------
[4mWould you like to start apache at boot time? [24m[1my
[m
suExec is a feature of apache where CGI scripts are run by the user who owns the
script. It is useful if your users have CGI access and don't trust each other.
[4mEnable suExec? [24m[1my
[m
Selecting previously deselected package libapr0.
(Reading database ... 38214 files and directories currently installed.)
Unpacking libapr0 (from .../libapr0_2.0.54-5_i386.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.0.54-5_i386.deb) ...
Selecting previously deselected package apache-common.
Unpacking apache-common (from .../apache-common_1.3.33-6sarge1_i386.deb) ...
Selecting previously deselected package apache.
Unpacking apache (from .../apache_1.3.33-6sarge1_i386.deb) ...
Setting up libapr0 (2.0.54-5) ...
Setting up apache2-utils (2.0.54-5) ...
Setting up apache-common (1.3.33-6sarge1) ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Setting up apache (1.3.33-6sarge1) ...
Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/Term/Cap.pm line 103.
Configuring apache
------------------
1. mod_vhost_alias 22. mod_rewrite 43. mod_auth_external
2. mod_env 23. mod_access 44. mod_auth_inst
3. mod_log_config 24. mod_auth 45. mod_auth_system
4. mod_log_agent 25. mod_auth_anon 46. mod_bandwidth
5. mod_log_referer 26. mod_auth_dbm 47. mod_cgisock
6. mod_log_forensic 27. mod_auth_db 48. mod_disallow_id
7. mod_mime_magic 28. libproxy 49. mod_eaccess
8. mod_mime 29. mod_digest 50. mod_ip_forwarding
9. mod_negotiation 30. mod_cern_meta 51. mod_lock
10. mod_status 31. mod_expires 52. mod_peephole
11. mod_info 32. mod_headers 53. mod_qs2ssi
12. mod_include 33. mod_usertrack 54. mod_roaming
13. mod_autoindex 34. mod_unique_id 55. mod_session
14. mod_dir 35. mod_setenvif 56. mod_ticket
15. mod_cgi 36. mod_auth_sys 57. mod_urlcount
16. mod_asis 37. mod_put 58. mod_auth_cache
17. mod_imap 38. libcache 59. mod_backtrace
18. mod_actions 39. mod_allowdev 60. mod_whatkilledus
[4m[More] [24m[1m
[m
19. mod_speling 40. mod_auth_cookie 61. none of the above
20. mod_userdir 41. mod_auth_cookie_file
21. mod_alias 42. mod_auth_digest
(Enter the items you want to select, separated by spaces.)
[4mPlease select the modules that apache will load [24m[1m
[m
If you do not know which is the FQDN (Fully Qualified Domain Name, Ex:
www.debian.org) for this computer please ask your network administrator or
otherwise set it temporary to localhost (Note that using localhost might results
in apache printing some harmless warnings).
[4mSet the FQDN for apache default server [24m[1mwww.eratos.com
[m
[4mSet the email address of the apache administrator [24m[1mwebmaster@eratos.com
[m
The default is set to /var/www according to the FHS. If you will use a non
default setting the contents of /var/www will NOT be touched/moved.
[4mSet the directory that will contain the web pages for apache default server [24m[1m/var/www
[m
If you have more than one server running on the same machine you might want to
set them to listen on different ports, since otherwise one of them will not
work.
[4mSet the TCP port on which the apache server will listen [24m[1m80
[m
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
]0;npsimons@elysium.eratos.com:/home/npsimonsnpsimons@elysium:~$ exit
Script done on Thu Mar 23 08:41:56 2006
Reply to: