Processed: tagging 718387
Processing commands for cont...@bugs.debian.org: tags 718387 + pending Bug #718387 [apache2-data] apache2-data: Please mark Multi-Arch: foreign Added tag(s) pending. thanks Stopping processing here. Please contact me if you need assistance. -- 718387: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718387 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.13755228613257.transcr...@bugs.debian.org
Processed: Re: No default site enabled after fresh install if /etc/apache2 exists
Processing control commands: tags -1 + patch Bug #711493 [apache2] No default site enabled after fresh install if /etc/apache2 exists Added tag(s) patch. -- 711493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711493 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.b711493.137552490315199.transcr...@bugs.debian.org
Bug#711493: No default site enabled after fresh install if /etc/apache2 exists
Control: tags -1 + patch Attached is a patch for that problem. I believe it's important because there is a lot of packages that does not depend on apache2, meaning they can be installed first, but that will install some conffiles in /etc/apache/*-available/ as requested. Note that cut will eat the error code, in the patch. $ dpkg-query -f '${Package}\t${Status}\n' -W 'apache2-mpm-*' 2/dev/null | grep XXX | cut -f1 echo cut eats errors cut eats errors Also tested ok if dpkg-query fails, when there is no 'apache2-mpm-*' packages for jessie upgrades. diff --git a/debian/apache2.preinst b/debian/apache2.preinst index c3e49c9..b8d8805 100644 --- a/debian/apache2.preinst +++ b/debian/apache2.preinst @@ -105,9 +105,8 @@ case $1 in # 1) an apache2-mpm package exists if [ -d /etc/apache2/ ] ; then - mpm=$(dpkg-query -f '${Package}\t${Status}\n' -W 'apache2-mpm-*' 2/dev/null) || true - if [ $? -eq 0 ] ; then - mpm=$(echo $mpm | grep install ok | cut -f1) + mpm=$(dpkg-query -f '${Package}\t${Status}\n' -W 'apache2-mpm-*' 2/dev/null | grep install ok | cut -f1) + if [ -n $mpm ] ; then if [ ! -f /etc/apache2/.apache2_mpm_selected ] ; then echo # automatically created during upgrade /etc/apache2/.apache2_mpm_selected echo # it can be safely removed anytime /etc/apache2/.apache2_mpm_selected
Processed: your mail
Processing commands for cont...@bugs.debian.org: tags 714341 +moreinfo Bug #714341 [apache2.2-common] apache2: Disabled Sites Still Served Added tag(s) moreinfo. End of message, stopping processing here. Please contact me if you need assistance. -- 714341: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714341 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.137553536412878.transcr...@bugs.debian.org