Ubuntu 24.04 upgrade: Difference between revisions

From Bitpost wiki
No edit summary
Line 1: Line 1:
== GUI systems ==
== GUI systems ==
* 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 &


== Non-GUI systems ==
== Non-GUI systems ==
Line 24: Line 32:


It supports 22.04.1 > 24.04.1.
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...
OLD Notes from 22.04, for review...
Line 53: Line 52:


* gitlab key is causing failure, upgrade it
* gitlab key is causing failure, upgrade it
curl -JLO "https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-49F16C5CC3A0F81F.pub.gpg"
gpg --import runner-gitlab-runner-49F16C5CC3A0F81F.pub.gpg

Revision as of 15:33, 19 September 2024

GUI systems

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

Non-GUI systems

mh-update-ubuntu
# reboot
# connect via direct proxmox shell (not ssh)
sudo do-release-upgrade

NOTES

General

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

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

matryoshka

  • gitlab key is causing failure, upgrade it
curl -JLO "https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-49F16C5CC3A0F81F.pub.gpg"
gpg --import runner-gitlab-runner-49F16C5CC3A0F81F.pub.gpg