Not able to upgrade from Ubuntu Server 16.04.5 LTS to 18.04.1 LTS
I am trying to upgrade my ubuntu server 16.04.5 LTS to 18.04.1 LTS. But it fails identify the newer release. I tried all the options, which are explained in other Q&A.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
My Current Version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
release-upgrades file:
$ sudo cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for 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 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 this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=lts
16.04 server 18.04 upgrade
add a comment |
I am trying to upgrade my ubuntu server 16.04.5 LTS to 18.04.1 LTS. But it fails identify the newer release. I tried all the options, which are explained in other Q&A.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
My Current Version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
release-upgrades file:
$ sudo cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for 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 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 this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=lts
16.04 server 18.04 upgrade
Did you tried firstsudo apt update
? The file/etc/update-manager/release-upgrades
havePrompt=lts
?
– Pablo Bianchi
Jan 4 at 19:03
Yes, I tried sudo apt update, and file release-upgrades has Prompt=lts
– Bill Smith
Jan 4 at 20:08
add a comment |
I am trying to upgrade my ubuntu server 16.04.5 LTS to 18.04.1 LTS. But it fails identify the newer release. I tried all the options, which are explained in other Q&A.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
My Current Version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
release-upgrades file:
$ sudo cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for 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 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 this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=lts
16.04 server 18.04 upgrade
I am trying to upgrade my ubuntu server 16.04.5 LTS to 18.04.1 LTS. But it fails identify the newer release. I tried all the options, which are explained in other Q&A.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
My Current Version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
release-upgrades file:
$ sudo cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for 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 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 this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=lts
16.04 server 18.04 upgrade
16.04 server 18.04 upgrade
edited Jan 4 at 21:52
Pablo Bianchi
2,4451530
2,4451530
asked Jan 4 at 17:33
Bill SmithBill Smith
62
62
Did you tried firstsudo apt update
? The file/etc/update-manager/release-upgrades
havePrompt=lts
?
– Pablo Bianchi
Jan 4 at 19:03
Yes, I tried sudo apt update, and file release-upgrades has Prompt=lts
– Bill Smith
Jan 4 at 20:08
add a comment |
Did you tried firstsudo apt update
? The file/etc/update-manager/release-upgrades
havePrompt=lts
?
– Pablo Bianchi
Jan 4 at 19:03
Yes, I tried sudo apt update, and file release-upgrades has Prompt=lts
– Bill Smith
Jan 4 at 20:08
Did you tried first
sudo apt update
? The file /etc/update-manager/release-upgrades
have Prompt=lts
?– Pablo Bianchi
Jan 4 at 19:03
Did you tried first
sudo apt update
? The file /etc/update-manager/release-upgrades
have Prompt=lts
?– Pablo Bianchi
Jan 4 at 19:03
Yes, I tried sudo apt update, and file release-upgrades has Prompt=lts
– Bill Smith
Jan 4 at 20:08
Yes, I tried sudo apt update, and file release-upgrades has Prompt=lts
– Bill Smith
Jan 4 at 20:08
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106982%2fnot-able-to-upgrade-from-ubuntu-server-16-04-5-lts-to-18-04-1-lts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106982%2fnot-able-to-upgrade-from-ubuntu-server-16-04-5-lts-to-18-04-1-lts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you tried first
sudo apt update
? The file/etc/update-manager/release-upgrades
havePrompt=lts
?– Pablo Bianchi
Jan 4 at 19:03
Yes, I tried sudo apt update, and file release-upgrades has Prompt=lts
– Bill Smith
Jan 4 at 20:08