Ubuntu 24.04 upgrade

From Bitpost wiki
Revision as of 15:23, 19 September 2024 by M (talk | contribs)

GUI systems

Non-GUI systems

mh-update-ubuntu
# reboot
sudo do-release-upgrade

NOTES

  • FFS You must use 24.04.1, any older version is NOT OFFICIALLY SUPPORTED and there will not be a direct path from 22.04.x. Idiots were supposed to have it ready 2024/08/15 but bugs pushed that to 2024/08/29.
  • Ensure all repos are available

Fucking google key needs bump:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -

I had to hunt and kill the old albert key too, what a fucking pita..

  • Officially upgrade via Canonical tooling

It supports 22.04.1 > 24.04.1.

  • Upgrading gnome can be troublesome shit from command line. Do this:
    • exit i3, boot into Gnome
    • hit Alt, type Software Updater, go through options to upgrade
  • Or to try from the command line anyway:
sudo apt install update-manager
sudo update-manager &


OLD Notes from 22.04, for review...

  • these were replaced (i put old ones in ~/backup/) and need review:
/etc/systemd/networkd.conf
/etc/sudoers
/etc/ssh/sshd_config
/etc/i3/config
/etc/i3/config.keycodes

After fixing networkd.conf, you should restart the service, but that isn't enough, you need to disconnect from wired and reconnect to wired before changes are applied.

/etc/i3/config.keycodes has some newer foo that I need to vet against my i3 config. Esp this:

# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3