Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04 LTS Support #112

Open
pixrl opened this issue Apr 25, 2024 · 7 comments
Open

Ubuntu 24.04 LTS Support #112

pixrl opened this issue Apr 25, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@pixrl
Copy link

pixrl commented Apr 25, 2024

Would it be possible to support Ubuntu 24.04 LTS?

@tobhe
Copy link
Member

tobhe commented Apr 25, 2024

Thanks for the report, we are already working on 24.04 support. It will take a few days to get everything running and tested.

@jitunayak
Copy link

Thanks for the report, we are already working on 24.04 support. It will take a few days to get everything running and tested.

when new version is available. How could we upgrade from 23.x to 24.x ? Do we need to run the script again in mac and choose the 24.04 version ?

@tobhe
Copy link
Member

tobhe commented Apr 27, 2024

The upgrade is not yet ready so currently I don't recommend trying. I'll let you know how to do it when it is safe to do.

@tobhe
Copy link
Member

tobhe commented Apr 29, 2024

Hi all,

it looks like we have reached a point where release upgrades are relatively safe and we have resolved all the issues we encountered. Here is a step-by-step guide on how to upgrade.

  1. Make sure to update all of your packages via apt update and apt upgrade
  2. You should have a ubuntu-asahi meta package with version 1.21 or higher installed. You can check this with apt list --installed | grep ubuntu-asahi. It should say something like ubuntu-asahi/mantic,mantic,now 1.21+23.10 arm64 [installed].
  3. Run do-release-upgrade -d to start the release upgrade. Read and follow the instructions carefully.
  4. (Optional) If do-release-upgrade complains about packages not being up to date and you have libreoffice stuck in held-back you might have to remove libreoffice (apt remove libreoffice*) and go back to 3. You can reinstall libreoffice after the upgrade on noble.

For now upgrading is the best way to get to 24.04. We will continue working on fresh installer images.

Have fun!

EDIT 1: seems like the ubuntu-asahi package fails to upgrade if protection-domain-mapper is installed. working on a 1.21 version with a fix.

EDIT 2: libreoffice issue was caused by a mirror sync error on the Ubuntu side and is now resolved.

@devnoname120
Copy link

devnoname120 commented May 9, 2024

@tobhe How to upgrade if the ubuntu-asahi package is kept back on 1.5? I'm running Ubuntu Server 22.04 currently.

@tobhe
Copy link
Member

tobhe commented May 9, 2024

@devnoname120 might be #113. Can you try manually running apt install ubuntu-asahi and see what that reports?

@devnoname120
Copy link

devnoname120 commented May 10, 2024

@tobhe It worked!


For future visitors here is what I did:

First I manually upgraded the ubuntu-asahi package:

sudo apt intall ubuntu-asahi

Then I upgraded to Ubuntu 23.10:

# Replace `Prompt=lts` with `Prompt=normal` in this file:
sudo vim /etc/update-manager/release-upgrades

# `do-release-upgrade -d` returns this error:
# Upgrades to the development release are only available from the latest supported release.
sudo do-release-upgrade

sudo systemctl enable ssh
sudo reboot

And then to Ubuntu 24.04:

# Replace `Prompt=lts` with `Prompt=normal` in this file:
sudo vim /etc/update-manager/release-upgrades

sudo do-release-upgrade -d

# During the release upgrade process a GRUB warning told me that I would need to
# configure it manually. I'm not entirely sure it's needed but just to be safe I ran:
sudo update-grub

sudo systemctl enable ssh
sudo reboot

And then I edited this again for future-proofing:

# Replace `Prompt=lts` with `Prompt=normal` in this file:
sudo vim /etc/update-manager/release-upgrades

@tobhe tobhe added the enhancement New feature or request label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants