在下面“困惑”的一天之后,我认输了。我的笔记本电脑将继续使用 Lucid Lynx,直到我得到一台新的。我很感谢大家的建议,并尽我所能尝试了,但 do-release-upgrade 仍然对我不起作用,如下面的脚本所示。我希望我能完全理解脚本告诉我的内容。首先,它转到旧版本网站获取 10.04 数据,然后显示“在 0 秒内获取了 0B(0B/s)”,这听起来好像什么都没获取。然后它转到 us.archive.ubuntu 网站获取 12.04 数据并显示“在 0 秒内获取了 250 kB(0 B/s)”,这听起来好像找到了 250 kB。旧版本网站是否缺少必要的数据?无论如何,我现在放弃了。
我仍然感到困惑,关于下面以“2015 年 4 月”开头的问题。我在三天内尝试了 do-upgrade-release,结果总是一样,所以不要认为这是网络问题。让我再问一个问题:有人知道“警告:无法读取镜像文件”消息的确切含义吗?如果消息中能指出未读取的文件的名称以及原因,那就太好了。此外,我的脚本有许多行以“Ign”(忽略?)、“Hit”和“Err”开头。Err 听起来很糟糕,但我不确定 Ign 和 Hit 是好是坏还是无关紧要。有人能理解这些消息吗?谢谢。
2015 年 4 月,我将台式机从 10.04 升级到 12.04,但忘记升级笔记本电脑了。现在,我正尝试将笔记本电脑从 10.04 升级到 12.04,但由于 10.04 已过时,因此我必须继续使用old-releases-ubuntu
。/etc/apt/sources.list
我这样做了:
在
/etc/apt/sources.list
,将所有us.archive.ubuntu
和security.ubuntu
改为old-releases-ubuntu
。sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get update sudo apt-get install update-manager-core sudo do-release-upgrade
注:
/etc/update-manager/release-upgrades
有Prompt=lts
但do-release-upgrade
中止了。下面是我在执行此操作时运行的脚本的摘要。如果您能告诉我我做错了什么,我将不胜感激。谢谢。另外:如果这个问题已经得到解答,您能否给我一个答案的链接?
注意:在下面的脚本中,我将所有更改http://
为URL:
,并将所有.com
更改为,-com
因为如果它包含超过 2 个链接,AskUbuntu 将不允许发布它,并删除了许多行以避免被视为垃圾邮件。
Script started on Sat 06 Feb 2016 04:27:58 PM MST
sudo do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
authenticate 'precise.tar.gz' against 'precise.tar.gz.gpg'
extracting 'precise.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
WARNING: Failed to read mirror file
0% [Connecting to old-releases.ubuntu-com] [Connecting to archive.ubuntu-com]
99% [URL:old-releases.ubuntu-com lucid-security/multiverse Sources 5826B]
Fetched 0B in 0s (0B/s)
Reading package lists... Done
Building dependency tree
Reading state information... 0%
Reading state information... Done
Building data structures... Done
Fetched 0B in 0s (0B/s)
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
0% [Connecting to old-releases.ubuntu-com (91.189.88.17)]
Ign URL:old-releases.ubuntu-com lucid InRelease
Hit URL:old-releases.ubuntu-com lucid/main Sources
26% [URL:old-releases.ubuntu-com lucid-security Release gpgv 58.7 kB]
Ign URL:old-releases.ubuntu-com lucid/main TranslationIndex
Err URL:old-releases.ubuntu-com lucid/main Translation-en
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Updating repository information
WARNING: Failed to read mirror file
0% [Connecting to us.archive.ubuntu-com (91.189.91.13)]
Ign URL:us.archive.ubuntu-com precise InRelease
Get:1 URL:us.archive.ubuntu-com precise-updates InRelease [196 kB]
1% [1 InRelease 2564 B/196 kB 1%]
Ign URL:us.archive.ubuntu-com precise-security InRelease
Hit URL:us.archive.ubuntu-com precise Release
Fetched 250 kB in 0s (0 B/s)
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Calculating the changes
Error authenticating some packages
It was not possible to authenticate some packages. This may be a
transient network problem. You may want to try again later. See below
for a list of unauthenticated packages.
accountsservice
acpi-support
activity-log-manager-common
[...] (many screens-worth of package-names)
zeitgeist-core
zenity
zenity-common
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Sat Feb 6 16:28:55 2016) ===
=== Command terminated with exit status 1 (Sat Feb 6 16:28:55 2016) ===
[screen is terminating]
exit
Script done on Sat 06 Feb 2016 04:29:25 PM MST