将 12.04 LTS 升级到 12.10 时出错

将 12.04 LTS 升级到 12.10 时出错

通过更新管理器升级 Ubuntu 时,我收到以下错误。出现此错误后,系统恢复到其原始版本。

W:Failed to fetch http://archive.canonical.com/dists/[distro]/partner/source/Sources  404  Not Found [IP: 91.189.92.191 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.

我的sources.list

# deb cdrom:[Ubuntu 12.04.3 LTS Precise Pangolin - Release amd64 (20130820.1)]/ dists/precise/main/binary-i386/ 
# deb cdrom:[Ubuntu 12.04.3 LTS Precise Pangolin - Release amd64 (20130820.1)]/ dists/precise/restricted/binary-i386/ 
# deb cdrom:[Ubuntu 12.04.3 LTS Precise Pangolin - Release amd64 (20130820.1)]/ precise main restricted 
# See help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu quantal main restricted 
deb-src http://in.archive.ubuntu.com/ubuntu quantal main restricted 

## Major bug fix updates produced after the final release of the 
## distribution. 
deb http://in.archive.ubuntu.com/ubuntu quantal-updates main restricted 
deb-src http://in.archive.ubuntu.com/ubuntu quantal-updates main restricted 

## 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.         
deb http://in.archive.ubuntu.com/ubuntu quantal universe 
deb-src http://in.archive.ubuntu.com/ubuntu quantal universe 
deb http://in.archive.ubuntu.com/ubuntu quantal-updates universe 
deb-src http://in.archive.ubuntu.com/ubuntu quantal-updates universe 

## 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.
deb http://in.archive.ubuntu.com/ubuntu quantal multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu quantal multiverse 
deb http://in.archive.ubuntu.com/ubuntu quantal-updates multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu quantal-updates multiverse 

## 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

答案1

打开系统设置(又名 Gnome 控制中心),选择软件与更新,选择标签其他软件并取消选中规范合作伙伴存储库。

在此处输入图片描述

您还可以取消选中源代码在上一个选项卡上。

在终端中运行sudo apt-get update && sudo apt-get dist-upgrade

然后您就可以进行更新过程。

相关内容