apt-get upgrade后,在配置python-ropemacs时出现错误,我然后试着卸载python-ropemacs,此时报错 给出信息“该软件包现在的状态极为不妥 - 您最好能在删除它之前再重新安装一次“。然后我就重装,安装时出错, 错误信息在邮件最下面。 apt-get 安装或卸载其他软件时也会因为这个错误中断不能正常进行,有没有解决的办法??
下面是控制台错误信息: 正预备替换 python-ropemacs 0.6c2-3 (使用 .../python-ropemacs_0.6c2-4_all.deb) ... Traceback (most recent call last): File "/usr/bin/pycentral", line 2096, in <module> main() File "/usr/bin/pycentral", line 2090, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1550, in run pkg.read_version_info() File "/usr/bin/pycentral", line 804, in read_version_info raise PyCentralError, "package has no field Python-Version" __main__.PyCentralError: package has no field Python-Version dpkg:警告 - 原先的 pre-removal 脚本 退出时返回了错误号 1 dpkg - 现转而试用新软件包所带的脚本... Traceback (most recent call last): File "/usr/bin/pycentral", line 2096, in <module> main() File "/usr/bin/pycentral", line 2090, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1550, in run pkg.read_version_info() File "/usr/bin/pycentral", line 804, in read_version_info raise PyCentralError, "package has no field Python-Version" __main__.PyCentralError: package has no field Python-Version dpkg:处理 /var/cache/apt/archives/python-ropemacs_0.6c2-4_all.deb (--unpack)时出错: 子进程 新的 pre-removal 脚本 返回了错误号 1 Traceback (most recent call last): File "/usr/bin/pycentral", line 2096, in <module> main() File "/usr/bin/pycentral", line 2090, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 1386, in run pkg.read_version_info() File "/usr/bin/pycentral", line 804, in read_version_info raise PyCentralError, "package has no field Python-Version" __main__.PyCentralError: package has no field Python-Version dpkg: 作下列清理工作时发生错误: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生: /var/cache/apt/archives/python-ropemacs_0.6c2-4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- Best Regards