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

ubuntu 下安装python开发包,执行命令 sudo apt-get install python-dev,报错;

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.

解决:

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

时间: 2024-10-25 09:14:13

Reading package lists... Error! 解决方案的相关文章

解决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

Failed to import package with error: Couldn't decompress package的解决方案

问题的出现 在Unity中导入一个Package文件,出现以下出错信息 解决方案 遇到这样的报错信息,一般就是要将该文件包的存储路径设置为英文,因为Unity不识别中文路径:其次对文件包的命名中间应没有空格. Failed to import package with error: Couldn't decompress package的解决方案 原文地址:https://www.cnblogs.com/OctoptusLian/p/8723754.html

R安装package报ERROR: a 'NAMESPACE' file is required

R安装package报错: [[email protected] mysofts]# R CMD INSTALL trimcluster_0.1-1.tar.gz * installing to library '/usr/local/lib64/R/library' WARNING: omitting pointless dependence on 'R' without a version requirement * installing *source* package 'trimclus

Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.

用TexStudio编辑文档时,不知是多加了空格还是啥,总是提示如下错误: Package inputenc Error: Unicode char \u8: not set up for use with LaTeX. 删除掉一些内容(code)之后可以成功编译,不过添加(code)之后,又反复出现了.如此几次,真是抓狂. 遂到tex.stackchange.com上找寻到:戳这里.说是有Non-Breaking Space. 依照其添加了: \DeclareUnicodeCharacter{

Atitit. Dwr 抛出异常error解决方案

Atitit. Dwr 抛出异常error解决方案 1. Dwr3的处理机制..setErrorHandler 1 2. remote Mteh  try catch 1 3. 林吧,子好java 处理,返回空的....走ok兰... 2 1. Dwr3的处理机制..setErrorHandler function errh(errorString, exception) { //  alert(errorString); //  alert( JSON.stringify(exception)

Failed to import package with error: Couldn't decompress package

解压unitypackage的时候出错,原因是路径中包含中文字符,更改成英文路径即可. 参考 Error while importing package: Couldn't decompress package http://forum.unity3d.com/threads/error-while-importing-package-couldnt-decompress-package.15851/ Failed to import package with error: Couldn't d

Visual Studio SetSite failed for package [JavaScriptWebExtensionsPackage] 错误解决方案一则

安装 AspNet5.ENU.RC1.exe Microsoft ASP.NET and Web Tools 2015 (RC) – Visual Studio 2015 打开VS后发生了错误 <entry> <record>628</record> <time>2015/11/19 17:31:26.163</time> <type>Information</type> <source>VisualStudi

Compilation Error 解决方案汇集

再次遇见Compilation Error ,这次可就有办法对付了. 当然,这也算是一个BUG啦 方案一: 如果是在开发状态下编译出现Compilation Error的话(1)清理解决方案 Clean the solution(2)根据所报的错误提示,查找对应的页面划控件是否有重名控件的情况出现,如果有,请将其中一个控件重新命名(3)关掉IIS服务后重新启动,再对solution重新编译 方案二:主要是因为C:\Windows\Temp 没有写入的权限在C:\WINDOWS\temp文件夹上面

HTTP 错误 500.21 - Internal Server Error 解决方案(转)

不久前重新安装了Windows7,在安装了VS2010 开发平台之后,将网站发布到IIS,访问发生如下错误: HTTP 错误 500.21 - Internal Server Error处理程序"NickLeeCallbackHandler"在其模块列表中有一个错误模块"ManagedPipelineHandler" 原因:在安装Framework v4.0之后,再启用IIS,导致Framework没有完全安装 解决:开始->所有程序->附件->鼠