命令是
centos-upgrade-tool-cli --network 7 --instrepo=http://vault.centos.org/centos/7.2.1511/os/x86_64/
报错是:
File "/usr/bin/centos-upgrade-tool-cli", line 45
print m
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int m)?
上面的问题解决了,现在卡在了这里:
Downloading failed: failure: repodata/f35d0029ad59e9fca0823be708150f5ee28ee1707cdc9bdaf420da676daafe28-filelists.sqlite.bz2 from cmdline-instrepo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
打开这个文件,第一行的python改成python2.6。