[Bug 1684949] Re: Could not calculate the upgrade

Cos64 1684949 at bugs.launchpad.net
Wed May 10 17:14:53 UTC 2017


Thank you Brian,

That was the hint I needed!

Short story:
After I managed to install 'apt-utils' I was able to upgrade to Zesty.
I am no longer affected by the issue. (Of course, it would be nice if ubuntu-release-upgrader could give the solution itself :D )

Long story:
Indeed, I didn't have 'apt-utils' installed. From /var/log/apt/history.log.*.gz I found out that I used to have it but it got uninstalled after a failed update. Moreover, I was not able to install it anew:
----------
$ sudo apt install apt-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 apt-utils : Depends: apt (= 1.3.1) but 1.3.2ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
----------
After trying everything else (like apt -f install or aptitude...), I checked http://packages.ubuntu.com/ and found out that newer versions do exist for both apt and apt-utils. Then I had the idea of trying another mirror.
I replaced http://ftp.gts.lug.ro/ubuntu with http://ubuntu.mirrors.linux.ro/archive and as a result I got a few hundreds of package updates. Also I was then able to install apt-utils and proceed with the upgrade to Zesty.
So apparently my mirror got out of sync and hence all the problems.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1684949

Title:
  Could not calculate the upgrade

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

Bug description:
  I wanted to upgrade from Yakkety to Zesty and got this message:

  Could not calculate 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.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: ubuntu-release-upgrader-core 1:16.10.8
  ProcVersionSignature: Ubuntu 4.8.0-30.32-generic 4.8.6
  Uname: Linux 4.8.0-30-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Thu Apr 20 19:27:08 2017
  InstallationDate: Installed on 2016-11-29 (141 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to yakkety on 2017-04-20 (0 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1684949/+subscriptions



More information about the foundations-bugs mailing list