首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >以下推荐说明未能将Ubuntu 17.04升级到17.10

以下推荐说明未能将Ubuntu 17.04升级到17.10
EN

Ask Ubuntu用户
提问于 2018-01-28 01:54:51
回答 2查看 669关注 0票数 3

请不要像复本一样关闭。我遵循了另一篇文章中的说明:如何安装软件或从旧的不受支持的版本升级?

我还阅读了Wiki条目,它基本上就像文章中所说的"update sources.list、update/dist-upgradedo-release-upgrade“。

https://help.ubuntu.com/community/EOLUpgrades/

它不起作用;我得到以下输出:

代码语言:javascript
复制
Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Get:1 file:/var/cuda-repo-8-0-local-cublas-performance-update  InRelease                                               
Ign file:/var/cuda-repo-8-0-local-cublas-performance-update  InRelease                                                 
Get:2 file:/var/cuda-repo-8-0-local-ga2  InRelease                                                                     
Ign file:/var/cuda-repo-8-0-local-ga2  InRelease                                                                       
Get:3 file:/var/cuda-repo-8-0-local-cublas-performance-update  Release [574 B]                                         
Get:4 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]                                                               
Get:5 file:/var/cuda-repo-8-0-local-cublas-performance-update  Release [574 B]                                         
Get:6 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]                                                               
Hit http://repo.steampowered.com/steam precise InRelease                                                               
Hit http://packages.microsoft.com/repos/vscode stable InRelease                                                        
Hit http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty InRelease                                                  
Hit http://old-releases.ubuntu.com/ubuntu zesty InRelease                                                              
Hit http://old-releases.ubuntu.com/ubuntu zesty-updates InRelease                                                      
Hit http://old-releases.ubuntu.com/ubuntu zesty-backports InRelease                                                    
Hit http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu zesty InRelease                                               
Hit http://old-releases.ubuntu.com/ubuntu zesty-security InRelease                                                     
Hit http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu zesty InRelease                                                 
Fetched 0 B in 0s (0 B/s)                                                                                              
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Updating repository information

Third party sources disabled 

Some third party entries in your sources.list were disabled. You can 
re-enable them after the upgrade with the 'software-properties' tool 
or your package manager. 

To continue please press [ENTER]

.......

  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-updates/universe arm64 Packages                                         
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-updates/multiverse arm64 Packages                                       
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-backports/main arm64 Packages                                           
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-backports/universe arm64 Packages                                       
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-security/main arm64 Packages                                            
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-security/universe arm64 Packages                                        
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful-security/multiverse arm64 Packages                                      
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Err http://us.archive.ubuntu.com/ubuntu artful/main arm64 Packages                                                     
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Ign http://us.archive.ubuntu.com/ubuntu artful/universe arm64 Packages                                                 
Ign http://us.archive.ubuntu.com/ubuntu artful/multiverse arm64 Packages                                               
Err http://us.archive.ubuntu.com/ubuntu artful-updates/main arm64 Packages                                             
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Ign http://us.archive.ubuntu.com/ubuntu artful-updates/universe arm64 Packages                                         
Ign http://us.archive.ubuntu.com/ubuntu artful-updates/multiverse arm64 Packages                                       
Err http://us.archive.ubuntu.com/ubuntu artful-backports/main arm64 Packages                                           
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Ign http://us.archive.ubuntu.com/ubuntu artful-backports/universe arm64 Packages                                       
Err http://us.archive.ubuntu.com/ubuntu artful-security/main arm64 Packages                                            
  404  Not Found [IP: 91.189.91.26 80]                                                                                 
Ign http://us.archive.ubuntu.com/ubuntu artful-security/universe arm64 Packages                                        
Ign http://us.archive.ubuntu.com/ubuntu artful-security/multiverse arm64 Packages                                      
Fetched 466 kB in 0s (0 B/s)                                                                                           

Error during update 

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry. 

E:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/artful/main/binary-arm64/Packages 
404 Not Found [IP: 91.189.91.26 80], E:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/artful-updates/main/binary-arm64/Packages 
404 Not Found [IP: 91.189.91.26 80], E:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/artful-backports/main/binary-arm64/Packages 
404 Not Found [IP: 91.189.91.26 80], E:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/artful-security/main/binary-arm64/Packages 
404 Not Found [IP: 91.189.91.26 80], E:Some index files failed to 
download. They have been ignored, or old ones used instead. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
=== Command terminated with exit status 1 (Sat Jan 27 17:47:46 2018) ===

不幸的是,我无法复制“.”中的中间部分。因为升级过程启动了一些不允许回滚的子终端进程(我的正常屏幕转义和滚动无法工作,那么谁知道这是什么?)

问题似乎是us.archive.ubuntu.com/ubuntu/实际上没有巧妙的档案?

在下面的一些评论之后添加了澄清:

  • 问题似乎是,我添加了对arm64的多重拱形支持,以支持交叉编译到Jetson TX2 (谢谢!)
  • 这反过来又不适用于自动镜像选择,因为许多镜像只能反映Intel架构(为什么不能找到合适的镜像呢?)
  • 更改镜像的建议让我感到困惑,因为我找不到任何关于如何说服do-release-upgrade使用特定镜像的文档(我确实使用了20分钟的Google;最接近的是如何将它指向我自己的完整存档镜像,我既不知道如何设置,也不想设置)。
  • do-release-upgrade是专门用于交换系统上存在的sources.list文件的文档,这意味着我不应用于发行版升级的任何本地编辑

因此,现在的问题是:我如何说服do发布升级使用具有所有适当架构的特定镜像(或中央存档)?

EN

回答 2

Ask Ubuntu用户

发布于 2018-01-28 03:37:38

大多数Ubuntu镜像都是x86 (i386 arch) & x86_64 (amd64)的镜像,并且不包括像arm64这样的许多其他体系结构。所以你有两个选择

  • 只使用主镜像archive.ubuntu.com/..
  • 在country.mirror中添加一个仅使用x86/x86_64的限制

第二个选项的一个例子是

deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu artful ....

票数 3
EN

Ask Ubuntu用户

发布于 2018-04-25 19:07:25

当我试图在实际的do-release-upgrade机器上运行arm64时,我也遇到了同样的问题。

最后,我按照这个答案中的说明下载了(在我的例子中) artful.tar.gz升级包:

代码语言:javascript
复制
cd somewhere
curl -LO http://archive.ubuntu.com/ubuntu/dists/artful/main/dist-upgrader-all/current/artful.tar.gz
curl -LO http://archive.ubuntu.com/ubuntu/dists/artful/main/dist-upgrader-all/current/artful.tar.gz.gpg
gpg --verify artful.tar.gz.gpg artful.tar.gz
# this will fail, download the key:
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x...
gpg --verify artful.tar.gz.gpg artful.tar.gz
tar xf artful.tar.gz

然后,从mirrors.cfg文件中删除所有内容,然后只添加:

代码语言:javascript
复制
http://ports.ubuntu.com/ubuntu-ports/

现在,快跑

./artful --mode=server --frontend=DistUpgradeViewText

要启动升级过程,请执行以下操作。

我不知道我是如何在这种情况下结束的,似乎do-release-upgrade不应该在非x86/x64 Ubuntu安装上工作。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1000562

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档