I want to update the Python build on my Linux box, but the only way I know how to do it is uninstalling the current version and installing the new one.My system is already up to date (I updated yesterday).Of particular importance is the fact that one of Ubuntu policies is to extensively use Python for writing end-user software.So in fact, fairly large part of the system easily run on, say, Python 2.7 — because incompatibilities exist.When you $ vagrant ssh __ ___ ___ __ ____ \ \ / \ \ / \ \ / / |___ \ \ \ / / \ \ / / \ \ / / __) | \ V / \ V / \ V / / __/ \_/ \_/ \_/ |_____| Varying Vagrant Vagrants 2.0.0 Docs: https://varyingvagrantvagrants.org/ Contribute: https://github.com/varying-vagrant-vagrants/vvv Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-123-generic x86_64) * Documentation: https://help.ubuntu.com/ System information as of Tue Jul 4 UTC 2017 System load: 0.72 Processes: 90 Usage of /: 6.3% of 39.34GB Users logged in: 0 Memory usage: 34% IP address for eth0: 10.0.2.15 Swap usage: 0% IP address for eth1: 192.168.50.4 Graph this data and manage this system at: https://landscape.canonical.com/ Get cloud support with Ubuntu Advantage Cloud Guest: 5 packages can be updated. Either provide instructions in the on how to properly upgrade the VM to Ubuntu v.16.04.2 so users don't encounter these errors, or have the Ubuntu VM in VVV all ready be the latest LTS, in this case v.16.04.2 Xenial Xerus.Set-up - tested this on a Mac Pro w/ 3.5 GHz 6-Core Intel Xeon E5, 16 GB of RAM, Mac OS Sierra 10.12.5, Oracle Virtual Box Version 5.1.22 r115126 (Qt5.6.2), Vagrant 1.9.5, and VVV v.2.0.0.Go and In regards to @ulidtko's answer, a possible alternative to replacing the system python altogether may be to use an isolated environment with your desired python version.This is similar to a "virtual environment", but for python itself.
From our sister site: https://askubuntu.com/questions/44122/how-to-upgrade-a-single-package-using-apt-get Each of these commands updates-by-installing, which should work just fine in many cases, but might not be what you're looking for in a specific case.
You should be able to upgrade to the latest version of Ubuntu LTS in the VVV environment, or it should come automatically with the latest Ubuntu LTS, v.16.04.2, Xenial Xerus. Last login: Tue Jul 4 2017 from 10.0.2.2 [email protected]:~$ If you try and do what the Ubuntu system message says, and upgrade to Ubuntu v.16.04.2, you have to monitor the upgrade all the way through, and give it info most users will have Zero idea how to answer, like giving it the appropriate Chef URL, etc.
This is, perhaps, related to previous issues in this repository - #1000 & #1003 . As a result, when the upgrade/install is done, and you saying the VM cannot start due to network errors.
Thanks for taking the time to document this, @faddah.
I'm going to close this as a duplicate of #954 and it's open PR #1218.