Bug#764498: apache2: Apache2 can fail to install if /etc/apache2 exists
Package: apache2
Version: 2.4.10-3
Severity: normal
Dear Maintainer,
The apache2 preinst script fails on line 118 if the /etc/apache2 directory already exists because local varaibles cannot be declared outside a function in bash.
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.10-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2 depends on:
ii apache2-bin 2.4.10-3
ii apache2-data 2.4.10-3
ii lsb-base 4.1+Debian13
ii mime-support 3.57
ii perl 5.20.1-1
ii procps 2:3.3.9-8
Versions of packages apache2 recommends:
ii ssl-cert 1.0.35
Versions of packages apache2 suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii apache2-utils 2.4.10-3
ii w3m [www-browser] 0.5.3-17
Versions of packages apache2-bin depends on:
ii libapr1 1.5.1-3
ii libaprutil1 1.5.4-1
ii libaprutil1-dbd-sqlite3 1.5.4-1
ii libaprutil1-ldap 1.5.4-1
ii libc6 2.19-11
ii libldap-2.4-2 2.4.39-1.1+b1
ii liblua5.1-0 5.1.5-7
ii libpcre3 1:8.35-3.1
ii libssl1.0.0 1.0.1i-2
ii libxml2 2.9.1+dfsg1-4
ii perl 5.20.1-1
ii zlib1g 1:1.2.8.dfsg-2
Versions of packages apache2-bin suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii w3m [www-browser] 0.5.3-17
Versions of packages apache2 is related to:
ii apache2 2.4.10-3
ii apache2-bin 2.4.10-3
-- Configuration Files:
/etc/apache2/conf-available/serve-cgi-bin.conf changed [not included]
/etc/apache2/mods-available/access_compat.load changed [not included]
/etc/apache2/mods-available/authnz_fcgi.load [Errno 2] No such file or directory: u'/etc/apache2/mods-available/authnz_fcgi.load'
/etc/apache2/mods-available/ident.load [Errno 2] No such file or directory: u'/etc/apache2/mods-available/ident.load'
/etc/apache2/mods-available/mpm_event.load changed [not included]
/etc/apache2/mods-available/mpm_prefork.load changed [not included]
/etc/apache2/mods-available/mpm_worker.load changed [not included]
/etc/apache2/mods-available/ssl.conf changed [not included]
/etc/apache2/sites-available/000-default.conf changed [not included]
/etc/apache2/sites-available/default-ssl.conf changed [not included]
-- no debconf information
Reply to: