“E:读取错误 - 读取(5:输入/输出错误),E:无法解析或打开包列表或状态文件。”

Jac*_*cob 5 software-center apt

所以我一直试图在我的笔记本电脑上安装东西,每当我尝试使用 sudo apt-get 时,我每次都会遇到相同的错误,

SystemError: E:Read error - read (5: Input/output error), E:The package lists or status file could not be parsed or opened.
Run Code Online (Sandbox Code Playgroud)

此外,每当我尝试通过桌面图标打开软件中心时,它都会冻结,让我强制退出。如果我尝试在终端中使用命令 software-center,我会得到世界上最长的列表,即,

che.open()
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 629, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 261, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 105, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 150, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Read error - read (5: Input/output error), E:The package lists or status file could not be parsed or opened.
2013-10-13 10:13:52,685 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 629, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 261, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 105, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 150, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Read error - read (5: Input/output error), E:The package lists or status file could not be parsed or opened.
2013-10-13 10:13:57,365 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 629, in <lambda>
    return (lambda data: callback(*data), user_data)
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 261, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 105, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 150, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Read error - read (5: Input/output error), E:The package lists or status file could not be parsed or opened.
Run Code Online (Sandbox Code Playgroud)

这只是太长而无法阅读的列表的大约十分之一。我需要帮助,如果有人有答案,请回复

Bra*_*iam 17

您的列表已损坏,您应该删除它们并刷新您的包列表:

sudo rm -r /var/lib/apt/lists/
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

首先删除以前的列表,partial然后重新创建目录,第三次更新您的列表并重新创建存储库的包列表。

如果您确切地找出哪个损坏了,这可以很容易地修复,但日志没有说明。apt-get update可能会给你提示,所以不是删除所有这些,只是一个被损坏了。