升级 11.04 时出现问题

升级 11.04 时出现问题

我一直在尝试升级我的 ubuntu 11.04 台式计算机,但是当我单击升级按钮时:

在此处输入图片描述

我收到此错误:

我试图改变我的存储库,但它没有改变错误((关于“设置新的软件频道”)。 在此处输入图片描述

有人能给我指明正确的方向吗?

这是我的来源列表:

# deb http://ppa.launchpad.net/ailurus/ppa/ubuntu karmic main # disabled on upgrade to karmic
# deb-src http://ppa.launchpad.net/ailurus/ppa/ubuntu karmic main # disabled on upgrade to karmic

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090421.3)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted multiverse universe

## Major bug fix updates produced after the final release of the
## distribution. deb http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted multiverse universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## 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 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team. deb-src http://pt.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu natty partner deb-src http://archive.canonical.com/ubuntu natty partner

deb http://us.archive.ubuntu.com/ubuntu/ natty-security main restricted multiverse universe deb http://us.archive.ubuntu.com/ubuntu/ natty-proposed restricted main multiverse universe
# deb http://deb.torproject.org/torproject.org karmic main # disabled on upgrade to maverick
# deb-src http://deb.torproject.org/torproject.org karmic main # disabled on upgrade to maverick deb http://extras.ubuntu.com/ubuntu natty main #Third party developers repository

答案1

您需要jaunty从源列表或源列表.d/* 中删除所有相关存储库。
我直接跳到 jaunty 的原因是,在您的屏幕截图中,失败的档案jau以发行版名称开头。

它可能正在查找内容deb-src http://pt.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse,或者您​​的 sources.list.d 中可能还有其他内容。

你可以用文本编辑器编辑 /etc/sources.list.d,例如。如果您要编辑它,请先复制一份。就像那个答案所说的那样,您需要非常小心地编辑系统配置文件。

答案2

检查是否可以 ping pt.archive.ubuntu.com,如果不行的话...尝试修改你的

/etc/apt/sources.list

删除“pt”的引用并保留“archive.ubuntu.com”。这将影响新安装和更新的下载速度,但可能会解决问题。

相关内容