无法获取APT更新(不重复)

我已经检查了这个 , 这个和这个答案,在我的情况下它们都不起作用。 这是我在14.04 LTS笔记本电脑上运行sudo apt-get updatesudo apt-get update

 Get:10 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [336 kB] Get:11 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.2 kB] Get:12 http://us.archive.ubuntu.com trusty-updates/main Translation-en [350 kB] Get:13 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [6,832 B] Get:14 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [176 kB] Get:15 http://us.archive.ubuntu.com trusty Release [58.5 kB] Get:16 http://us.archive.ubuntu.com trusty/main i386 Packages [14 B] Get:17 http://us.archive.ubuntu.com trusty/universe i386 Packages [5,866 kB] Get:18 http://us.archive.ubuntu.com trusty/universe i386 Packages [5,866 kB] Get:19 http://us.archive.ubuntu.com trusty/main Translation-en [762 kB] ^[[B^[[B Get:20 http://us.archive.ubuntu.com trusty/universe Translation-en [4,089 kB] Fetched 7,516 kB in 22min 42s (5,514 B/s) W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead. 

在再次进行更新之前,我已经尝试过sudo apt-get clean然后是rm -rf /var/lib/apt/lists ,但它没有用。 以下是sources.list中启用的repos:

 deb http://us.archive.ubuntu.com/ubuntu/ trusty main deb http://us.archive.ubuntu.com/ubuntu/ trusty universe deb http://security.ubuntu.com/ubuntu trusty-security main deb http://security.ubuntu.com/ubuntu trusty-security universe deb http://security.ubuntu.com/ubuntu trusty-security multiverse deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main universe multiverse 

编辑

正如我在评论中所解释的那样,链接问题的答案对我来说并不合适。 我已经尝试删除lists文件夹并运行apt-get clean

首先,我从repogen生成了一个干净且极少的sources.list ,只有mainuniverse部分。 然后,我通过以下方式彻底重置了我的apt系统:

 sudo apt-get clean sudo rm -rf /var/lib/apt/lists/ sudo apt-get update --fix-missing 

但即使这样也无法解决问题。 然后我将问题源定位到sources.list repo行的universe部分:

 deb http://in.archive.ubuntu.com/ubuntu trusty main #deb http://in.archive.ubuntu.com/ubuntu trusty universe 

我发现在评论了universe部分之后, apt-get update工作没有任何问题,但是添加了universe ,我收到了这个错误:

 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'universe/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) 

然后根据@FlorianDiesch的建议,我尝试切换服务器:我尝试了主要的,印度和美国的,但没有运气:

 deb http://archive.ubuntu.com/ubuntu trusty universe deb http://in.archive.ubuntu.com/ubuntu trusty universe deb http://us.archive.ubuntu.com/ubuntu trusty universe 

最后,我尝试了德国服务器并获得了回报!

 deb http://de.archive.ubuntu.com/ubuntu trusty universe 

现在, apt-get update进行了适当的更新,没有任何问题。 这似乎表明,其他服务器的Release文件中存在一些问题,或者由于某种原因他们不喜欢我的机器设置。