无法从 12.04LTS 升级到 14.04

无法从 12.04LTS 升级到 14.04

几天来我一直尝试升级到 14.04,但每次我都会收到此错误消息:

W:Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_trusty-security_universe_i18n_Translation-en  
Encountered a section with no Package: header, E:Some index files failed to download. They have been ignored, or old ones used instead.

答案1

也许你需要重建 apt 缓存:

cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update

http://ubuntuforums.org/showthread.php?t=1983220&page=5

相关内容