Medibuntu has now been shut down
source.list 要抓掉
http://askubuntu.com/questions/356794/the-medibuntu-project-has-come-to-an-end-what-do-i-do-now
aptitude purge medibuntu-keyring rm -f /etc/apt/sources.list.d/medibuntu.list aptitude update
aptitude purge $(dpkg-query -W -f='${PackageSpec}\t${Maintainer}\n' '*' |\ grep medibuntu-maintainers@lists.launchpad.net |\ cut -f1)
archive.ubuntu.com 跟 security.ubuntu.com 換成 old-releases.ubuntu.com
perl -p -i.bak -e 's/security.ubuntu.com|archive.ubuntu.com/old-releases.ubuntu.com/g' sources.list
Header 錯誤
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
sudo rm -vf /var/lib/apt/lists/*
Next, generate a new one by running a simple update:
Next, generate a new one by running a simple update:
sudo apt-get update