Ubuntu 24.04 upgrade: Difference between revisions

From Bitpost wiki
Line 31: Line 31:
== NOTES ==
== NOTES ==


I'm skeered, will my i3 work ootb?  I thought 24.04 was wayland...
I'm skeered, will my i3 work ootb?  I thought 24.04 was wayland... Starting with non-gui...


Starting with non-gui...
=== Steps to perform on all boxes ===
 
* move new /etc/systemd/networkd.conf out of the way so we can stow our (IMPORTANT) version:
sudo su -
cd /etc/systemd
mv mv networkd.conf networkd.conf.orig-24.04
Ctrl-D
setup_stow.sh # should create /etc/systemd/networkd.conf symlink
sudo service networkd-dispatcher restart
 
* fix Samba, as it is apparently firewalled by 24.04 default upgrade


=== bandit ===
=== bandit ===
Line 45: Line 55:
  ne qbittorrent-team-ubuntu-qbittorrent-stable-noble.sources
  ne qbittorrent-team-ubuntu-qbittorrent-stable-noble.sources
  # the upgrade already replaced jammy with noble, NICE - we just need to ENABLE IT!  SWEET!
  # the upgrade already replaced jammy with noble, NICE - we just need to ENABLE IT!  SWEET!
 
* re-add qbt service sudo systemctl enable qbittorrent-nox.service
* move new /etc/systemd/networkd.conf out of the way so we can stow our (IMPORTANT) version:
  sudo systemctl enable qbittorrent-nox.service
  sudo su -
  sudo systemctl start qbittorrent-nox.service
cd /etc/systemd
mv mv networkd.conf networkd.conf.orig-24.04
  Ctrl-D
setup_stow.sh # should create /etc/systemd/networkd.conf symlink
sudo service networkd-dispatcher restart

Revision as of 14:59, 13 January 2025

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:
mh-update-ubuntu
# (ensure all repos are working)
# reboot

Either:

sudo do-release-upgrade

Or:

sudo apt install update-manager
sudo update-manager &

Non-GUI systems

mh-update-ubuntu
# (ensure all repos are working)
# reboot
# connect via direct proxmox shell (not ssh)
sudo do-release-upgrade
# mail server: none
# change sudoers? N (default)
# Keep local sshd_config
# remove local packages? Y
# restart? Y

NOTES

I'm skeered, will my i3 work ootb? I thought 24.04 was wayland... Starting with non-gui...

Steps to perform on all boxes

  • move new /etc/systemd/networkd.conf out of the way so we can stow our (IMPORTANT) version:
sudo su -
cd /etc/systemd
mv mv networkd.conf networkd.conf.orig-24.04
Ctrl-D
setup_stow.sh # should create /etc/systemd/networkd.conf symlink
sudo service networkd-dispatcher restart
  • fix Samba, as it is apparently firewalled by 24.04 default upgrade

bandit

bandit do-release-upgrade seemed to go without any trouble, but it takes a WHILE... like, half an hour or more...

  • looks like i killed snapd on bandit, and that was preserved, yes!
  • re-add qbt apt repo - we should now use SOURCES not LIST, it is the more modern solution (has more metadata, including a key)
sudo su -
cd /etc/apt/sources.list.d
mv qbittorrent-team-ubuntu-qbittorrent-stable-jammy.list ~/backup
mv qbittorrent-team-ubuntu-qbittorrent-stable-jammy.sources qbittorrent-team-ubuntu-qbittorrent-stable-noble.sources
ne qbittorrent-team-ubuntu-qbittorrent-stable-noble.sources
# the upgrade already replaced jammy with noble, NICE - we just need to ENABLE IT!  SWEET!
  • re-add qbt service sudo systemctl enable qbittorrent-nox.service
sudo systemctl enable qbittorrent-nox.service
sudo systemctl start qbittorrent-nox.service