Bug#770030: apache2: wrong pre-depend on dpkg while using relative symlink_to_dir path
Package: apache2
Version: 2.4.10-7
Severity: serious
Dear Maintainer,
apache2 uses dpkg-maintscript-helper's symlink_to_dir with a relative
path. Support for relative paths in symlink_to_dir was introduced in
dpkg 1.17.14, however apache2 pre-depends on dpkg >= 1.17.5. Trying to
install apache2 without upgrading dpkg first, will cause the following:
Preparing to unpack .../apache2_2.4.10-7_amd64.deb ...
dpkg-maintscript-helper: error: original symlink target is not an absolute path
dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.10-7_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
dpkg-maintscript-helper: error: original symlink target is not an absolute path
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 1
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/apache2_2.4.10-7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Proper solutions to this are either bumping dpkg pre-depends, or using an
absolute path in symlink_to_dir.
Regards,
Apollon
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2 depends on:
ii apache2-bin 2.4.10-7
ii apache2-data 2.4.10-7
ii apache2-utils 2.4.10-7
ii dpkg 1.17.21
ii lsb-base 4.1+Debian13+nmu1
ii mime-support 3.57
ii perl 5.20.1-2
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 chromium [www-browser] 38.0.2125.101-3
ii iceweasel [www-browser] 31.2.0esr-3
ii konqueror [www-browser] 4:4.14.2-1
ii uzbl [www-browser] 0.0.0~git.20120514-1.1
ii w3m [www-browser] 0.5.3-19
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-12
ii libldap-2.4-2 2.4.40-2
ii liblua5.1-0 5.1.5-7.1
ii libpcre3 1:8.35-3.1
ii libssl1.0.0 1.0.1j-1
ii libxml2 2.9.1+dfsg1-4
ii perl 5.20.1-2
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 chromium [www-browser] 38.0.2125.101-3
ii iceweasel [www-browser] 31.2.0esr-3
ii konqueror [www-browser] 4:4.14.2-1
ii uzbl [www-browser] 0.0.0~git.20120514-1.1
ii w3m [www-browser] 0.5.3-19
Versions of packages apache2 is related to:
ii apache2 2.4.10-7
ii apache2-bin 2.4.10-7
-- debconf-show failed
Reply to: