Ubuntu/Upgrade: Difference between revisions
< Ubuntu
(Created page with "== Release Upgrade == sudo apt update sudo apt -y upgrade sudo do-release-upgrade == /etc/update-manager/release-upgrades == vim /etc/update-manager/release-upgrades <pre> # Default behavior for the release upgrader. [DEFAULT] # Default prompting and upgrade behavior, valid options: # # never - Never check for, or allow upgrading to, a new release. # normal - Check to see if a new release is available. If more than one new # release is found, the r...") |
|||
Line 26: | Line 26: | ||
# upgrader will assume prompt was meant to be normal. | # upgrader will assume prompt was meant to be normal. | ||
Prompt=lts | Prompt=lts | ||
</pre> | |||
== Issues == | |||
=== Failed to connect to changelogs === | |||
Firewall issue | |||
<pre> | |||
$ sudo do-release-upgrade | |||
Checking for a new Ubuntu release | |||
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings | |||
There is no development version of an LTS available. | |||
To upgrade to the latest non-LTS development release | |||
set Prompt=normal in /etc/update-manager/release-upgrades. | |||
</pre> | </pre> | ||
== keywords == | == keywords == |
Revision as of 08:59, 30 October 2024
Release Upgrade
sudo apt update sudo apt -y upgrade sudo do-release-upgrade
/etc/update-manager/release-upgrades
vim /etc/update-manager/release-upgrades
# Default behavior for the release upgrader. [DEFAULT] # Default prompting and upgrade behavior, valid options: # # never - Never check for, or allow upgrading to, a new release. # normal - Check to see if a new release is available. If more than one new # release is found, the release upgrader will attempt to upgrade to # the supported release that immediately succeeds the # currently-running release. # lts - Check to see if a new LTS release is available. The upgrader # will attempt to upgrade to the first LTS release available after # the currently-running one. Note that if this option is used and # the currently-running release is not itself an LTS release the # upgrader will assume prompt was meant to be normal. Prompt=lts
Issues
Failed to connect to changelogs
Firewall issue
$ sudo do-release-upgrade Checking for a new Ubuntu release Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings There is no development version of an LTS available. To upgrade to the latest non-LTS development release set Prompt=normal in /etc/update-manager/release-upgrades.