# You have to recompile mod-python and/or mod-wsgi.

# Remove mods
apt-get remove libapache2-mod-python libapache2-mod-wsgi

# Get dependencies
apt-get build-dep libapache2-mod-python libapache2-mod-wsgi

# Build mod-python
mkdir /tmp/python
cd /tmp/python
apt-get source libapache2-mod-python
cd libapache2-mod-python-[x.x.x]
dpkg-buildpackage -rfakeroot -b

#Build mod-wsgi
mkdir /tmp/wsgi
cd /tmp/wsgi
apt-get source libapache2-mod-wsgi
cd mod-wsgi-[x.x.x]
dpkg-buildpackage -rfakeroot -b 

# Install newly compiled packages
dpkg -i /tmp/python/libapache2-mod-python-[x.x].deb 
/tmp/wsgi/libapache2-mod-wsgi-[x.x].deb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073147

Title:
   Python version mismatch, expected '2.7.2+', found '2.7.3'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1073147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to