debuginfo-install SyntaxError: invalid syntax

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zsl10/article/details/82993467

问题描述

使用debuginfo-install出现如下问题:

  File "/usr/bin/debuginfo-install", line 68
    print self.optparser.format_help()
             ^
SyntaxError: invalid syntax

解决

主要原因是python升级导致的,更改debuginfo-install使用的python版本为2.6

vi /usr/bin/debuginfo-install
#!/usr/bin/python2.6

猜你喜欢

转载自blog.csdn.net/zsl10/article/details/82993467