13.04 更新后软件中心停止工作:发生未处理的错误

13.04 更新后软件中心停止工作:发生未处理的错误

我两周前刚刚全新安装了 ubuntu 13.04,但我不能说它不存在我所了解的 ubuntu 通常的用户体验。

我刚刚进行了更新并按照要求重新启动了机器,然后我意识到我无法再安装任何东西。我收到的错误是:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1185, in _simulate
trans.high_trust_packages) = self.__simulate(trans)
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 1304, in __simulate
unauthenticated = self._get_unauthenticated()
File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 451, in _get_unauthenticated
for origin in pkg.candidate.origins:
File "/usr/lib/python3/dist-packages/apt/package.py", line 479, in origins
origins.append(Origin(self.package, packagefile))
File "/usr/lib/python3/dist-packages/apt/package.py", line 145, in __init__
self.archive = packagefile.archive
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 3: invalid start byte

谁能解释一下发生了什么,我有哪些选择?

提前致谢。

编辑

sudo apt-get install --reinstall software-center

产生以下内容:

Reading package lists... Error!
E: Unable to parse package file /var/lib/apt/lists/gh.archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-i386_Packages (1)
E: The package lists or status file could not be parsed or opened.

答案1

打开终端并输入

sudp apt-get install --reinstall software-center

然后重试。

编辑答案:

sudo rm -rf /var/lib/apt/list/gh.archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-i386_Packages

相关内容