Re: [Bug 2063952] [NEW] Upgrade problem caused by many mistakes and broken packages.

2024-04-27 Thread Bas Roufs
Wanna add one thing.

Thanks God, I DID manage to read and write my 128 GB Ventoy USB. I already
copied the ISO to it from Kubuntu 24.04 LTS.I

However, I cannot read the 2 and 4 GB USB devices I am using for backup
purposes. This is one of the reasons, I have decided to carry out a fresh
install of the latest Kubuntu LTS at my system.

Yours.

Bas.

Yours.

Bas.

Op za 27 apr 2024 om 16:45 schreef Bas Roufs
<2063...@bugs.launchpad.net>:

> 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 
> 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 

[Bug 2063952] [NEW] Upgrade problem caused by many mistakes and broken packages.

2024-04-27 Thread Bas Roufs
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 
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