Some body are using Ubuntu 10.10 (Aka maverick) may meet the problem
E: Unable to locate package xxx
if you were trying to install new software thur "sudo apt-get install xxx".
That means Ubuntu 10.10 software sources are not available any more.
One way to make it happen is to change sources.
Open your favorite editor and edit /etc/apt/sources.list
Change domain name to "old-releases.ubuntu.com" (below is mine)
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
Tested and it works (2013, Jan 30)
Wish it can helpful!
当使用Ubuntu 10.10安装新软件时遇到E: Unable to locate package xxx错误,这通常意味着软件源已失效。本教程指导您如何通过编辑/etc/apt/sources.list文件,将源更改为old-releases.ubuntu.com,从而解决问题并重新激活软件源。
1594

被折叠的 条评论
为什么被折叠?



