apt shows wrong python version in Ubuntu 16.04.3 LTS

Bug #1724682 reported by Asr on 2017-10-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Undecided
Unassigned

Bug Description

On raspberry pi Ubuntu 16.04.3 LTS
python --version
says
Python 2.7.12

sudo apt-cache policy python
says
python:
  Installiert: 2.7.11-1
  Installationskandidat: 2.7.11-1
  Versionstabelle:
 *** 2.7.11-1 500
        500 http://ports.ubuntu.com xenial/main armhf Packages
        100 /var/lib/dpkg/status

This leads to an issue with the apache module mod_wsgi. The module expects python to be version 2.7.11 but sees 2.7.12, which leads to randomly crashes of python webapps.

mod_wsgi: Compiled for Python/2.7.11.
mod_wsgi: Runtime using Python/2.7.12.
Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers