Few notes on upgrading Ubuntu Asahi from 23.10 (Mantic) to 24.04 LTS (Noble):
- Upgrade all available packages:
sudo apt update
sudo apt upgrade
- Kernel update to 6.8 for Mantic had broken dependencies, so I had to disable this PPA:
sudo mv /etc/apt/sources.list.d/john-cabaj-ubuntu-apple-arm-mantic.sources /etc/apt/sources.list.d/john-cabaj-ubuntu-apple-arm-mantic.sources.disabled
- Same for libreoffice:
sudo apt remove libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-math libreoffice-core libreoffice-writer libreoffice-uiconfig-common
- Do the upgrade and keep existing PPAs enabled:
sudo do-release-upgrade -d --allow-third-party
-
Reboot
-
You should have a running 24.04 system with old kernel 6.6.
-
Enable kernel PPA again:
sudo mv /etc/apt/sources.list.d/john-cabaj-ubuntu-apple-arm-mantic.sources.disabled /etc/apt/sources.list.d/john-cabaj-ubuntu-apple-arm-mantic.sources
- Remove asahi PPA in old format:
sudo rm /etc/apt/sources.list.d/asahi-ppa.list*
- Add asahi and asahi-testing PPA:
sudo add-apt-repository ppa:tobhe/asahi
sudo add-apt-repository ppa:tobhe/asahi-testing
- Increase priority for asahi PPAs in /etc/apt/preferences.d/asahi:
Package: *
Pin: release o=LP-PPA-tobhe-asahi
Pin-Priority: 1001
Package: *
Pin: release o=LP-PPA-tobhe-asahi-testing
Pin-Priority: 1001
- Install available updates (kernel 6.8, mesa, pipewire):
sudo apt update
sudo apt upgrade
- Downgrade u-boot to the version provided by asahi PPA:
sudo apt install u-boot-asahi
- Delete pd-mapper (which fails during startup anyways):
sudo apt remove protection-domain-mapper
-
Reboot
-
You should have kernel 6.8 with working OpenGL and sound from built-in speakers.
-
Check if OpenGL works:
$ glxinfo | grep -i opengl
OpenGL vendor string: Mesa
OpenGL renderer string: Apple M2 Pro (G14S B1)
...
-
Go to Gnome system settings / sound and select "MacBook Pro J414 Speakers". Increase volume to see if sound works.
-
Disable cloud-init (not required on desktop installations):
sudo touch /etc/cloud/cloud-init.disabled
TODO
- Find workaround for 2-3 min boot delay:
...
Apr 26 13:50:58 where systemd-networkd[1851]: lo: Link UP
Apr 26 13:50:58 where systemd-networkd[1851]: lo: Gained carrier
Apr 26 13:50:58 where systemd-networkd[1851]: Enumeration completed
Apr 26 13:50:58 where systemd-networkd[1851]: eth0: Could not process link message: No such device or address
Apr 26 13:50:58 where systemd-networkd[1851]: eth0: Failed
Apr 26 13:50:58 where systemd[1]: Started systemd-networkd.service - Network Configuration.
Apr 26 13:50:58 where systemd[1]: Starting systemd-networkd-wait-online.service - Wait for Network to be Configured...
...
- Investigate why reboot hangs with black screen.