解决E: Encountered a section with no Package: header

解决E: Encountered a section with no Package: header错误

我的ubuntu机器上出现下面这个错误。

Reading package lists... Error!

E: Encountered a section with no Package: header

E: Problem with MergeList /var/lib/apt/lists/ftp.sjtu.edu.cn_ubuntu_dists_precise-security_restricted_binary-i386_Packages

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

虽然不知道是怎么回事,但是google出来的结果提示可以按如下方法解决,记录之:

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

sudo apt-get update

重启,OK

时间: 2024-10-11 22:21:26

解决E: Encountered a section with no Package: header的相关文章

ubuntu-E:Encountered a section with no Package: header的解决办法 (转)

E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages …………………… 在网上搜到了解决办法,现在记录下来,以便今后查阅: 终端中输入以下两条命令: sudo rm /var/lib/apt/lists/* -vf sudo apt-

ubuntu-E:Encountered a section with no Package: header的解决办法

刚才打开ubuntu,我的版本是12.04.正想使用sudo apt-get install build-essential 时,出现了如下错误: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages …………………… 在网上搜到了解

Ubuntu 16.04错误:正在读取软件包列表... 有错误! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ppa.launchpad.net_t-tujikawa_ppa_ubuntu_dists_xenial_main_i18n_Translatio

错误: 正在读取软件包列表... 有错误! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ppa.launchpad.net_t-tujikawa_ppa_ubuntu_dists_xenial_main_i18n_Translation-en E: 无法解析或打开软件包的列表或是状态文件. 解决方法: 1.删除上面提示的PPA源,再找到新的源添加.比如直

ubuntu sudo-update出错Encountered a section with no Package: header

Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.sjtu.edu.cn_ubuntu_dists_precise-security_restricted_binary-i386_Packages E: The package lists or status file could not

Encountered a section with no Package: header

刚才打开ubuntu,我的版本号是11.04.正想打开新立得软件工具包更新软件的时候,出现了例如以下错误: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages -------- 在网上搜到了解决的方法,如今记录下来,以便今后查阅:

E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/******

最近在Ubuntu上安装mysql-server时用命令apt-get install mysql-server出现报错提示: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/****** 回想起上一次调用apt-get update时由于update时间太长我直接CTRL+C中止的情形,可能是由于lists中某一个文件没有下载完成,出现解析错误. 可用的解决

解决Ubuntu中update的问题(Reading package lists... Error!)

问题描述: 像安装一个软件, 发现会弹出下列的问题: Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en E: The package lists or status

Grade 编译 Android 解决 Error:more than one library with package name

Grade 编译 Android 解决 Error:more than one library with package name Error: more than one library with package name 'com.app.XX' You can temporarily disable this error with android.enforceUniquePackageName=false However, this is temporary and will be en

解决centos7安装wmwaretools找不到kernel header

解决centos6安装wmwaretools找不到kernel header http://www.centoscn.com/CentosBug/softbug/2015/0525/5531.html During the installation process, I found following error: Searching for a valid kernel header path... The path "" is not valid. Would you like t