[Bug 1896810] [NEW] Cannot upgrade Kubuntu from 18.04 to 20.04

Luca Passini 1896810 at bugs.launchpad.net
Wed Sep 23 17:44:04 UTC 2020


Public bug reported:

I am trying to update from Kubuntu 18.04 to 20.04. This is the command:

`sudo do-release-upgrade -dm desktop`

My system is:

```
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
```

Unfortunately I keep getting this error:

```
An unresolvable problem occurred while calculating the upgrade. 

This was likely caused by: 
* Unofficial software packages not provided by Ubuntu 
Please use the tool 'ppa-purge' from the ppa-purge 
package to remove software from a Launchpad PPA and 
try the upgrade again. 

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

Reading the main.log file I keep getting problems about kubuntu-desktop
package:

```
2020-09-23 19:38:30,750 ERROR NvidiaDetection returned a error: invalid literal for int() with base 10: 'server'
2020-09-23 19:38:30,754 DEBUG Installing 'baloo-kf5' (kubuntu-desktop PostUpgradeInstall rule)
2020-09-23 19:38:30,754 DEBUG Removing 'powermanagement-interface' (kubuntu-desktop PostUpgradeRemove rule)
2020-09-23 19:38:30,754 DEBUG Removing 'guidance-power-manager' (kubuntu-desktop PostUpgradeRemove rule)
2020-09-23 19:38:30,754 DEBUG Removing 'kde-guidance-powermanager' (kubuntu-desktop PostUpgradeRemove rule)
2020-09-23 19:38:30,755 DEBUG Removing 'kmix' (kubuntu-desktop PostUpgradeRemove rule)
2020-09-23 19:38:30,755 DEBUG quirks: running PostDistUpgradeCache
2020-09-23 19:38:30,755 DEBUG running Quirks.PostDistUpgradeCache
2020-09-23 19:38:30,986 DEBUG Comparing 5.4.0-42 with
2020-09-23 19:38:30,986 DEBUG Comparing 5.4.0-48 with 5.4.0-42
2020-09-23 19:38:31,099 INFO installing linux metapackage: linux-generic
2020-09-23 19:38:31,099 DEBUG Installing 'linux-generic' (linux metapackage may have been accidentally uninstalled)
2020-09-23 19:38:31,135 DEBUG Marking 'kubuntu-desktop' for upgrade
2020-09-23 19:38:31,323 WARNING Can't mark 'kubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
2020-09-23 19:38:31,747 ERROR Dist-upgrade failed: 'Broken packages after upgrade: kubuntu-desktop'
```

I have already tried to:

- uninstall the package before upgrade
- reinstall the package before upgrade
- update the package before upgrade

What can I do?

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.38
ProcVersionSignature: Ubuntu 5.4.0-48.52~18.04.1-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Wed Sep 23 19:38:46 2020
InstallationDate: Installed on 2019-11-23 (305 days ago)
InstallationMedia: Kubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-09-23 (0 days ago)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic dist-upgrade

** Attachment added: "main.log"
   https://bugs.launchpad.net/bugs/1896810/+attachment/5413562/+files/main.log

-- 
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/1896810

Title:
  Cannot upgrade Kubuntu from 18.04 to 20.04

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

Bug description:
  I am trying to update from Kubuntu 18.04 to 20.04. This is the
  command:

  `sudo do-release-upgrade -dm desktop`

  My system is:

  ```
  Description:    Ubuntu 18.04.5 LTS
  Release:        18.04
  ```

  Unfortunately I keep getting this error:

  ```
  An unresolvable problem occurred while calculating the upgrade. 

  This was likely caused by: 
  * Unofficial software packages not provided by Ubuntu 
  Please use the tool 'ppa-purge' from the ppa-purge 
  package to remove software from a Launchpad PPA and 
  try the upgrade again. 

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

  Reading the main.log file I keep getting problems about kubuntu-
  desktop package:

  ```
  2020-09-23 19:38:30,750 ERROR NvidiaDetection returned a error: invalid literal for int() with base 10: 'server'
  2020-09-23 19:38:30,754 DEBUG Installing 'baloo-kf5' (kubuntu-desktop PostUpgradeInstall rule)
  2020-09-23 19:38:30,754 DEBUG Removing 'powermanagement-interface' (kubuntu-desktop PostUpgradeRemove rule)
  2020-09-23 19:38:30,754 DEBUG Removing 'guidance-power-manager' (kubuntu-desktop PostUpgradeRemove rule)
  2020-09-23 19:38:30,754 DEBUG Removing 'kde-guidance-powermanager' (kubuntu-desktop PostUpgradeRemove rule)
  2020-09-23 19:38:30,755 DEBUG Removing 'kmix' (kubuntu-desktop PostUpgradeRemove rule)
  2020-09-23 19:38:30,755 DEBUG quirks: running PostDistUpgradeCache
  2020-09-23 19:38:30,755 DEBUG running Quirks.PostDistUpgradeCache
  2020-09-23 19:38:30,986 DEBUG Comparing 5.4.0-42 with
  2020-09-23 19:38:30,986 DEBUG Comparing 5.4.0-48 with 5.4.0-42
  2020-09-23 19:38:31,099 INFO installing linux metapackage: linux-generic
  2020-09-23 19:38:31,099 DEBUG Installing 'linux-generic' (linux metapackage may have been accidentally uninstalled)
  2020-09-23 19:38:31,135 DEBUG Marking 'kubuntu-desktop' for upgrade
  2020-09-23 19:38:31,323 WARNING Can't mark 'kubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
  2020-09-23 19:38:31,747 ERROR Dist-upgrade failed: 'Broken packages after upgrade: kubuntu-desktop'
  ```

  I have already tried to:

  - uninstall the package before upgrade
  - reinstall the package before upgrade
  - update the package before upgrade

  What can I do?

  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: ubuntu-release-upgrader-core 1:18.04.38
  ProcVersionSignature: Ubuntu 5.4.0-48.52~18.04.1-generic 5.4.60
  Uname: Linux 5.4.0-48-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.17
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: KDE
  Date: Wed Sep 23 19:38:46 2020
  InstallationDate: Installed on 2019-11-23 (305 days ago)
  InstallationMedia: Kubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to bionic on 2020-09-23 (0 days ago)

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



More information about the foundations-bugs mailing list