On 1/25/24 16:33, Michele Mor wrote:
Hi,I think that you have to update to the next version, 20.10 - then 21.04 and so on.Regards, MicheleOn Tue, 23 Jan 2024 at 04:21, Jonathan <[email protected] <mailto:[email protected]>> wrote:Hello, and sorry for the long delay in responding. Fortunately, the Ubuntu support lifecycle is a lot longer than that for commercial software, and as long as I can still get security updates, this issue is not urgent. But, I still cannot upgrade my Ubuntu from version 20.04.6 LTS to version 22.04.3 LTS. The updater either freezes or dies at the stage of "calculating upgrade..." So, as suggested last year, I finally got around to trying the upgrade from the command line. Here are the results: user@host:~$ sudo apt update && sudo apt upgrade -y [sudo] password for <user>: Get:1 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal InRelease [265 kB] Get:2 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates InRelease [114 kB] Get:3 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security InRelease [114 kB] Get:4 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-security InRelease [7,565 B] Get:5 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-updates InRelease [7,456 B] Get:6 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> focal-infra-security InRelease [7,450 B] Get:7 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> focal-infra-updates InRelease [7,449 B] Get:8 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/main i386 Packages [718 kB] Get:9 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/main amd64 Packages [970 kB] Get:10 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-security/main i386 Packages [76.8 kB] Get:11 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/main Translation-en [506 kB] Get:12 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/main amd64 c-n-f Metadata [29.5 kB] Get:13 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/restricted i386 Packages [8,112 B] Get:14 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/restricted amd64 Packages [22.0 kB] Get:15 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/restricted Translation-en [6,212 B] Get:16 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal/restricted amd64 c-n-f Metadata [392 B] Get:17 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/main amd64 Packages [3,030 kB] Get:18 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/main i386 Packages [694 kB] Get:19 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-security/main amd64 Packages [127 kB] Get:20 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/main i386 Packages [920 kB] Get:21 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-updates/main amd64 Packages [479 B] Get:22 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> focal-infra-security/main amd64 Packages [479 B] Get:23 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/main amd64 Packages [2,648 kB] Get:24 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/main Translation-en [489 kB] Get:25 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/main amd64 c-n-f Metadata [17.2 kB] Get:26 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/restricted amd64 Packages [2,585 kB] Get:27 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> focal-infra-updates/main amd64 Packages [479 B] Get:28 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/restricted i386 Packages [36.9 kB] Get:29 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/restricted Translation-en [360 kB] Get:30 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates/restricted amd64 c-n-f Metadata [552 B] Get:31 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/main Translation-en [406 kB] Get:32 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/main amd64 c-n-f Metadata [13.2 kB] Get:33 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/universe amd64 Packages [929 kB] Get:34 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/universe i386 Packages [640 kB] Get:35 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/universe Translation-en [196 kB] Get:36 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/universe amd64 c-n-f Metadata [19.2 kB] Get:37 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/restricted amd64 Packages [2,462 kB] Get:38 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/restricted i386 Packages [35.5 kB] Get:39 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/restricted Translation-en [343 kB] Get:40 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security/restricted amd64 c-n-f Metadata [552 B] Fetched 18.8 MB in 7s (2,749 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. user@host:~$ sudo do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [819 B] Get:2 Upgrade tool [1,260 kB] Fetched 1,261 kB in 0s (0 B/s) authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg' extracting 'jammy.tar.gz' Reading cache Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Hit http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal InRelease Hit http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> focal-updates InRelease Hit http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> focal-security InRelease Hit https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-security InRelease Hit https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> focal-apps-updates InRelease Hit https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> focal-infra-security InRelease Hit https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> focal-infra-updates InRelease Fetched 0 B in 0s (0 B/s) Reading package lists... Done Building dependency tree Reading state information... Done None Checking for installed snaps Calculating snap size requirements Updating repository information Get:1 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy InRelease [270 kB] Get:2 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> jammy-apps-security InRelease [7,553 B] Get:3 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security InRelease [110 kB] Get:4 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> jammy-apps-updates InRelease [7,456 B] Get:5 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> jammy-infra-security InRelease [7,450 B] Get:6 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates InRelease [119 kB] Get:7 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> jammy-infra-updates InRelease [7,449 B] Get:8 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> jammy-apps-security/main amd64 Packages [63.1 kB] Get:9 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> jammy-apps-security/main i386 Packages [40.9 kB] Get:10 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/main i386 Packages [1,040 kB] Get:11 https://esm.ubuntu.com/apps/ubuntu <https://esm.ubuntu.com/apps/ubuntu> jammy-apps-updates/main amd64 Packages [479 B] Get:12 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> jammy-infra-security/main amd64 Packages [479 B] Get:13 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/main amd64 Packages [1,395 kB] Get:14 https://esm.ubuntu.com/infra/ubuntu <https://esm.ubuntu.com/infra/ubuntu> jammy-infra-updates/main amd64 Packages [479 B] Get:15 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/main Translation-en [510 kB] Get:16 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/main amd64 c-n-f Metadata [30.3 kB] Get:17 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/restricted amd64 Packages [129 kB] Get:18 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/restricted i386 Packages [30.4 kB] Get:19 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/restricted Translation-en [18.6 kB] Get:20 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy/restricted amd64 c-n-f Metadata [488 B] Get:21 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/main i386 Packages [552 kB] Get:22 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/main amd64 Packages [1,282 kB] Get:23 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/main i386 Packages [386 kB] Get:24 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/main amd64 Packages [1,067 kB] Get:25 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/main Translation-en [262 kB] Get:26 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/main amd64 c-n-f Metadata [16.1 kB] Get:27 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/restricted i386 Packages [33.6 kB] Get:28 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/restricted amd64 Packages [1,280 kB] Get:29 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/restricted Translation-en [209 kB] Get:30 http://us.archive.ubuntu.com/ubuntu <http://us.archive.ubuntu.com/ubuntu> jammy-updates/restricted amd64 c-n-f Metadata [520 B] Get:31 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/main Translation-en [202 kB] Get:32 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/main amd64 c-n-f Metadata [11.4 kB] Get:33 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/universe amd64 Packages [832 kB] Get:34 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/universe i386 Packages [585 kB] Get:35 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/universe Translation-en [158 kB] Get:36 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/universe amd64 c-n-f Metadata [16.8 kB] Get:37 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/restricted amd64 Packages [1,260 kB] Get:38 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/restricted i386 Packages [33.2 kB] Get:39 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/restricted Translation-en [206 kB] Get:40 http://security.ubuntu.com/ubuntu <http://security.ubuntu.com/ubuntu> jammy-security/restricted amd64 c-n-f Metadata [520 B] Fetched 12.2 MB in 0s (0 B/s) Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Calculating the changes Calculating the changes Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. This was likely caused by: * Unofficial software packages not provided by Ubuntu Please use the tool 'ppa-purge' from the ppa-purge package to remove software from a Launchpad PPA and try the upgrade again. If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'. Restoring original system state Aborting Reading package lists... Done Building dependency tree Reading state information... Done Note that I don't have a "ppa-purge" command, and "apt" is unable to locate such a package (moreover, it doesn't seem to apply to me, anyway.) (Previously, I already tried bypassing the hardware firewall, but that didn't fix it, so I didn't try bypassing it again this time, but at least I got rid of "double-NAT" by plugging the firewall directly into the WAN--and the Internet works fine, just not the software upgrader.) I have attached /var/log/dist-upgrade/main.log. Relevant portions of /var/log/dist-upgrade/apt.log are posted at https://answers.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+question/709074 <https://answers.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+question/709074> Thanks, Jonathan On 4/5/23 20:41, Charles M wrote: > Hi Jonathan, > > I just updated several laptops from 20.04 to 22.04, but chose a > different method: > > 1. Open a terminal (Hold the Windows key and press T) > 2. Type the following: sudo apt update && sudo apt upgrade -y > > The commands above will prompt you for your password. The idea is to > make sure all updates for 20.04 are completely done correctly. The > first part of the command, sudo apt update, updates information about > what updates are available for 20.04, the second part after the &&, > sudo apt upgrade -y will upgrade all the packages, if there are any. > The -y just answers Yes. > > At this point, if there's an error the command line might give you a > better idea on how to fix it than the GUI updater. > > 3. Type the following: sudo do-release-upgrade > > Follow the prompts after. Hope this helps, > > Charles--
I don't see an obvious problem from the logs other than essential apps are not being upgraded/installed.
At earlier steps in the upgrade process, if you are selecting to preserve current apps/settings, those choices could be preventing the installation/upgrade of new components. I don't enough of the Xubuntu components to understand what/how essential parts are connected to each other.
Another option to check on is an old bugaboo: are you running out of disk space, either on the volume to be upgrade or in the /boot volume (where you should only have 2-3 kernel images)?
The sudden halt without explanation is a common result of a lack of disk space.
-Victor -- -- Victor Forberger [email protected] blog: http://linuxatty.wordpress.com
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- xubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
