I tried the following for passing from 8.2 to 8.6.
sage-upgrade
And I got the following:
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):
* package: python2-2.7.15.p0
log file: /home/javi/SageMath/logs/pkgs/python2-2.7.15.p0.log
build directory: /home/javi/SageMath/local/var/tmp/sage/build/python2-2.7.15.p0
The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
Makefile:31: recipe for target 'all-start' failed
make[1]: *** [all-start] Error 1
make[1]: Leaving directory '/home/javi/SageMath'
Makefile:13: recipe for target 'all' failed
make: *** [all] Error 2
javi@javi-ThinkPad-E480 11:42:47 ~ > sage
Forcing sage-location, probably because a new package was installed.
Cleaning up, do not interrupt this.
Done cleaning.
If I type
sage
I note no upgrade was performed
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.2, Release Date: 2018-05-05 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help.