先備份重要資料,必要時,雙重備份
Keep in mind that most of the times instead of apt-get upgrade
what you want to do is
sudo apt-get dist-upgrade
https://help.ubuntu.com/community/NobleUpgrades
Upgrade from 22.04 LTS or 23.10 to 24.04 LTS
Upgrading Ubuntu Desktops to 24.04 LTS
You can easily upgrade over the network with the following procedure.
Run the update-manager application.
In Update Manager, click the Settings... button, and enter your password to start the Software Sources application.
Select the sub menu Updates from the Software Sources application.
- Confirm the "Notify me of a new Ubuntu version:" option is set to "For any new version", and change it if otherwise.
- Close the Software Sources application and return to Update Manager.
In Update Manager, click the Check button to check for new updates. ---沒有這個按鍵
If there are any updates to install, use the Install Updates button to install them.
Run update-manager.
If you want to upgrade early, before upgrades are officially supported, you can pass the -d option when running update-manager. Do this at your own risk. It is advised to check the release notes for Ubuntu 24.04 LTS before doing so.
- A message will appear informing you of the availability of the new release.
Click Upgrade.
- Follow the on-screen instructions.
---------------------
https://askubuntu.com/questions/94102/what-is-the-difference-between-apt-get-update-and-upgrade
Why You Shouldn’t Upgrade to Ubuntu 24.04 LTS Yet