How To Fix “W: Failed to fetch gzip:/var/lib/apt/lists/partial/… Hash Sum mismatch” Error
来源:互联网 发布:浙江省定额计价软件 编辑:程序博客网 时间:2024/05/21 12:45
Hello Guys,
I’ve a lot of Linux users around me fixing this problem especially Linux Mint and Ubuntu users. This is mostly as a result of cancelling the installation of some applications from the terminal.
Question:
Whenever I run: sudo apt-get update , I get the following messages:
~ sudo apt-get update.................................Fetched 208 kB in 36s (5,644 B/s)W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages Hash Sum mismatchW: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-i386_Packages Hash Sum mismatchW: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-i386_Packages Hash Sum mismatchE: Some index files failed to download. They have been ignored, or old ones used instead.
All you simply need to do is to take note of the location, in this case /var/lib/apt/lists/partial/ , The open up your terminal and remove all files residing in there using the commands below:
sudo rm -r /var/lib/apt/lists/partial/* sudo rm -r /var/lib/apt/lists/*
Next time you run sudo apt-get update it should work as required:
~ sudo apt-get update...............................................................Ign http://archive.ubuntu.com saucy/restricted Translation-en_USIgn http://archive.ubuntu.com saucy/universe Translation-en_USIgn http://archive.ubuntu.com saucy-updates/main Translation-en_USIgn http://archive.ubuntu.com saucy-updates/multiverse Translation-en_USIgn http://archive.ubuntu.com saucy-updates/restricted Translation-en_USIgn http://archive.ubuntu.com saucy-updates/universe Translation-en_USFetched 20.5 MB in 10min 11s (33.6 kB/s)Reading package lists... Done
Enjoy!
0 0
- How To Fix “W: Failed to fetch gzip:/var/lib/apt/lists/partial/… Hash Sum mismatch” Error
- Failed to fetch bzip2:/var/lib/apt/lists/partial/ Hash sum mismatch E: Some index files fail
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04
- Ubuntu failed to fetch ... hash sum mismatch
- Ubuntu update: Failed to fetch, Hash sum mismatch
- 解决ubuntu update出现Failed to fetch,hash sum mismatch的问题
- W: 无法下载 bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_main_source_Sources
- E: Unable to lock directory /var/lib/apt/lists/
- apt-get E: Lists directory /var/lib/apt/lists/partial is missing.
- ubuntu更新错误W:Failed to fetch
- How to Fix the Problem "Could not get lock /var/lib/dpkg/lock"
- E: Unable to lock directory /var/lib/apt/lists/_在Ubuntu下解决E: 加锁的问题
- How to Fix GIP.Trojan Windows Error
- how to fix error 25007 : loadlibraryshim()
- How to Fix QtWebKit4.dll DLL Error
- How to Fix QtWebKit4.dll DLL Error
- 为什么多线程读写 shared_ptr 要加锁?
- 鼠标响应事件 当鼠标经过/移出时切换css
- wincc项目归档数据导出
- 程序员生存定律--成长路上常见的坑(2)
- Linux中fork()函数讲解(转载)
- How To Fix “W: Failed to fetch gzip:/var/lib/apt/lists/partial/… Hash Sum mismatch” Error
- ZOJ 3635 Cinema in Akiba[ 块状数组 ]
- Eclipse下使用MinGW中的gdb调试OpenCV程序
- android 事件传递
- Cocoa 框架 For iOS(二)对象的分配初始化、内省、单例
- SQL SERVER 服务启动失败
- UVA - 120 Stacks of Flapjacks
- HDU 1533 Going Home(KM完美匹配)
- Java反射API与动态代理