How to debug do-release-upgrade âcould not determine the upgradeâ
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I'm trying to upgrade ubuntu, and I'm getting the following error from do-release-upgrade
:
Calculating the changes
Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
There are tons of questions on here about this message, but all of them are about specific issues, and in most cases the answers are just guesses ("try removing X").
Most answers are based on looking at grep Broken /var/log/dist-upgrade/apt.log
, but as others have pointed out this lists many packages which the upgrader did actually find a solution for:
Investigating (0) perl-base [ amd64 ] < 5.18.2-2ubuntu1.3 -> 5.22.1-9ubuntu0.2 > ( perl )
Broken perl-base:amd64 Breaks on perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) (< 5.22.1~)
Considering perl-modules:amd64 7 as a solution to perl-base:amd64 5277
Added perl-modules:amd64 to the remove list
Fixing perl-base:amd64 via remove of perl-modules:amd64
MarkDelete perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) FU=0
So, my question is, how do I read this file? I want to know how work out for myself specifically which package is causing is the issue.
Is there any documentation that explains this log file?
- What does
Investigating (0)
,Investigating (1)
, etc mean? In my log file this goes up to(9)
. What does this mean? - When it says
Broken X Breaks on Y
, which package is currently installed and which is being upgraded? - When it says
Considering X as a solution to Y
, why does it then sayAdding X to the remove list
? If X is the solution shouldn't it be removing Y? - If it says
Holding Back X rather than change Y
, how do I find out why? - I realise this is probably working through a chain of dependencies until it either finds a solution or gives up. In which case, should I be looking at the
first package in the list
,the first package with an error
, orthe last package in the list
?
apt package-management upgrade do-release-upgrade
add a comment |Â
up vote
1
down vote
favorite
I'm trying to upgrade ubuntu, and I'm getting the following error from do-release-upgrade
:
Calculating the changes
Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
There are tons of questions on here about this message, but all of them are about specific issues, and in most cases the answers are just guesses ("try removing X").
Most answers are based on looking at grep Broken /var/log/dist-upgrade/apt.log
, but as others have pointed out this lists many packages which the upgrader did actually find a solution for:
Investigating (0) perl-base [ amd64 ] < 5.18.2-2ubuntu1.3 -> 5.22.1-9ubuntu0.2 > ( perl )
Broken perl-base:amd64 Breaks on perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) (< 5.22.1~)
Considering perl-modules:amd64 7 as a solution to perl-base:amd64 5277
Added perl-modules:amd64 to the remove list
Fixing perl-base:amd64 via remove of perl-modules:amd64
MarkDelete perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) FU=0
So, my question is, how do I read this file? I want to know how work out for myself specifically which package is causing is the issue.
Is there any documentation that explains this log file?
- What does
Investigating (0)
,Investigating (1)
, etc mean? In my log file this goes up to(9)
. What does this mean? - When it says
Broken X Breaks on Y
, which package is currently installed and which is being upgraded? - When it says
Considering X as a solution to Y
, why does it then sayAdding X to the remove list
? If X is the solution shouldn't it be removing Y? - If it says
Holding Back X rather than change Y
, how do I find out why? - I realise this is probably working through a chain of dependencies until it either finds a solution or gives up. In which case, should I be looking at the
first package in the list
,the first package with an error
, orthe last package in the list
?
apt package-management upgrade do-release-upgrade
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to upgrade ubuntu, and I'm getting the following error from do-release-upgrade
:
Calculating the changes
Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
There are tons of questions on here about this message, but all of them are about specific issues, and in most cases the answers are just guesses ("try removing X").
Most answers are based on looking at grep Broken /var/log/dist-upgrade/apt.log
, but as others have pointed out this lists many packages which the upgrader did actually find a solution for:
Investigating (0) perl-base [ amd64 ] < 5.18.2-2ubuntu1.3 -> 5.22.1-9ubuntu0.2 > ( perl )
Broken perl-base:amd64 Breaks on perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) (< 5.22.1~)
Considering perl-modules:amd64 7 as a solution to perl-base:amd64 5277
Added perl-modules:amd64 to the remove list
Fixing perl-base:amd64 via remove of perl-modules:amd64
MarkDelete perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) FU=0
So, my question is, how do I read this file? I want to know how work out for myself specifically which package is causing is the issue.
Is there any documentation that explains this log file?
- What does
Investigating (0)
,Investigating (1)
, etc mean? In my log file this goes up to(9)
. What does this mean? - When it says
Broken X Breaks on Y
, which package is currently installed and which is being upgraded? - When it says
Considering X as a solution to Y
, why does it then sayAdding X to the remove list
? If X is the solution shouldn't it be removing Y? - If it says
Holding Back X rather than change Y
, how do I find out why? - I realise this is probably working through a chain of dependencies until it either finds a solution or gives up. In which case, should I be looking at the
first package in the list
,the first package with an error
, orthe last package in the list
?
apt package-management upgrade do-release-upgrade
I'm trying to upgrade ubuntu, and I'm getting the following error from do-release-upgrade
:
Calculating the changes
Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
There are tons of questions on here about this message, but all of them are about specific issues, and in most cases the answers are just guesses ("try removing X").
Most answers are based on looking at grep Broken /var/log/dist-upgrade/apt.log
, but as others have pointed out this lists many packages which the upgrader did actually find a solution for:
Investigating (0) perl-base [ amd64 ] < 5.18.2-2ubuntu1.3 -> 5.22.1-9ubuntu0.2 > ( perl )
Broken perl-base:amd64 Breaks on perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) (< 5.22.1~)
Considering perl-modules:amd64 7 as a solution to perl-base:amd64 5277
Added perl-modules:amd64 to the remove list
Fixing perl-base:amd64 via remove of perl-modules:amd64
MarkDelete perl-modules [ amd64 ] < 5.18.2-2ubuntu1.3 > ( perl ) FU=0
So, my question is, how do I read this file? I want to know how work out for myself specifically which package is causing is the issue.
Is there any documentation that explains this log file?
- What does
Investigating (0)
,Investigating (1)
, etc mean? In my log file this goes up to(9)
. What does this mean? - When it says
Broken X Breaks on Y
, which package is currently installed and which is being upgraded? - When it says
Considering X as a solution to Y
, why does it then sayAdding X to the remove list
? If X is the solution shouldn't it be removing Y? - If it says
Holding Back X rather than change Y
, how do I find out why? - I realise this is probably working through a chain of dependencies until it either finds a solution or gives up. In which case, should I be looking at the
first package in the list
,the first package with an error
, orthe last package in the list
?
apt package-management upgrade do-release-upgrade
apt package-management upgrade do-release-upgrade
asked Jan 29 at 10:53
SystemParadox
22139
22139
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The answer appears to be "look in /var/log/dist-upgrade/main.log
":
2018-01-29 11:10:40,663 DEBUG blacklist expr '^postgresql-.*[0-9].[0-9].*' matches 'postgresql-9.3-postgis-2.1'
2018-01-29 11:10:40,663 DEBUG The package 'postgresql-9.3-postgis-2.1' is marked for removal but it's in the removal blacklist
2018-01-29 11:10:40,732 ERROR Dist-upgrade failed: 'The package 'postgresql-9.3-postgis-2.1' is marked for removal but it is in the removal blacklist.'
After removing postgis, the upgrade was able to continue.
I wish do-release-upgrade
would just report these errors on its main output.
It would seem that all the Broken messages in apt.log
was just apt working through the dependencies, but it did in fact find a solution to them all.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The answer appears to be "look in /var/log/dist-upgrade/main.log
":
2018-01-29 11:10:40,663 DEBUG blacklist expr '^postgresql-.*[0-9].[0-9].*' matches 'postgresql-9.3-postgis-2.1'
2018-01-29 11:10:40,663 DEBUG The package 'postgresql-9.3-postgis-2.1' is marked for removal but it's in the removal blacklist
2018-01-29 11:10:40,732 ERROR Dist-upgrade failed: 'The package 'postgresql-9.3-postgis-2.1' is marked for removal but it is in the removal blacklist.'
After removing postgis, the upgrade was able to continue.
I wish do-release-upgrade
would just report these errors on its main output.
It would seem that all the Broken messages in apt.log
was just apt working through the dependencies, but it did in fact find a solution to them all.
add a comment |Â
up vote
0
down vote
The answer appears to be "look in /var/log/dist-upgrade/main.log
":
2018-01-29 11:10:40,663 DEBUG blacklist expr '^postgresql-.*[0-9].[0-9].*' matches 'postgresql-9.3-postgis-2.1'
2018-01-29 11:10:40,663 DEBUG The package 'postgresql-9.3-postgis-2.1' is marked for removal but it's in the removal blacklist
2018-01-29 11:10:40,732 ERROR Dist-upgrade failed: 'The package 'postgresql-9.3-postgis-2.1' is marked for removal but it is in the removal blacklist.'
After removing postgis, the upgrade was able to continue.
I wish do-release-upgrade
would just report these errors on its main output.
It would seem that all the Broken messages in apt.log
was just apt working through the dependencies, but it did in fact find a solution to them all.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The answer appears to be "look in /var/log/dist-upgrade/main.log
":
2018-01-29 11:10:40,663 DEBUG blacklist expr '^postgresql-.*[0-9].[0-9].*' matches 'postgresql-9.3-postgis-2.1'
2018-01-29 11:10:40,663 DEBUG The package 'postgresql-9.3-postgis-2.1' is marked for removal but it's in the removal blacklist
2018-01-29 11:10:40,732 ERROR Dist-upgrade failed: 'The package 'postgresql-9.3-postgis-2.1' is marked for removal but it is in the removal blacklist.'
After removing postgis, the upgrade was able to continue.
I wish do-release-upgrade
would just report these errors on its main output.
It would seem that all the Broken messages in apt.log
was just apt working through the dependencies, but it did in fact find a solution to them all.
The answer appears to be "look in /var/log/dist-upgrade/main.log
":
2018-01-29 11:10:40,663 DEBUG blacklist expr '^postgresql-.*[0-9].[0-9].*' matches 'postgresql-9.3-postgis-2.1'
2018-01-29 11:10:40,663 DEBUG The package 'postgresql-9.3-postgis-2.1' is marked for removal but it's in the removal blacklist
2018-01-29 11:10:40,732 ERROR Dist-upgrade failed: 'The package 'postgresql-9.3-postgis-2.1' is marked for removal but it is in the removal blacklist.'
After removing postgis, the upgrade was able to continue.
I wish do-release-upgrade
would just report these errors on its main output.
It would seem that all the Broken messages in apt.log
was just apt working through the dependencies, but it did in fact find a solution to them all.
answered Jan 29 at 11:49
SystemParadox
22139
22139
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000958%2fhow-to-debug-do-release-upgrade-could-not-determine-the-upgrade%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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