Difference between revisions of "Do-release-upgrade"
Jump to navigation
Jump to search
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
<code>do-release-upgrade</code> included in <code>[[ubuntu-release-upgrader-core]]</code> package. | <code>do-release-upgrade</code> included in <code>[[ubuntu-release-upgrader-core]]</code> package. | ||
+ | * Man page: http://manpages.ubuntu.com/manpages/hirsute/man8/do-release-upgrade.8.html | ||
* <code>do-release-upgrade</code> | * <code>do-release-upgrade</code> | ||
− | * <code>apt update -y && apt upgrade -y && do-release-upgrade</code> | + | |
+ | * <code>do-release-upgrade --check-dist-upgrade-only</code> | ||
+ | |||
+ | == Options == | ||
+ | * <code>[[do-release-upgrade --quiet]]</code> | ||
+ | * <code>do-release-upgrade -f [[DistUpgradeViewNonInteractive]]</code> | ||
+ | * <code>[[apt update -y && apt upgrade -y]] && do-release-upgrade</code> | ||
== Examples == | == Examples == | ||
Line 13: | Line 21: | ||
do-release-upgrade --devel-release | do-release-upgrade --devel-release | ||
Checking for a new Ubuntu release | Checking for a new Ubuntu release | ||
− | You have not rebooted after updating a package which requires a reboot. Please reboot before upgrading. | + | You have not rebooted after updating a package which requires a reboot. Please [[reboot]] before upgrading. |
+ | |||
+ | do-release-upgrade | ||
+ | Checking for a new Ubuntu release | ||
+ | Please install all available updates for your release before upgrading. | ||
+ | |||
.../... | .../... | ||
Line 24: | Line 37: | ||
or your package manager. | or your package manager. | ||
.../... | .../... | ||
+ | |||
+ | |||
+ | .../... | ||
+ | System upgrade is complete. | ||
+ | |||
+ | Restart required | ||
+ | |||
+ | To finish the upgrade, a restart is required. | ||
+ | If you select 'y' the system will be restarted. | ||
+ | |||
+ | Continue [yN] y | ||
== Related terms == | == Related terms == | ||
* <code>[[/etc/apt/sources.list]]</code> | * <code>[[/etc/apt/sources.list]]</code> | ||
− | |||
* <code>[[apt update]] && [[apt upgrade]]</code> | * <code>[[apt update]] && [[apt upgrade]]</code> | ||
* <code>[[apt dist-upgrade]]</code> | * <code>[[apt dist-upgrade]]</code> | ||
+ | * <code>[[snap refresh]]</code> | ||
+ | * <code>[[dnf upgrade]]</code> | ||
+ | * <code>[[dnf update -y --quiet]]</code> | ||
+ | * <code>[[dnf —releasever=YOUR VERSION update]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * [[How to update Red Hat Enterprise Linux via minor releases and Extended Update Support]] | ||
== See also == | == See also == |
Latest revision as of 10:58, 10 October 2024
do-release-upgrade
included in ubuntu-release-upgrader-core
package.
do-release-upgrade
do-release-upgrade --check-dist-upgrade-only
Options[edit]
do-release-upgrade --quiet
do-release-upgrade -f DistUpgradeViewNonInteractive
apt update -y && apt upgrade -y && do-release-upgrade
Examples[edit]
do-release-upgrade Checking for a new Ubuntu release There is no development version of an LTS available. To upgrade to the latest non-LTS develoment release set Prompt=normal in /etc/update-manager/release-upgrades.
do-release-upgrade --devel-release Checking for a new Ubuntu release You have not rebooted after updating a package which requires a reboot. Please reboot before upgrading.
do-release-upgrade Checking for a new Ubuntu release Please install all available updates for your release before upgrading.
.../... Not enough free disk space .../...
.../... Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager. .../...
.../... System upgrade is complete. Restart required To finish the upgrade, a restart is required. If you select 'y' the system will be restarted.
Continue [yN] y
Related terms[edit]
/etc/apt/sources.list
apt update && apt upgrade
apt dist-upgrade
snap refresh
dnf upgrade
dnf update -y --quiet
dnf —releasever=YOUR VERSION update
Activities[edit]
See also[edit]
- Ubuntu releases: Ubuntu 20.10 Groovy Gorilla, Ubuntu 20.04 LTS (Focal Fossa), Ubuntu 18.04 LTS (BionicBeaver), Ubuntu Noble
- Ubuntu, Ubuntu releases, snap, MAAS, PPA, Canonical Livepatch, Ubuntu Advantage, netplan, multipass, Landscape, Subiquity,
lsb_release
, Ubuntu MATE, Wayland APT
:wajig
,apt-cache
,add-apt-repository
PPA,apt
[install
|remove
|purge | show | list | changelog
|update
|upgrade
],do-release-upgrade
,apt-mark
,apt full-upgrade
,sources.list
, APT Automatic updates,unattended-upgrade
,apt-transport-https
,apt-get update
,/etc/apt/
,/etc/apt/apt.conf.d/50unattended-upgrades
,/etc/apt/apt.conf.d/
,/etc/apt/apt.conf.d/20auto-upgrades
,apt-file, apt-utils
Advertising: