我有一个基于docker
的{{1}}图片。
Ubuntu 14.04
随附于此,我想升级到python 2.7.6
我遵循推荐的solution,即使用python 2.7.9
ppa,但我仍然坚持使用deadsnakes
。
python 2.7.6
({root@a35defb4cad9:/opt/spark/dist# grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep dead
/etc/apt/sources.list.d/deadsnakes-ppa-trusty.list:deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu trusty main
/etc/apt/sources.list.d/deadsnakes-ppa-trusty.list:# deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu trusty main
)
apt-get update && apt-get upgrade