Fix upgrade
command on some Linux systems
#290
Merged
upgrade
command on some Linux systems
#290