Package: apache2 Version: 2.4.9-1 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu utopic
Downstream bug: https://launchpad.net/bugs/1312533 apache2.preinst calls a2query if /etc/apache2/ exists, but a2query is supplied by apache2 itself, so is not necessarily available at the time the preinst is called. This happens on upgrade from << 2.4.7-1~ if the package was previously installed but removed and not purged. I'm not exactly sure how to fix this - I don't quite follow the existing logic. I verified this on Debian as follows: echo deb http://snapshot.debian.org/archive/debian/20130813T130820Z/ sid main > /etc/apt/sources.list apt-get -o Acquire::Check-Valid-Until=false update apt-get install -y apache2 # this installs 2.4.6-3 dpkg -r apache2 echo deb http://cdn.debian.net/debian sid main > /etc/apt/sources.list apt-get update apt-get install apache2 # install 2.4.9-1 This blows up as follows: Preparing to unpack .../apache2_2.4.9-1_amd64.deb ... /var/lib/dpkg/tmp.ci/preinst: line 118: a2query: command not found dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.9-1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/apache2_2.4.9-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
signature.asc
Description: Digital signature