[Bug 1887544] Re: upgrade from 18.04 to 20.04 fails to calculate if python-dbg is installed
Toto
1887544 at bugs.launchpad.net
Wed May 5 05:22:00 UTC 2021
Any news ?
Tryed this today 5 May 2021 on my unbuntu mate 18.04.5LTS :
"
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade
"
sudo apt-get update
[sudo] Mot de passe de bob :
Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Atteint :3 http://packages.microsoft.com/repos/code stable InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Atteint :5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Lecture des listes de paquets... Fait
ThinkPad-E590:~$ sudo apt-get upgrade -y
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
linux-hwe-5.4-headers-5.4.0-67
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
Les paquets suivants seront mis à jour :
update-notifier update-notifier-common
2 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 188 ko dans les archives.
Après cette opération, 3 072 o d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 update-notifier amd64 3.192.1.10 [55,7 kB]
Réception de :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 update-notifier-common all 3.192.1.10 [133 kB]
188 ko réceptionnés en 0s (443 ko/s)
(Lecture de la base de données... 289709 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../update-notifier_3.192.1.10_amd64.deb ...
Dépaquetage de update-notifier (3.192.1.10) sur (3.192.1.9) ...
Préparation du dépaquetage de .../update-notifier-common_3.192.1.10_all.deb ...
Dépaquetage de update-notifier-common (3.192.1.10) sur (3.192.1.9) ...
Paramétrage de update-notifier-common (3.192.1.10) ...
Paramétrage de update-notifier (3.192.1.10) ...
Traitement des actions différées (« triggers ») pour libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.8) ...
Traitement des actions différées (« triggers ») pour libglib2.0-0:i386 (2.56.4-0ubuntu0.18.04.8) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.17-2) ...
ThinkPad-E590:~$ sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
linux-hwe-5.4-headers-5.4.0-67
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
hinkPad-E590:~$ sudo do-release-upgrade
Recherche d'une nouvelle version d'Ubuntu
Prendre :1 Signature de l'outil de mise à niveau [1 554 B]
Prendre :2 Outil de mise à niveau [1 340 kB]
1 342 k o réceptionnés en 0s (0 o/s)
authentification de « focal.tar.gz » avec « focal.tar.gz.gpg »
extraction de 'focal.tar.gz'
Lecture du cache
Vérification du gestionnaire de paquets
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
Att http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Att http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Att http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Att http://packages.microsoft.com/repos/code stable InRelease
Att http://security.ubuntu.com/ubuntu bionic-security InRelease
0 o réceptionnés en 0s (0 o/s)
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
Vérification des snaps installés
Calcul de la taille nécessaire du snap
Mise à jour des informations sur les dépôts
Sources provenant de tiers désactivées
Certaines entrées de votre fichier sources.list, concernant des
tierces parties, ont été désactivées. Vous pouvez les réactiver après
la mise à niveau avec l'outil « Logiciels & mises à jour » ou
avec votre gestionnaire de paquets.
Veuillez appuyer sur [Entrée] pour continuer
Prendre :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Prendre :2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Prendre :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Prendre :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Prendre :5 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [224 kB]
Prendre :6 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
Prendre :7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [629 kB]
Prendre :8 http://fr.archive.ubuntu.com/ubuntu focal/main i386 Packages [718 kB]
Prendre :9 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [128 kB]
Prendre :10 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [7 476 B]
Prendre :11 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [185 kB]
Prendre :12 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [15,0 kB]
Prendre :13 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [27,2 kB]
Prendre :14 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [392 B]
Prendre :15 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [441 kB]
Prendre :16 http://fr.archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
Prendre :17 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [557 kB]
Prendre :18 http://fr.archive.ubuntu.com/ubuntu focal/main Translation-fr [500 kB]
Prendre :19 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [83,8 kB]
Prendre :20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [10,8 kB]
Prendre :21 http://security.ubuntu.com/ubuntu focal-security/multiverse i386 Packages [4 308 B]
Prendre :22 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [14,9 kB]
Prendre :23 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [3 160 B]
Prendre :24 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [340 B]
Prendre :25 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29,5 kB]
Prendre :26 http://fr.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22,0 kB]
Prendre :27 http://fr.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [8 112 B]
Prendre :28 http://fr.archive.ubuntu.com/ubuntu focal/restricted Translation-fr [5 580 B]
Prendre :29 http://fr.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6 212 B]
Prendre :30 http://fr.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
Prendre :31 http://fr.archive.ubuntu.com/ubuntu focal/universe i386 Packages [4 642 kB]
Prendre :32 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8 628 kB]
Prendre :33 http://fr.archive.ubuntu.com/ubuntu focal/universe Translation-fr [3 497 kB]
Prendre :34 http://fr.archive.ubuntu.com/ubuntu focal/universe Translation-en [5 124 kB]
Prendre :35 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
Prendre :36 http://fr.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Prendre :37 http://fr.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [74,7 kB]
Prendre :38 http://fr.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Prendre :39 http://fr.archive.ubuntu.com/ubuntu focal/multiverse Translation-fr [97,8 kB]
Prendre :40 http://fr.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9 136 B]
Prendre :41 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [953 kB]
Prendre :42 http://fr.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [465 kB]
Prendre :43 http://fr.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [217 kB]
Prendre :44 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [13,2 kB]
Prendre :45 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [16,3 kB]
Prendre :46 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [208 kB]
Prendre :47 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [30,9 kB]
Prendre :48 http://fr.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [436 B]
Prendre :49 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [765 kB]
Prendre :50 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [566 kB]
Prendre :51 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [164 kB]
Prendre :52 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [17,2 kB]
Prendre :53 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21,7 kB]
Prendre :54 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [6 128 B]
Prendre :55 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [5 508 B]
Prendre :56 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [600 B]
Prendre :57 http://fr.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [112 B]
Prendre :58 http://fr.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Prendre :59 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [4 032 B]
Prendre :60 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [2 932 B]
Prendre :61 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [1 448 B]
Prendre :62 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [224 B]
Prendre :63 http://fr.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
31,7 M o réceptionnés en 6s (4 479 k o/s)
Vérification du gestionnaire de paquets
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
Calcul des modifications en cours
Calcul des modifications en cours
Impossible d'évaluer la mise à niveau
Un problème insoluble est survenu lors du calcul de la mise à niveau.
Cela a probablement été causé par :
* des paquets logiciels non officiels qui ne proviennent pas
d’Ubuntu.
Veuillez utiliser la commande « ppa-purge » du paquet
« ppa-purge » afin de supprimer les paquets d’un
dépôt PPA Launchpad, puis essayez de relancer la mise à niveau.
Si rien de tout cela ne s'applique, signalez ce bogue à l'aide de la
commande « ubuntu-bug ubuntu-release-upgrader-core » dans un
terminal. Si vous souhaitez analyser le problème par vous-même, les
fichiers journaux contenus dans le répertoire « /var/log/dist-upgrade
» contiennent les informations sur la mise à niveau. Plus
précisément, veuillez consulter les journaux « main.log » et «
apt.log ».
Restauration du système dans son état d'origine
Annulation
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
--
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/1887544
Title:
upgrade from 18.04 to 20.04 fails to calculate if python-dbg is
installed
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Focal:
Fix Released
Status in ubuntu-release-upgrader source package in Groovy:
Fix Released
Bug description:
Impact
------
Users with the package python-dbg installed on their system are unable to upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS as the upgrade path is not calculable. Additionally, other python packages from Ubuntu 18.04 will be left installed or removed when they should not be.
Test Case
---------
[python-dbg]
1) On an Ubuntu 18.04 LTS system install python-qt4-dbg (or some set of packages which depend on it)
2) Run do-release-upgrade
3) Observe a message regarding a failure to calculate the upgrade
With the dist-upgrader from -proposed there will be no such failure to
calculate the upgrade.
[python-doc]
1) On an Ubuntu 18.04 LTS system install python-doc
2) Run do-release-upgrade
3) Say Y to removing obsolete packages
4) Observe that python-doc is still installed on the system
With the version of the dist-upgrader from -proposed python-doc will
not be installed after the upgrade and python2-doc will be.
[python-dev]
1) On an Ubuntu 18.04 LTS system install python-dev
2) Run do-release-upgrade
3) Say Y to removing obsolete packages
4) Observe that python-dev is still installed on the system
With the version of the dist-ugprader from -proposed python-dev will
not be installed after the upgrade and python2-dev will be installed.
Additionally, python-dev-is-python2 will be installed.
Regression Potential
--------------------
The logic of the "_install_python_is_python2" quirk is essentially the same but the set of replacements is being expanded so we should ensure that this does not cause any additional package removals which may are unwanted.
Original Description
--------------------
the problem is during issue this command from terminal to start upgrade
process from 18.04 to 20.04
$cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
$ uname -mrs
Linux 5.3.0-62-generic x86_64
Using this command
sudo do-release-upgrade -d
this is the output
[sudo] password for amr:
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1,554 B]
Get:2 Upgrade tool [1,342 kB]
Fetched 1,343 kB in 6s (211 kB/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu bionic InRelease
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [783 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-security/main i386 Packages [506 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [679 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-security/universe i386 Packages [625 kB]
Fetched 2,845 kB in 6s (15.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Checking for installed snaps
Calculating snap size requirements
Updating repository information
Hit http://archive.ubuntu.com/ubuntu focal InRelease
Hit http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit http://archive.ubuntu.com/ubuntu focal-security InRelease
Fetched 0 B in 6s (0 B/s)
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes
Calculating the changes
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
This was caused by:
* Upgrading to a pre-release version of Ubuntu
This is most likely a transient problem,
please try again later.
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'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
ProblemType: BugDistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.37
ProcVersionSignature: Ubuntu 5.3.0-62.56~18.04.1-generic 5.3.18
Uname: Linux 5.3.0-62-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 14 17:08:10 2020
InstallationDate: Installed on 2020-02-27 (137 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
PackageArchitecture: allSourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-07-14 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1887544/+subscriptions
More information about the foundations-bugs
mailing list