Unable to calculate update Fixed an unresolved issue while calculating the update.

Asked by Debora Lobato Santos

Unable to calculate update

Fixed an unresolved issue while calculating the update.

If none of this works, then please report the bug using the 'ubuntu-bug ubuntu-release-upgrader-core' command in the terminal. If you want to investigate this yourself the log files at '/var/log/dist-upgrade' contain details about the upgrade. Look especially at 'main.log' and 'apt.log'.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubuntu-release-upgrader Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output that you receive for the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo apt update
tail -n 30 /var/log/dist-upgrade/main.log
tail -n 30 /var/log/dist-upgrade/apt.log

Revision history for this message
Debora Lobato Santos (debtobalo) said :
#2

I tried the indicated commands, but they didn't work, this appeared in the terminal:

fleabeg@fleabeg-82MF:~$ uname -a
lsb_release -crid
sudo apt update
tail -n 30 /var/log/dist-upgrade/main.log
tail -n 30 /var/log/dist-upgrade/apt.log
Linux fleabeg-82MF 6.2.0-39-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:18:00 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
Reached:1 http://br.archive.ubuntu.com/ubuntu lunar InRelease
Reached:2 http://br.archive.ubuntu.com/ubuntu lunar-updates InRelease
Reached:3 http://br.archive.ubuntu.com/ubuntu lunar-backports InRelease
Reached:4 http://br.archive.ubuntu.com/ubuntu lunar-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading status information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
2024-01-15 14:38:10,249 DEBUG running doUpdate() (showErrors=True)
2024-01-15 14:39:00,069 DEBUG openCache()
2024-01-15 14:39:00,504 DEBUG Comparing 6.2.0-37 with
2024-01-15 14:39:00,504 DEBUG Comparing 6.2.0-39 with 6.2.0-37
2024-01-15 14:39:00,561 DEBUG /openCache(), new cache size 71910
2024-01-15 14:39:00,562 DEBUG quirks: running PreDistUpgradeCache
2024-01-15 14:39:00,562 DEBUG running Quirks.PreDistUpgradeCache
2024-01-15 14:39:01,922 DEBUG Running KeepInstalledSection rules
2024-01-15 14:39:02,142 DEBUG Kernel uname: '6.2.0-39-generic'
2024-01-15 14:39:02,151 DEBUG nvidiaUpdate()
2024-01-15 14:39:02,659 INFO no old nvidia driver installed, installing no new
2024-01-15 14:39:02,660 DEBUG Removing 'gnome-cups-manager' (ubuntu-desktop PostUpgradeRemove rule)
2024-01-15 14:39:02,660 DEBUG Removing 'powermanagement-interface' (ubuntu-desktop PostUpgradeRemove rule)
2024-01-15 14:39:02,660 DEBUG Removing 'deskbar-applet' (ubuntu-desktop PostUpgradeRemove rule)
2024-01-15 14:39:02,660 DEBUG Removing 'nautilus-cd-burner' (ubuntu-desktop PostUpgradeRemove rule)
2024-01-15 14:39:02,660 DEBUG quirks: running PostDistUpgradeCache
2024-01-15 14:39:02,660 DEBUG running Quirks.PostDistUpgradeCache
2024-01-15 14:39:02,738 DEBUG Comparing 6.2.0-37 with
2024-01-15 14:39:02,738 DEBUG Comparing 6.2.0-39 with 6.2.0-37
2024-01-15 14:39:02,738 DEBUG Comparing 6.5.0-14 with 6.2.0-39
2024-01-15 14:39:02,779 INFO installing linux metapackage: linux-generic
2024-01-15 14:39:02,780 DEBUG Installing 'linux-generic' (linux metapackage may have been accidentally uninstalled)
2024-01-15 14:39:03,252 DEBUG Marking 'ubuntu-desktop' for upgrade
2024-01-15 14:39:03,561 WARNING Can't mark 'ubuntu-desktop' for upgrade (E: Unable to fix problems, you kept (hold) broken packages.)
2024-01-15 14:39:08,137 ERROR Dist-upgrade failed: 'Packages damaged after upgrade: ubuntu-desktop'
2024-01-15 14:39:08,162 DEBUG abort called
2024-01-15 14:39:08,163 DEBUG openCache()
2024-01-15 14:39:10,541 DEBUG Comparing 6.2.0-37 with
2024-01-15 14:39:10,541 DEBUG Comparing 6.2.0-39 with 6.2.0-37
2024-01-15 14:39:10,606 DEBUG /openCache(), new cache size 73745
   Added gdm3:amd64 to the remove list
Broken ubuntu-desktop:amd64 Depends on gnome-shell-extension-ubuntu-tiling-assistant:amd64 < none @un mH >
   Considering gnome-shell-extension-ubuntu-tiling-assistant:amd64 1 as a solution to ubuntu-desktop:amd64 10001
Broken ubuntu-desktop:amd64 Depends on ubuntu-desktop-minimal:amd64 < 1,501 @ii umR NPb >
Considering ubuntu-desktop-minimal:amd64 1 as a solution to ubuntu-desktop:amd64 10001
   Added ubuntu-desktop-minimal:amd64 to the remove list
   MarkKeep gdm3:amd64 < 44.0-1ubuntu2 @ii umR > FU=0
   Fixing ubuntu-desktop:amd64 via keep of gdm3:amd64
   MarkKeep ubuntu-desktop-minimal:amd64 < 1,501 @ii umR NPb > FU=0
   Fixing ubuntu-desktop:amd64 via keep of ubuntu-desktop-minimal:amd64
Investigating (2) gdm3:amd64 < 44.0-1ubuntu2 @ii umH Ib >
Broken gdm3:amd64 Depends on gir1.2-gdm-1.0:amd64 < 44.0-1ubuntu2 -> 45~beta-1ubuntu1 @ii umU > (= 44.0-1ubuntu2)
   Considering gir1.2-gdm-1.0:amd64 16 as a solution to gdm3:amd64 10001
   Added gir1.2-gdm-1.0:amd64 to the remove list
Broken gdm3:amd64 Depends on libgdm1:amd64 < 44.0-1ubuntu2 -> 45~beta-1ubuntu1 @ii umU > (= 44.0-1ubuntu2)
   Considering libgdm1:amd64 6 as a solution to gdm3:amd64 10001
   Added libgdm1:amd64 to the remove list
   MarkKeep gir1.2-gdm-1.0:amd64 < 44.0-1ubuntu2 -> 45~beta-1ubuntu1 @ii umU > FU=0
   Fixing gdm3:amd64 via keep of gir1.2-gdm-1.0:amd64
   MarkKeep libgdm1:amd64 < 44.0-1ubuntu2 -> 45~beta-1ubuntu1 @ii umU > FU=0
   Fixing gdm3:amd64 via keep of libgdm1:amd64
  Try to Re-Instate (2) gir1.2-gdm-1.0:amd64
   MarkKeep gir1.2-gdm-1.0:amd64 < 44.0-1ubuntu2 -> 45~beta-1ubuntu1 @ii umU > FU=0
  Try to Re-Instate (2) libgdm1:amd64
   MarkKeep libgdm1:amd64 < 44.0-1ubuntu2 -> 45~beta-1ubuntu1 @ii umU > FU=0
Investigating (3) ubuntu-desktop:amd64 < 1.501 -> 1.524.1 @ii pumU NPb Ib >
Broken ubuntu-desktop:amd64 Depends on gnome-shell-extension-ubuntu-tiling-assistant:amd64 < none @un mH >
   Considering gnome-shell-extension-ubuntu-tiling-assistant:amd64 1 as a solution to ubuntu-desktop:amd64 10001
Done
Log time: 2024-01-15 14:39:10.587060
fleabeg@fleabeg-82MF:~$ sudo apt update && sudo apt upgrade
Reached:1 http://br.archive.ubuntu.com/ubuntu lunar InRelease
Reached:2 http://br.archive.ubuntu.com/ubuntu lunar-updates InRelease
Reached:3 http://br.archive.ubuntu.com/ubuntu lunar-backports InRelease
Reached:4 http://br.archive.ubuntu.com/ubuntu lunar-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading status information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading status information... Done
Calculating update... Done
The following packages will be maintained in their current versions:
   base-files
0 packages updated, 0 new packages installed, 0 to be removed and 1 not updated.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

I suggest that you try the following:

Execute the command
sudo apt install gnome-shell-extension-ubuntu-tiling-assistant

and then re-try the release upgrade.
If that still does not, work, provide the output of
tail -n 50 /var/log/dist-upgrade/apt.log

Revision history for this message
Debora Lobato Santos (debtobalo) said :
#4

Thanks Manfred Hampl, that solved my question.