Traceback (most recent call last):
  File "upgrade.py", line 54, in <module>
    arch = os.uname()[4]
AttributeError: module 'os' has no attribute 'uname'