我正在尝试从 Ubuntu SW 中心为 Ubuntu 12.10 安装 GIMP,但每次尝试时都会收到无法访问存储库的提示,我必须检查我的 Internet 连接。Firefox 和 Thunderbird 可以正常工作。此外,还显示由于缺乏身份验证而无法安装不安全程序的信息。有人可以给出一些解释吗?
答案1
打开终端,
按Ctrl++AltT
运行:
sudo -i
nano /etc/apt/sources.list
在打开的文件中,删除内容并粘贴以下内容:
## Uncomment the following two lines to fetch updated software from the network
deb http://old-releases.ubuntu.com/ubuntu quantal main restricted
deb-src http://old-releases.ubuntu.com/ubuntu quantal main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://old-releases.ubuntu.com/ubuntu quantal-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu quantal-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://old-releases.ubuntu.com/ubuntu quantal universe
deb-src http://old-releases.ubuntu.com/ubuntu quantal universe
deb http://old-releases.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu quantal-security main restricted
deb http://old-releases.ubuntu.com/ubuntu quantal-security universe
deb-src http://old-releases.ubuntu.com/ubuntu quantal-security universe
deb http://old-releases.ubuntu.com/ubuntu quantal multiverse
deb-src http://old-releases.ubuntu.com/ubuntu quantal multiverse
deb http://old-releases.ubuntu.com/ubuntu quantal-backports main restricted universe multiverse
Ctrl + O,保存文件。Ctrl + X,关闭 nano。
继续在终端中运行:
sudo -i
apt-get update
apt-get dist-upgrade
apt-get install gimp
apt-get clean