Package: mediawiki
Version: 1:1.27.1-3
Severity: normal

--- Please enter the report below this line. ---
Media wiki install fails. Looking in:

/var/lib/dpkg/info/mediawiki.postinst

the snippet:
...
# Automatically added by dh_apache2
if true; then
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
                . /usr/share/apache2/apache2-maintscript-helper
                for conf in mediawiki  ; do
                        apache2_invoke enconf $conf  || exit $?
                done
        fi
fi

is trying to configure a dangling link:

/etc/apache2/conf-available/mediawiki.conf -> /etc/mediawiki/apache.conf

but apache.conf is installed instead as

/etc/mediawiki/mediawiki.conf

setting /etc/mediawiki/apache.conf to mediawiki.conf allows the install
to finish.

--- System information. ---
Architecture: Kernel:       Linux 4.9.0-1-amd64

Debian Release: 9.0
  990 testing         httpredir.debian.org   500 unstable
httpredir.debian.org   500 stable-updates  httpredir.debian.org   500
stable          security.debian.org   500 stable
httpredir.debian.org
--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-====================
apache2                                   | 2.4.25-3
 OR httpd                                 | php
             | 1:7.0+49
php-mysql                                 | 1:7.0+49
 OR php-pgsql                             |  OR php-sqlite3
             |  OR php-mysqlnd                           | php-common
        (>= 5.5.0+dfsg-10~) | 1:49
php-mbstring                              | 1:7.0+49
php-xml                                   | 1:7.0+49
mime-support                              | 3.60
mediawiki-classes          (= 1:1.27.1-3) | 1:1.27.1-3


Recommends                (Version) | Installed
===================================-+-===========
default-mysql-server                | 1.0.2
 OR virtual-mysql-server            |  OR postgresql-contrib
 | php-cli                             | php-intl
    | 1:7.0+49
php-curl                            | 1:7.0+49
php-wikidiff2                       | 1.4.1-1
python                              | 2.7.13-2


Suggests         (Version) | Installed
==========================-+-===========
imagemagick                | 8:6.9.7.4+dfsg-1
 OR php-gd                 | memcached                  | clamav
            | php-apcu                   | hhvm                       |

Reply via email to