我回答了这个关于do-release-upgrade不允许从 14.10 升级到 15.04 只升级到 15.10 的问题,我认为这是由于 15.04 生命周期结束。
一位用户 (@xangua ) 发帖说,不可能跳过带有 的发布do-release-upgrade,因此我通过在 14.04 机器上运行命令来查看此信息,但这就是混乱开始的地方。
我的 14.04 想直接升级到 15.04?
当然,这使我的答案无效,因为 15.04 是生命周期的结束,但是如果不是基于生命周期的结束,为什么这个命令似乎正在跳过版本?
没有迹象表明升级会下载 14.10 中的任何内容,并software-updater表示现在可以下载 Ubuntu 15.04,对此进行一些澄清会很棒。
我正在尝试使用 升级到 18.04 sudo do-release-upgrade -d,但它退出安装并显示以下消息:
Calculating the changes
EFI System Partition (ESP) not usable
Your EFI System Partition (ESP) is not mounted at /boot/efi.
Please ensure that it is properly configured and try again.
Restoring original system state
Aborting
Run Code Online (Sandbox Code Playgroud)
我在这台机器上有 Windows 作为双启动。在 Windows 10 上禁用快速启动。
我试图在 GParted 中安装它,但该选项被禁用...
我应该怎么做才能继续前进?
从 Ubuntu 21.04 升级到 21.10 后,密码管理器pass将尝试使用wl-copy和wl-paste来代替xclip(如果提供了该-c选项)。
$ pass -c my/password
/usr/bin/pass: line 180: wl-copy: command not found
Error: Could not copy data to the clipboard
Run Code Online (Sandbox Code Playgroud) 当尝试从 20.04 升级到 22.04 时,我收到一条错误消息,提示/boot. 但请求的空间量非常大(617M),这让我怀疑出了什么问题。
产生的错误消息do-release-upgrade:
Not enough free disk space
The upgrade has aborted. The upgrade needs a total of 617 M free
space on disk '/boot'. Please free at least an additional 282 M of
disk space on '/boot'. You can remove old kernels using 'sudo apt
autoremove' and you could also set COMPRESS=xz in
/etc/initramfs-tools/initramfs.conf to reduce the size of your
initramfs.
Run Code Online (Sandbox Code Playgroud)
内容/boot:
$ ls -lh /boot/
total …Run Code Online (Sandbox Code Playgroud) 我收到通知说我的桌面安装有更新,但我无法这样做。我看不到真正的错误消息。我已经运行了sudo apt autoremove、sudo apt upgrade和sudo apt install,它给出了0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded。这是我运行时的屏幕do-release-upgrade:
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit http://archive.canonical.com xenial InRelease
Hit http://security.ubuntu.com/ubuntu xenial-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Restoring original system state
Aborting
Reading …Run Code Online (Sandbox Code Playgroud) 我发现sources.listin/etc/apt是所有存储库的密钥文件。
我还发现每个系统和ubuntu版本都有自己的sources.list,所以这就是我有点实验的心情!
我当时使用的是Ubuntu 18.04 LTS(64 位),只是浏览并查看不同的sources.list文件。其中我发现了一些有趣的事情。所以,截至目前,有很多新的ubuntu版本刚刚发布。我也愿意将我的升级到21.04 (因为 gnome 40)
所以我发现我可以通过命令升级ubuntusudo do-release-upgrade但是该命令会转到下一个版本,而不是最新版本。所以这是非常耗时和消耗互联网的(我没有 20GB 的互联网)
我发现的唯一方法是从 ISO 重新安装,但我不想刷新所有数据或包,因为它们也需要一点时间来安装。
所以我所做的有点 愚蠢,我将我的内容更改sources.list为-
#deb cdrom:[Ubuntu 21.04 _Hirsute Hippo_ - Release amd64 (20210420)]/ hirsute main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hirsute main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ hirsute main restricted
## Major bug fix updates produced after the …Run Code Online (Sandbox Code Playgroud) 我目前正在升级我的系统 SSH
它要求我升级到新版本ports.conf,我选择了比较两个差异的选项。
如何在不取消升级的情况下退出?
在收到关于1404_HWE_EOL 的通知后,我正在考虑将一个重要的生产系统升级到 16.04.1。我说“重要的生产系统”是因为这是我每天工作时使用的工作站。我想避免错误或其他问题,因为我没有多余的时间花在调试和整理问题上(IT 部门不帮助处理 linux 系统)。我备份了所有数据,但没有备份当前的操作系统分区(我可以将操作系统驱动器作为另一层后备)。在升级之前我还应该执行哪些其他步骤?我想知道如何在使用 Ubuntu 中提供的版本升级时尽量减少复杂性。
我已阅读有关在升级之前删除 PPA 的信息。我安装了 27 个 PPA,删除所有这些以及它们带来的程序需要一些时间,然后在升级后将其反转。这有显着的好处吗?还要别的吗?
ppa do-release-upgrade hardware-enablement-stack 14.04 16.04
我正在使用 ubuntu 统一桌面
统一控制中心>共享>屏幕共享>未选择共享网络
连接工作正常/但未显示在共享设置中/请检查屏幕截图
ubuntu 18.04(但在默认 gnome 中工作正常)
问题截图:
network-manager do-release-upgrade ubuntu-gnome unity-control-center 18.04
是时候将 Ubuntu 从 18.04 升级到 20.04 了!但在进程没有错误消息的情况下中止之前我并没有走得太远。是否有日志文件可供我查看以获取更多信息?
$ uname -a
Linux tribble 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1554 B]
Get:2 Upgrade tool [1340 kB]
Fetched 1342 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
Run Code Online (Sandbox Code Playgroud)
在创建的屏幕中:
Reading cache …Run Code Online (Sandbox Code Playgroud) upgrade updates do-release-upgrade windows-subsystem-for-linux