Package: libapache2-mod-wsgi Version: 3.3-4+deb7u1 Severity: minor Hi,
I just installed libapache2-mod-wsgi to give support to a Python app in the webserver. My workflow was: # aptitude install libapache2-mod-wsgi apache2 postgresql [...] # a2enmod wsgi ERROR: Module wsgi does not exist! I checked that dpkg -L said some wsgi files should be at /etc/apache2/mods-available, there aren't. I tried reinstalling the package: # aptitude reinstall libapache2-mod-wsgi [...] # a2enmod wsgi ERROR: Module wsgi does not exist! The files at /usr/lib/apache2/modules are there: lrwxrwxrwx 1 root root 15 may 23 08:25 mod_wsgi.so -> mod_wsgi.so-2.7 -rw-r--r-- 1 root root 185K may 23 08:25 mod_wsgi.so-2.6 -rw-r--r-- 1 root root 185K may 23 08:25 mod_wsgi.so-2.7 I had to purge & install the package again to get it working: # aptitude purge libapache2-mod-wsgi [...] # aptitude install libapache2-mod-wsgi [...] # a2enmod wsgi Module wsgi already enabled So, the problem is fixed for me. But maybe other people is hitting the same weird behaviour here. regards. -- System Information: Debian Release: 7.6 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libapache2-mod-wsgi depends on: ii apache2 2.2.22-13+deb7u3 ii apache2-mpm-prefork [apache2] 2.2.22-13+deb7u3 ii apache2.2-common 2.2.22-13+deb7u3 ii libc6 2.17-97 ii libpython2.6 2.6.8-1.1 ii libpython2.7 2.7.6-5 ii python 2.7.5-5 libapache2-mod-wsgi recommends no packages. Versions of packages libapache2-mod-wsgi suggests: pn apache2-mpm-worker | apache2-mpm-event <none> -- Configuration Files: /etc/apache2/mods-available/wsgi.conf [Errno 2] No existe el fichero o el directorio: u'/etc/apache2/mods-available/wsgi.conf' /etc/apache2/mods-available/wsgi.load [Errno 2] No existe el fichero o el directorio: u'/etc/apache2/mods-available/wsgi.load' -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org