Update:As described in this post, the problem was an upgrade bug introduced by the Ubuntu MESA team. The Mint team reacted very quickly and temporarily inhibited upgrades which would cause broken system. Meanwhile the problem has resolved.
I'm trying to upgrade a fully updated, non-broken package installation
+ Simulating an upgrade...
-------------------------------------------------
APT will now calculate the package changes necessary to upgrade to Linux Mint 19 'Tara'.
If conflicts are detected and APT is unable to perform the upgrade, take note of the packages causing the issue, remove them, and re-install them after the upgrade.
Pay close attention to what appears on the screen, and review the list of packages being REMOVED during the upgrade.
Take note of the packages being removed, so you can eventually reinstall them after the upgrade.
Do you want to continue? [y/n]: y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
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:
libegl1 : Depends: libegl-mesa0 but it is not going to be installed or
libegl-vendor
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Any hints?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
Do you want to continue? [y/n]: 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... Erreur !
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
icu-devtools : Casse: libicu-dev (< 60.2-3ubuntu3) mais 55.1-7ubuntu0.4 devra être installé
onboard-common : Casse: onboard (< 1.3.0-1~) mais 1.2.0-1mint6 devra être installé
E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
+ Restoring your backed up APT sources...
I don't understand what I should do ... remove these packages ?
We're just after finding out Ubuntu backported mesa into Xenial with a version number higher than the one in Bionic. They basically broke the upgrade path between 16.04 and 18.04 and that affects us as well. Please hold while we try to find a workaround for this problem.
Ubuntu recently backported MESA 18.0.5-0ubuntu0~16.04.1 into Xenial (on top of which Mint 18.x is based). The problem with this is that its version is superior to the one in Ubuntu Bionic (on top of which Mint 19 is based).
This creates issues in the APT dependency resolver during the upgrade, resulting in the removal of webkitgtk libraries, zenity, window managers (such as metacity and marco) and even DE components (cinnamon, mate, gnome).
Post upgrade it also creates issues because the upgraded OS runs on a 18.04 base, but still has a 16.04 version of MESA. LibGL isn’t linked properly, software or even DE fail to load.
Basically, the upgrade paths for Linux Mint 18.3 -> 19 and Ubuntu 16.04 -> 18.04 are currently broken by this update.
We contacted the Ubuntu MESA maintainer and we’re hoping he’ll be able to fix the situation quickly.
In the meantime, we updated mintupgrade to detect your version of MESA and to forbid the upgrade with MESA 18.0.5.
To prevent people from upgrading to it, in 18.3 MESA is temporarily a level 5 update.
We’re really sorry about this. We were getting a lot of successful feedback and all of a sudden it seemed upgrades failed for pretty much everybody. At least now we know why.
If you’re able to restore a snapshot prior to the MESA upgrade, you’ll be able to upgrade to Mint 19 properly. We’ve postponed everything else for now (I know this won’t please people waiting on LMDE) and we’re fully focused on this upgrade path.
Stay tuned.
Note: If you already performed the upgrade to Mint 19, a good way to know if your upgrade was affected by this is to run xreader. If it’s missing, or it’s unable to launch because of a missing libGL.so.1 library, we recommend you use Timeshift to go back to 18.3. People who upgraded before the MESA update in xenial/mint18 are not affected by this. Everybody else is likely to be.
Thank you Clem, this happened to me just now whilst running mintugrade check:
!! ERROR: MESA 18.0.5 currently breaks the upgrade between Ubuntu 16.04 and 18.04 and Linux Mint 18.3 and Linux Mint 19. Restore a snapshot taken before MESA was upgraded to 18.0.5, or wait for Ubuntu to fix this problem.
clem wrote: ⤴Fri Jul 06, 2018 8:27 pm
Hi everyone,
We're just after finding out Ubuntu backported mesa into Xenial with a version number higher than the one in Bionic. They basically broke the upgrade path between 16.04 and 18.04 and that affects us as well. Please hold while we try to find a workaround for this problem.
gm10 wrote: ⤴Sat Jul 07, 2018 10:35 am
In the meantime, why not just downgrade mesa again on xenial?
Because I'm a half-noob and I can't find out how to do that
That comment was more directed at clem tbh as something to be included in the mintupgrade script. But maybe they tried and ran into complications, I don't know.
You can downgrade a package like this: apt install <package>=<version>
You would have to check your /var/log/apt/history.log to see which packages were upgraded and from what version and then roll them all back. It's quite a few of them. I'm not getting more specific because I think if you're not feeling confident it's better to wait for an official solution (my expectation is that the Mint team will simply wait it out until the Mesa update is also available in the main bionic repository).
gm10 wrote: ⤴Sun Jul 08, 2018 7:21 am
You can downgrade a package like this: apt install <package>=<version>
Ah, alright, I was afraid that would be the answer. I just hoped there would be an easier way by downloading and installing an older version from https://mesa.freedesktop.org/archive/ and update that through the Update Manager. But I can wait. Thanks!
I fell foul of this problem, when I ran the upgrade on Friday. I wasn't quite sure what was going on and managed to get Mint 19 (Cinnamon) up and running with some aptitude magic. However, I note that xreader is not now available on my system.
Restoring a Timeshift snapshot is not an option - firstly, Timeshift was hanging at the "Calculating system size" stage. I waited more than two hours, but it never proceeded, so I took the chance on upgrading without a snapshot. Even if I could restore a snapshot, it would have been after the errant MESA upgrade.
Of course, I now have a problem with getting my system restored to full health again - all advice would be gratefully received.
PeterBell wrote: ⤴Mon Jul 09, 2018 12:52 am
Of course, I now have a problem with getting my system restored to full health again - all advice would be gratefully received.
If it's an option, back up your settings and do a clean install. It'll probably be faster and more reliable than investing time into manually fixing things that you currently don't even know are broken.
gm10 wrote: ⤴Mon Jul 09, 2018 1:42 am
If it's an option, back up your settings and do a clean install. It'll probably be faster and more reliable than investing time into manually fixing things that you currently don't even know are broken.
Thanks for the response - not really the answer I wanted to hear, but that's not your fault!
Oh, and I worked out why Timeshift was taking so long - it seems that it was scanning all the nfs shares on my fileserver and complained that it needed 14TB to store the snapshot!
PeterBell wrote: ⤴Mon Jul 09, 2018 2:20 am
Oh, and I worked out why Timeshift was taking so long - it seems that it was scanning all the nfs shares on my fileserver and complained that it needed 14TB to store the snapshot!
yep, it's a bit crazy that timeshift doesn't exclude mounts automatically but all it's got is a hardcoded list for those the system sets up. so you need to set up filters manually for that.