Difference between revisions of "Do-release-upgrade"

From wikieduonline
Jump to navigation Jump to search
 
(40 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lowercase}}
 +
<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 --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 ==
 
  do-release-upgrade
 
  do-release-upgrade
 
  Checking for a new Ubuntu release
 
  Checking for a new Ubuntu release
 
  There is no development version of an LTS available.
 
  There is no development version of an LTS available.
 
  To upgrade to the latest non-LTS develoment release
 
  To upgrade to the latest non-LTS develoment release
  set Prompt=normal in /etc/update-manager/[[release-upgrades]].
+
  set Prompt=normal in [[/etc/update-manager/release-upgrades]].
  
 
  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 16: Line 32:
 
  .../...
 
  .../...
  
 +
.../...
 +
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 ==
 
== Related terms ==
* [[sources.conf]]
+
* <code>[[/etc/apt/sources.list]]</code>
* [[BionicBeaver]]
+
* <code>[[apt update]] && [[apt 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 ==
 +
* {{Ubuntu releases}}
 
* {{Ubuntu}}
 
* {{Ubuntu}}
 
* {{APT}}
 
* {{APT}}

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]

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]

Activities[edit]

See also[edit]

Advertising: