Migrating from Ubuntu 22.04 to 24.04

Overall this was pretty painless, but did have a few problems on the way.

Could not contact web sites

I used the Software Updater application to upgrade to 24.04. This could not get to some sites. This is because some git hub keys had expired. (EXPKEYSIG 23F3D4EA75716059) See here for the solution.

  • Copy the long command to the clip board and execute it.
  • I do not think I needed to reinstall gh. ( I cannot test this because my migration was a success)

Disk space

The install complained that I did not have enough free space on /.

I removed various products: thunderbirds, libreoffice, gcc (theses get re-installed as part of the upgrade). I emptied the rubbish bin.

I removed some of the snaps.

The command snap list –all lists all of the currently installed snaps. The output is like

Name            Version       Rev Tracking      Publisher   Notes
gnome-3-38-2004 0+git.efb213a 143 latest/stable canonical** -
gnome-3-38-2004 0+git.6f39565 140 latest/stable canonical** disabled
...

My snap is configured to keep two revisions around.

I deleted the older versions

snap remove “gnome-3-38-2004″ –revision=”140”

I did not want to delete all versions, in case my upgrade to 24.04 failed, and I stayed on 22.04 for a while longer.

The upgrade took several hours,and seemed to work.

Rebooted into command line

After it had finished installing, I rebooted, and it booted into a command line – not the full screen mode.

I had been caught like this before, and used the command

sudo apt install –resinstall ubuntu-desktop

to reinstall gnome.

The next boot worked.

What’s different?

gedit

gedit is not installed by default. You can use apt to install it. The replacements is gnome-text-editor. I created an alias in ~/.bashrc

alias gte='gnome-text-editor'

so I can type gte…. to open a file.

parcellite did not work

I used this as my clip board manager. I started it, but it did nothing. A little while later it did work.

I installed copyq which provides more capability than parcellite.

I used settings -> Keyboard -> Keyboard Shortcuts > Custom shortcuts to create a short cut to copyq menu.

I used dash -> show apps -> startup applications to add copyq.

Touchpad speed

I still needed to use

echo 250 |sudo tee /sys/devices/platform/i8042/serio1/serio2/sensitivity

to make my touchpad sensitive to movement. You can also tweak/sys/devices/platform/i8042/serio1/serio2/speed.

I also found the command xset m 4/1 0 but I haven’t played with it

Why has it gone dark?

I use my laptop with a dual monitor, and the laptop was very dark (to the point of being almost unreadable). After a bit of faffing around the laptop brightness controls worked, and the screen came back to normal.

I also found

cat /sys/class/backlight/intel_backlight/brightness
cat /sys/class/backlight/intel_backlight/max_brightness

which gave me brightness 1365 and max_brightness 1515.

You can change the brightness using

echo 1000| sudo tee /sys/class/backlight/intel_backlight/brightness

This may be due to auto-dimming. Settings -> Power -> Power savings dim screen.

Lenovo server problems

When I ran sudo apt update, I got messages like

W: Skipping acquisition of configured file ‘sutton.simon/dep11/icons-64×64@2.tar’, as repository ‘http://lenovo.archive.canonical.com noble InRelease’ doesn’t have the component ‘sutton.simon’ (component misspelt in sources.list?)

I issued commands

  • sudo mv /etc/apt/sources.list.d/oem-sutton.simon-banning-meta.sources ~/sources.list.d.oem-sutton.simon-banning-meta.sources
  • sudo mv /etc/apt/sources.list.d/oem-sutton.simon-banning-meta.list.distUpgrade ~/sources.list.d.oem-sutton.simon-banning-meta.list.distUpgrade

and it seems to have cured the problem.

IOS077E IOS075E zPDT ADCD. Fixed!

Update

After I installed ZDT_Install_PE_V14.2.4.tgz. I could use later Linux kernels. This worked on

  • Ubuntu 22.04 with 5.15.0-122-generic
  • and Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-48-generic x86_64)

The original problem

After an upgrade to my Ubuntu system, I started getting

IOS071I 0405,A1,VTAM, MISSING CHANNEL AND DEVICE END    
IOS071I 0401,A0,VTAM, MISSING CHANNEL AND DEVICE END
IOS071I 0405,**,VTAM, HALT SUBCHANNEL INTERRUPT MISSING
IOS077E 0405,**,*MASTER*, CLEAR SUBCHANNEL INTERRUPT MISSING
IOS075E 0405,RECURRING MIH CONDITION FOR THIS DEVICE
IOS077E 0405,**,*MASTER*, CLEAR SUBCHANNEL INTERRUPT MISSING
IOS075E 0405,RECURRING MIH CONDITION FOR THIS DEVICE
IOS077E 0405,**,*MASTER*, CLEAR SUBCHANNEL INTERRUPT MISSING
IOS075E 0405,RECURRING MIH CONDITION FOR THIS DEVICE

This seems to be a Linux problem.

On Ubuntu uname -a gave me

6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC

I rebooted Linux, interrupted the boot sequence, chose advance boot options for Ubuntu, and chose a different level. Once Linux had restarted uname -a gave me

6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC

and this works with no problems.

Until this is fixed, you’ll have to do this at every reboot. You can specify the default kernel, but it is not well explained, so I’ll go with this method. The fix is due to be shipped in zPDT due 4Q2024.

I found some documentation on saving the last Linux kernel used

The best solution was to set (in /etc/default/grub):

 GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

With this settings the last selected value is kept for the next boot. If you have a new kernel you don’t have to edit your config.

Don’t forget to re-run sudo update-grub

It fails on earlier and current(14.2.2) releases of zPDT code.