Lor*_*der 5 upgrade 18.10 19.04
我目前使用的是 Ubuntu 18.10 并尝试通过以下方式升级到 19.04
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool [1.214 kB]
Err Upgrade tool signature
404 Not Found [IP: 91.189.91.23 80]
Fetched 1.214 kB in 0s (0 B/s)
WARNING:root:file 'disco-updates.tar.gz.gpg' missing
Failed to fetch
Fetching the upgrade failed. There may be a network problem.
Run Code Online (Sandbox Code Playgroud)
网络连接很好,我没有任何中断。我还没有使用 Ubuntu 的经验,所以我想我先问一下,而不是调整文件。
编辑:我不知道为什么我应该使用-d,但忽略了升级工作。
这为我解决了这个问题:
sudo apt-get update --fix-missing; sudo dpkg --configure -a; sudo apt-get install -f; sudo apt-get update; sudo apt-get upgrade;
sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
请参阅https://ubuntuforums.org/showthread.php?t=2391552
如果不尝试
sudo mv /etc/apt/sources.list ~/
sudo touch /etc/apt/sources.list
software-properties-gtk
Run Code Online (Sandbox Code Playgroud)
检查前两个框。您可能还想更改服务器。这将重新创建源列表。
请参阅如何恢复默认存储库?
作为新用户,我强烈建议您不要升级 ubuntu,而是在此处下载 ubuntu 表单:https://www.ubuntu.com/download/desktop/thank-you ?country=FR&version=19.04&architecture=amd64
然后打开 USB 创建者:
其余的基本上就是即插即用。
我建议将您的数据保存到新的地方。