Ubuntu- Reading package lists... Error! 解决方案

Reading package lists... Error!

E: Encountered a section with no Package: header

E: Problem with MergeList /var/lib/apt/lists/AZ.archive.ubuntu.com_ubuntu_dists_natty_main_i18n _Translation-en

E: The package lists or status file could not be parsed or opened.

遇到该问题一般是Ubuntu安装源的问题,需要输入以下2个命令:

1sudo rm /var/lib/apt/lists/* -vf

2sudo apt-get update

具体解决:

run these two commands and it should get you fixed up.

Code:

sudo rm /var/lib/apt/lists/* -vf

The first command will remove the damaged list and when you run the second command it will replace it with a new list.

Code:

sudo apt-get update

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,151评论 0 10
  • 一 我愿时间静止 我说 我爱此景此物 我愿人不为奋斗而生 我说 我爱这样的毫无违和的时光 ...
    零距离aini阅读 3,290评论 0 0
  • 晚舟C阅读 3,328评论 0 47
  • 上午村里赶集,吃完饭收拾好的差不多,姥姥带着铮宝出去逛。我能稍微安静一下,然后给孩子爹打了个电话,电话还没打完,就...
    蓝色的向日葵阅读 3,709评论 0 0
  • 包含一些UI方法的标准量,包括超时、大小和距离滚动条的宽和高,单位dipSCROLL_BAR_SIZE = 10;...
    啪哒阅读 3,567评论 0 0