can somebody explain me this magic

root@ubuntu:~# apt-cache policy python
  Installed: 2.7.11-1
  Candidate: 2.7.11-1
  Version table:
 *** 2.7.11-1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
root@ubuntu:~# python --version
Python 2.7.12

xenial repo has 2.7.11 version of ubuntu but after installing it's python 2.7.12.

Is this bug or I'm doing something wrong?

  • Did you use pip to update python ? Could you give us the result of "which python" please ? – tobiasBora Jan 17 '17 at 16:59
  • Look at askubuntu.com/questions/825971/… – L. D. James Jan 17 '17 at 17:10
  • 1
    Possible dupe at askubuntu.com/questions/825971/…. Being the author of the dupe target, I am still not sure if the answers currently there really answer my question... – edwinksl Jan 17 '17 at 17:27
  • @edwinksl this is definitely the same question that I ask. I'm glad I'm not only one who is confused – confiq Jan 17 '17 at 18:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.