Attempting to upgrade from Ubuntu Server 16.04 to 18.*
I have read through multiple articles giving instruction on how to go from 16.04 to 18.*. None of which appear to be working for me.
When I get to
do-release-upgrade
I get the message
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Currently I have /etc/update-manager/release-upgrades set to normal Setting this to LTS yields the same results.
Additionally this is after running both
sudo apt update && sudo apt update
Of course if I run
do-release-upgrade -d
I get the message
Upgrades to the development release are only
available from the latest supported release.
This makes sense to me. What am I missing here? Can I go from Ubuntu Server 16.04 to 18.*?
UPDATE
I noticed now when I run
sudo apt update
I get this output
sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://download.mono-project.com/repo/debian jessie InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ppa.launchpad.net/ermshiperete/monodevelop/ubuntu xenial InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://ppa.launchpad.net/iconnor/zoneminder/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/modriscoll/nzbget/ubuntu xenial InRelease
Get:7 http://download.sonarr.tv/repos/apt/debian master InRelease [13.3 kB]
Err:11 http://shell.ninthgate.se/packages/debian jessie InRelease
Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
Fetched 13.3 kB in 5s (2,532 B/s)
Reading package lists... Done
W: Failed to fetch http://shell.ninthgate.se/packages/debian/dists/jessie/InRelease Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Running
sudo apt list --upgradable
Yields
Listing... Done
libgdiplus/stable-jessie 5.6-0xamarin5+debian8b1 amd64 [upgradable from: 4.2-1ubuntu1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
I believe this may be whats keeping me from upgrading to 18.*. I am a little stuck at this point.
UPDATE
Was able to get this resolved with the answer that I accepted.
I also had to clean up some repos that were dead. I ran into an issue where I could not connect to security.ubuntu.com as well. To resolve this I did the following:
sudo vi /etc/gai.conf
Uncomment the following line
#
# For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96 100
I was able to finish updating. Now upgrading my distro of Ubuntu
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-43-generic x86_64)
apt upgrade updates
|
show 1 more comment
I have read through multiple articles giving instruction on how to go from 16.04 to 18.*. None of which appear to be working for me.
When I get to
do-release-upgrade
I get the message
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Currently I have /etc/update-manager/release-upgrades set to normal Setting this to LTS yields the same results.
Additionally this is after running both
sudo apt update && sudo apt update
Of course if I run
do-release-upgrade -d
I get the message
Upgrades to the development release are only
available from the latest supported release.
This makes sense to me. What am I missing here? Can I go from Ubuntu Server 16.04 to 18.*?
UPDATE
I noticed now when I run
sudo apt update
I get this output
sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://download.mono-project.com/repo/debian jessie InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ppa.launchpad.net/ermshiperete/monodevelop/ubuntu xenial InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://ppa.launchpad.net/iconnor/zoneminder/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/modriscoll/nzbget/ubuntu xenial InRelease
Get:7 http://download.sonarr.tv/repos/apt/debian master InRelease [13.3 kB]
Err:11 http://shell.ninthgate.se/packages/debian jessie InRelease
Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
Fetched 13.3 kB in 5s (2,532 B/s)
Reading package lists... Done
W: Failed to fetch http://shell.ninthgate.se/packages/debian/dists/jessie/InRelease Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Running
sudo apt list --upgradable
Yields
Listing... Done
libgdiplus/stable-jessie 5.6-0xamarin5+debian8b1 amd64 [upgradable from: 4.2-1ubuntu1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
I believe this may be whats keeping me from upgrading to 18.*. I am a little stuck at this point.
UPDATE
Was able to get this resolved with the answer that I accepted.
I also had to clean up some repos that were dead. I ran into an issue where I could not connect to security.ubuntu.com as well. To resolve this I did the following:
sudo vi /etc/gai.conf
Uncomment the following line
#
# For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96 100
I was able to finish updating. Now upgrading my distro of Ubuntu
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-43-generic x86_64)
apt upgrade updates
Just pulling on "Please install all available updates for your release before upgrading".... did you do asudo apt updateand, if necessary,sudo apt upgrade?
– Organic Marble
Dec 4 '18 at 19:49
I did in fact do both of those. Everything is up to date.
– Martin
Dec 4 '18 at 20:57
Please edit your question to show us the complete output ofdo-release-upgrade
– user535733
Dec 4 '18 at 23:02
That is the entire output
– Martin
Dec 5 '18 at 4:53
Any resolution?
– DevJem
Dec 19 '18 at 16:06
|
show 1 more comment
I have read through multiple articles giving instruction on how to go from 16.04 to 18.*. None of which appear to be working for me.
When I get to
do-release-upgrade
I get the message
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Currently I have /etc/update-manager/release-upgrades set to normal Setting this to LTS yields the same results.
Additionally this is after running both
sudo apt update && sudo apt update
Of course if I run
do-release-upgrade -d
I get the message
Upgrades to the development release are only
available from the latest supported release.
This makes sense to me. What am I missing here? Can I go from Ubuntu Server 16.04 to 18.*?
UPDATE
I noticed now when I run
sudo apt update
I get this output
sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://download.mono-project.com/repo/debian jessie InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ppa.launchpad.net/ermshiperete/monodevelop/ubuntu xenial InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://ppa.launchpad.net/iconnor/zoneminder/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/modriscoll/nzbget/ubuntu xenial InRelease
Get:7 http://download.sonarr.tv/repos/apt/debian master InRelease [13.3 kB]
Err:11 http://shell.ninthgate.se/packages/debian jessie InRelease
Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
Fetched 13.3 kB in 5s (2,532 B/s)
Reading package lists... Done
W: Failed to fetch http://shell.ninthgate.se/packages/debian/dists/jessie/InRelease Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Running
sudo apt list --upgradable
Yields
Listing... Done
libgdiplus/stable-jessie 5.6-0xamarin5+debian8b1 amd64 [upgradable from: 4.2-1ubuntu1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
I believe this may be whats keeping me from upgrading to 18.*. I am a little stuck at this point.
UPDATE
Was able to get this resolved with the answer that I accepted.
I also had to clean up some repos that were dead. I ran into an issue where I could not connect to security.ubuntu.com as well. To resolve this I did the following:
sudo vi /etc/gai.conf
Uncomment the following line
#
# For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96 100
I was able to finish updating. Now upgrading my distro of Ubuntu
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-43-generic x86_64)
apt upgrade updates
I have read through multiple articles giving instruction on how to go from 16.04 to 18.*. None of which appear to be working for me.
When I get to
do-release-upgrade
I get the message
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Currently I have /etc/update-manager/release-upgrades set to normal Setting this to LTS yields the same results.
Additionally this is after running both
sudo apt update && sudo apt update
Of course if I run
do-release-upgrade -d
I get the message
Upgrades to the development release are only
available from the latest supported release.
This makes sense to me. What am I missing here? Can I go from Ubuntu Server 16.04 to 18.*?
UPDATE
I noticed now when I run
sudo apt update
I get this output
sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://download.mono-project.com/repo/debian jessie InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://ppa.launchpad.net/ermshiperete/monodevelop/ubuntu xenial InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://ppa.launchpad.net/iconnor/zoneminder/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/modriscoll/nzbget/ubuntu xenial InRelease
Get:7 http://download.sonarr.tv/repos/apt/debian master InRelease [13.3 kB]
Err:11 http://shell.ninthgate.se/packages/debian jessie InRelease
Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
Fetched 13.3 kB in 5s (2,532 B/s)
Reading package lists... Done
W: Failed to fetch http://shell.ninthgate.se/packages/debian/dists/jessie/InRelease Could not connect to shell.ninthgate.se:80 (195.22.88.165). - connect (111: Connection refused)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Running
sudo apt list --upgradable
Yields
Listing... Done
libgdiplus/stable-jessie 5.6-0xamarin5+debian8b1 amd64 [upgradable from: 4.2-1ubuntu1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
I believe this may be whats keeping me from upgrading to 18.*. I am a little stuck at this point.
UPDATE
Was able to get this resolved with the answer that I accepted.
I also had to clean up some repos that were dead. I ran into an issue where I could not connect to security.ubuntu.com as well. To resolve this I did the following:
sudo vi /etc/gai.conf
Uncomment the following line
#
# For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96 100
I was able to finish updating. Now upgrading my distro of Ubuntu
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-43-generic x86_64)
apt upgrade updates
apt upgrade updates
edited Dec 20 '18 at 20:03
asked Dec 4 '18 at 19:47
Martin
107
107
Just pulling on "Please install all available updates for your release before upgrading".... did you do asudo apt updateand, if necessary,sudo apt upgrade?
– Organic Marble
Dec 4 '18 at 19:49
I did in fact do both of those. Everything is up to date.
– Martin
Dec 4 '18 at 20:57
Please edit your question to show us the complete output ofdo-release-upgrade
– user535733
Dec 4 '18 at 23:02
That is the entire output
– Martin
Dec 5 '18 at 4:53
Any resolution?
– DevJem
Dec 19 '18 at 16:06
|
show 1 more comment
Just pulling on "Please install all available updates for your release before upgrading".... did you do asudo apt updateand, if necessary,sudo apt upgrade?
– Organic Marble
Dec 4 '18 at 19:49
I did in fact do both of those. Everything is up to date.
– Martin
Dec 4 '18 at 20:57
Please edit your question to show us the complete output ofdo-release-upgrade
– user535733
Dec 4 '18 at 23:02
That is the entire output
– Martin
Dec 5 '18 at 4:53
Any resolution?
– DevJem
Dec 19 '18 at 16:06
Just pulling on "Please install all available updates for your release before upgrading".... did you do a
sudo apt update and, if necessary, sudo apt upgrade?– Organic Marble
Dec 4 '18 at 19:49
Just pulling on "Please install all available updates for your release before upgrading".... did you do a
sudo apt update and, if necessary, sudo apt upgrade?– Organic Marble
Dec 4 '18 at 19:49
I did in fact do both of those. Everything is up to date.
– Martin
Dec 4 '18 at 20:57
I did in fact do both of those. Everything is up to date.
– Martin
Dec 4 '18 at 20:57
Please edit your question to show us the complete output of
do-release-upgrade– user535733
Dec 4 '18 at 23:02
Please edit your question to show us the complete output of
do-release-upgrade– user535733
Dec 4 '18 at 23:02
That is the entire output
– Martin
Dec 5 '18 at 4:53
That is the entire output
– Martin
Dec 5 '18 at 4:53
Any resolution?
– DevJem
Dec 19 '18 at 16:06
Any resolution?
– DevJem
Dec 19 '18 at 16:06
|
show 1 more comment
1 Answer
1
active
oldest
votes
I had the same issue. I did:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade
Hope this helps!
Will try this today.
– Martin
Dec 20 '18 at 17:03
add a comment |
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%2f1098480%2fattempting-to-upgrade-from-ubuntu-server-16-04-to-18%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same issue. I did:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade
Hope this helps!
Will try this today.
– Martin
Dec 20 '18 at 17:03
add a comment |
I had the same issue. I did:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade
Hope this helps!
Will try this today.
– Martin
Dec 20 '18 at 17:03
add a comment |
I had the same issue. I did:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade
Hope this helps!
I had the same issue. I did:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade
Hope this helps!
edited Dec 20 '18 at 19:43
Kulfy
3,60341139
3,60341139
answered Dec 19 '18 at 16:23
user2719113
361
361
Will try this today.
– Martin
Dec 20 '18 at 17:03
add a comment |
Will try this today.
– Martin
Dec 20 '18 at 17:03
Will try this today.
– Martin
Dec 20 '18 at 17:03
Will try this today.
– Martin
Dec 20 '18 at 17:03
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1098480%2fattempting-to-upgrade-from-ubuntu-server-16-04-to-18%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
Just pulling on "Please install all available updates for your release before upgrading".... did you do a
sudo apt updateand, if necessary,sudo apt upgrade?– Organic Marble
Dec 4 '18 at 19:49
I did in fact do both of those. Everything is up to date.
– Martin
Dec 4 '18 at 20:57
Please edit your question to show us the complete output of
do-release-upgrade– user535733
Dec 4 '18 at 23:02
That is the entire output
– Martin
Dec 5 '18 at 4:53
Any resolution?
– DevJem
Dec 19 '18 at 16:06