由于17.04已经不再提供更新了,因此决定升级到17.10。先执行sudo apt update && sudo apt dist-upgrade报如下错
命中:1 http://storage.googleapis.com/bazel-apt stable InRelease
命中:2 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty InRelease
忽略:3 http://archive.ubuntu.com/ubuntu zesty InRelease
命中:4 http://archive.canonical.com/ubuntu zesty InRelease
忽略:5 http://archive.ubuntu.com/ubuntu zesty-updates InRelease
命中:6 http://ppa.launchpad.net/webupd8team/java/ubuntu zesty InRelease
忽略:7 http://archive.ubuntu.com/ubuntu zesty-backports InRelease
忽略:8 http://archive.ubuntu.com/ubuntu zesty-security InRelease
错误:9 http://archive.ubuntu.com/ubuntu zesty Release
404 Not Found [IP: 91.189.88.152 80]
错误:10 http://archive.ubuntu.com/ubuntu zesty-updates Release
404 Not Found [IP: 91.189.88.152 80]
错误:11 http://archive.ubuntu.com/ubuntu zesty-backports Release
404 Not Found [IP: 91.189.88.152 80]
错误:12 http://archive.ubuntu.com/ubuntu zesty-security Release
404 Not Found [IP: 91.189.88.152 80]
正在读取软件包列表... 完成
E: 仓库 “http://archive.ubuntu.com/ubuntu zesty Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “http://archive.ubuntu.com/ubuntu zesty-updates Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “http://archive.ubuntu.com/ubuntu zesty-backports Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “http://archive.ubuntu.com/ubuntu zesty-security Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
再进入软件和更新在更新tab页中选择适用任何新版本选项。再到命令行中执行update-manager -c弹出报错窗口下载软件仓库信息失败。点击设置按钮再次进入软件和更新,第一个tab页ubuntu软件选择下载自主服务器,关闭后提示不再为17.04提供软件更新。点击升级按钮。在设定新的软件源这一步报升级出错信息如下
E:仓库 “http://archive.ubuntu.com/ubuntu stable Release” 没有 Release 文件。
试了多次都无法解决这个问题,期间根据网上的帖子还修改过etc/apt/sources.list但没有成功,当前sources.list如下,求大神指点迷津。
# deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu zesty main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu zesty-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-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://archive.ubuntu.com/ubuntu zesty universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty universe
deb http://archive.ubuntu.com/ubuntu zesty-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-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://archive.ubuntu.com/ubuntu zesty multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://archive.ubuntu.com/ubuntu zesty-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-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
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu zesty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-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 zesty partner
deb-src http://archive.canonical.com/ubuntu zesty partner
deb http://archive.ubuntu.com/ubuntu zesty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://archive.ubuntu.com/ubuntu zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://archive.ubuntu.com/ubuntu zesty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
从17.04升级到17.10失败,求大神指点迷津!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 7
- 注册时间: 2018-02-04 16:51
- 系统: ubuntu 17.04
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 从17.04升级到17.10失败,求大神指点迷津!
1. http://archive.ubuntu.com/ubuntu/dists/错误:9 http://archive.ubuntu.com/ubuntu zesty Release
404 Not Found [IP: 91.189.88.152 80]
错误:10 http://archive.ubuntu.com/ubuntu zesty-updates Release
404 Not Found [IP: 91.189.88.152 80]
错误:11 http://archive.ubuntu.com/ubuntu zesty-backports Release
404 Not Found [IP: 91.189.88.152 80]
错误:12 http://archive.ubuntu.com/ubuntu zesty-security Release
404 Not Found [IP: 91.189.88.152 80]
已經沒有 zesty 目錄
2. 解決方案
把 http://archive.ubuntu.com/
全部改為 http://old-releases.ubuntu.com/
2-1. 參閱
https://help.ubuntu.com/community/EOLUp ... urces.list
Update sources.list
3. 把這一行 前面加上 #命中:2 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty InRelease
4. 然後
sudo apt-get update
sudo apt-get upgrade
5. 然後 開始升級
6. 建議
如果沒有重要原因
全新安裝 17.10 比較快 也比較沒問題
6-1. 注意 下載 Ubuntu 17.10.1 的 ISO
http://forum.ubuntu.com.cn/viewtopic.ph ... 9#p3201449
-
- 帖子: 7
- 注册时间: 2018-02-04 16:51
- 系统: ubuntu 17.04
Re: 从17.04升级到17.10失败,求大神指点迷津!
感谢poloshiao的回复,我还是按照您的建议升级吧,因为安装的时候没有分区,有些比较重要的资料不想丢失了!