Public bug reported:

Upgrade problem caused by many mistakes and broken packages.

Bug report 27 April 2024.in

From Bas Roufs for Kubuntu developers.

Mook, near Nijmegen, NL, 27 April 2024.

Hello Everybody.

Only a few weeks ago, I installed Kubuntu 22.04.1 LTS at my Lenovo
Thinkpad X230 i5, 4GB RAM and 250 GB SSD at present. In a few weeks from
now, I'll go to a computer repair shop that will add an extra SSD of 1
GB and 2 DDR 3, 1600 Mhz memory banks - with a view to getting 16 GB
RAM.

My idea was the following....

STEP 1.
Prepare a system with the all the packages and languages modules I need for 10 
languages - spell and grammar check, etc.

STEP 2.
Upgrade from Kubuntu 22.04.4 LTS to Kubuntu 24.04 LTS.
However, it has become clear to me that a direct, automatic upgrade from the 
previous LTS to the current one is only possible after the issue of Kubuntu 
24.04.1 LTS on 15 August 2024. This is way too late for me and in the middle of 
my holiday period.
So, I have considered the option to make first an upgrade to Kubuntu 23.10, 
after which I would upgrade to 24.04. However, this attempt ended up in many, 
many complications as summarised here.

STEP 3.
Attempt to prepare a data only backup via Backintime or Luckybackup.
However, Backintime seemingly caused complications as summarised below.

STEP 3A.
Attempt to prepare a system backup via Timeshift. However, this is too 
complicated for now - I'll start using Timeshift after getting the new 1 TB 
SSD. The old 250 GB SSD, I want to use for the Timeshift system-backup. My 
practice experience makes me clear that Timeshift is NOT AT ALL good for 
migration from one disk or one laptop to another.

STEP 3B.
Prepare migration from the smaller to the bigger SSD: via a compressed 
CloneZilla ISO image of the whole SSD at a Ventoy USB. Like this, I wanted to 
port all the packages, language modules, etc. to the bigger, new SSD.
However, because of the complications summarised below, I need to make a fresh 
new install of, in this case, Kubuntu 24.04 LTS even before getting the hard 
ware upgrades: the extra SSD and RAM memory. With the language modules, 
packages, etc., I need to start again after fresh-installing «Noble Numbat».

On the other hand, I stick to the plan to create a CloneZilla ISO: a
compressed version of the contents my whole small 250 GB SDD. Like this,
I want to get all the language settings, etc. to the new configuration
after getting the new 1 TB SSD.

STEP 3C.
After getting the new SSD and RAM memory.... Installing the whole system and 
all data from the CloneZilla ISO.

COMPLICATIONS EVER SINCE THURSDAY 25-04-2024.

After installing Backintime, for the data only backup, the system does not 
'see' anymore my 4 TB external hard disks, formatted in EXT4. Also a 2 TB USB 
stick formatted in FAT32 can not be used any more. Note - I am using USB 3.0 
ports.....
So, I uninstalled again Backintime. However, this uninstallit ment action does 
not help. My system still does not "see" USB devices.

That's why, I have copied some provisional data backups to Wetransfer.
ASAP after fresh-installing Kubuntu 24.04 LTS, I'll retrieve my recent
data from there.

On Thursday, Kubuntu 24.04 LTS has been released. However, I do not manage to 
upgrade to it. That's why, I did several attempts to upgrade to Kubuntu 23.10, 
prior to upgrading to the newest LTS version. However, because of my ppa 
backports, I was not able to do an upgrade.
So, I have removed the backports and also Flatpak - via the package managers at 
my system.

However, those efforts did not help. Several attempts to upgrade to
23.10 ended up like this:

«(...)
bas@Camino:~$ sudo do-release-upgrade -m desktop
Checking for a new Ubuntu release
ERROR:root:getting the encoding failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeView.py", line 
39, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python3.10/locale.py", line 620, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

= Welcome to Ubuntu 23.10 'Mantic Minotaur' =

The Ubuntu team is proud to announce Ubuntu 23.10 'Mantic Minotaur'.

(...ETC.....)

Could not determine the upgrade

An unresolvable problem occurred while calculating the upgrade.

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... Done
Reading state information... Done
bas@Camino:~$
(...)»

I have been checking main.log and apt.log as well as some other logs in 
'/var/log/dist-upgrade'
Main problem - too many broken packages and depencies.

What to do next?
One option is seemingly not a realist option. I have considered to try to use 
the Kubuntu 22.04.4 LTS ISO at my Ventoy stick to fix the many broken packages. 
However, this is simply to complicated and time consuming.

That's why, I have downloaded via KTorrent the Kubuntu 24.04 LTS ISO
that is available now. I gonna put it at the same Ventoy stick, after
which I fresh-install this new LTS. I'll do so after submitting this
error report.

Via this terminal code I have unleashed this bug report:

ubuntu-bug ubuntu-release-upgrader-core

Like this, you'll get recent info from this folder:
/var/log/dist-upgrade

However, I feel it is better that you'll info from ALL my upgrade
attempts from Friday 26 April 2024. That's why, I have copied the whole
directory /var/log/dist-upgrade/ - along with all subdirectories and
files, alltogether a bit less then 2 MB. Together with the bug report, I
send you a ZIP file that contains the whole story.

Thanks for considering this report.


Yours.

Bas Roufs.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.19
ProcVersionSignature: Ubuntu 6.5.0-28.29~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CrashReports:
 640:0:124:197547:2024-04-26 18:10:11.686690723 +0200:2024-04-26 
18:10:11.682690716 +0200:/var/crash/_usr_bin_do-release-upgrade.0.crash
 640:1000:124:14696112:2024-04-25 20:24:56.972544146 +0200:2024-04-25 
20:24:54.724407253 +0200:/var/crash/_usr_share_backintime_qt_app.py.1000.crash
CurrentDesktop: KDE
Date: Sat Apr 27 15:29:26 2024
InstallationDate: Installed on 2024-04-02 (24 days ago)
InstallationMedia: Kubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 
(20240216.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to jammy on 2024-04-26 (0 days ago)
mtime.conffile..etc.update-manager.release-upgrades: 2024-04-26T17:36:58.697388

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade jammy

** Attachment added: "All the error reports related to fruitless attempts to 
upgrade from Kubuntu 22.04.4. LTS to Kubuntu 23.10."
   
https://bugs.launchpad.net/bugs/2063952/+attachment/5771645/+files/dist-upgrade.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063952

Title:
  Upgrade problem caused by many mistakes and broken packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2063952/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to