Distro upgrade bug3

Bug #1893974 reported by Laszlo Toth

This bug report was converted into a question: question #693069: Distro upgrade bug3.

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

HI All,
1. lsb_release -rd
Description: Ubuntu 18.04.5 LTS
Release: 18.04

2.sudo apt-cache policy pkgname
[sudo] password for laci:
N: Unable to locate package pkgname

3. I expected a smart distro upgrade to 20.04

4.During the upgrade process (18.04 LTS to 20.04 LTS)

I got the following error message:

Could not calculate the upgrade

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'

Regarding security the availability is under real threat.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.38
ProcVersionSignature: Ubuntu 5.4.0-45.49~18.04.2-generic 5.4.55
Uname: Linux 5.4.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 2 18:55:46 2020
InstallationDate: Installed on 2020-01-28 (218 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-09-02 (0 days ago)
VarLogDistupgradeTermlog:

mtime.conffile..etc.update-manager.release-upgrades: 2020-08-27T08:41:43.692313

Revision history for this message
Laszlo Toth (laszlo.a.toth) wrote :
Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Manfred Hampl (m-hampl) wrote :

Your logs show that you have packages from foreign sources or PPAs installed, and they block the upgrade.

What is the output of the command
apt-cache policy python3-qgis python-gdal grass-core obs-studio

Revision history for this message
Laszlo Toth (laszlo.a.toth) wrote : Re: [Bug 1893974] Re: Distro upgrade bug3

OK, thanks.

What are the mentioned PPAs & packages, applications? Which log file
contains the list?

Is it necessary to get rid of them?

What is the solution? Please provide a step-by-step description. Thanks.
Regards
L.

Manfred Hampl <email address hidden> ezt írta (időpont: 2020. szept.
23., Sze, 22:35):

> Your logs show that you have packages from foreign sources or PPAs
> installed, and they block the upgrade.
>
> What is the output of the command
> apt-cache policy python3-qgis python-gdal grass-core obs-studio
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1893974
>
> Title:
> Distro upgrade bug3
>
> Status in ubuntu-release-upgrader package in Ubuntu:
> New
>
> Bug description:
> HI All,
> 1. lsb_release -rd
> Description: Ubuntu 18.04.5 LTS
> Release: 18.04
>
> 2.sudo apt-cache policy pkgname
> [sudo] password for laci:
> N: Unable to locate package pkgname
>
> 3. I expected a smart distro upgrade to 20.04
>
>
> 4.During the upgrade process (18.04 LTS to 20.04 LTS)
>
> I got the following error message:
>
> Could not calculate the upgrade
>
> 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'
>
> Regarding security the availability is under real threat.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: ubuntu-release-upgrader-core 1:18.04.38
> ProcVersionSignature: Ubuntu 5.4.0-45.49~18.04.2-generic 5.4.55
> Uname: Linux 5.4.0-45-generic x86_64
> ApportVersion: 2.20.9-0ubuntu7.17
> Architecture: amd64
> CrashDB: ubuntu
> CurrentDesktop: ubuntu:GNOME
> Date: Wed Sep 2 18:55:46 2020
> InstallationDate: Installed on 2020-01-28 (218 days ago)
> InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64
> (20180725)
> PackageArchitecture: all
> SourcePackage: ubuntu-release-upgrader
> UpgradeStatus: Upgraded to bionic on 2020-09-02 (0 days ago)
> VarLogDistupgradeTermlog:
>
> mtime.conffile..etc.update-manager.release-upgrades:
> 2020-08-27T08:41:43.692313
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1893974/+subscriptions
>

--
Tóth László
mobile: +36 30 369 05 27
Skype: toth.a.laszlo1

Revision history for this message
Laszlo Toth (laszlo.a.toth) wrote :

here you are the output:

apt-cache policy python3-qgis python-gdal grass-core obs-studio
python3-qgis:
  Installed: 3.4.11+dfsg-2~bionic1
  Candidate: 3.4.11+dfsg-2~bionic1
  Version table:
 *** 3.4.11+dfsg-2~bionic1 500
        500 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
python-gdal:
  Installed: 2.4.2+dfsg-1~bionic0
  Candidate: 2.4.2+dfsg-1~bionic0
  Version table:
 *** 2.4.2+dfsg-1~bionic0 500
        500 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     2.2.3+dfsg-2 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
grass-core:
  Installed: 7.8.0-1~bionic1
  Candidate: 7.8.0-1~bionic1
  Version table:
 *** 7.8.0-1~bionic1 500
        500 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     7.4.0-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
obs-studio:
  Installed: 25.0.8-0obsproject1~bionic
  Candidate: 25.0.8-0obsproject1~bionic
  Version table:
 *** 25.0.8-0obsproject1~bionic 500
        500 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     21.0.2+dfsg1-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

Revision history for this message
Manfred Hampl (m-hampl) wrote :

Not a bug, but caused by local settings. Converting into a question.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.