Problem after upgrade

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Problem after upgrade

Post by DareDevil73 »

I recently updated from 18.3 to 19.

Today, after a few days, I got this:

Code: Select all

sudo apt-get dist-upgrade 
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:
 libglx0 : Depends: libglx-mesa0 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Asking the version table about the above package I got:

Code: Select all

apt-cache policy libglx-mesa0
libglx-mesa0:
  Installed: (none)
  Candidate: 18.0.5-0ubuntu0~18.04.1
  Version table:
     18.0.5-0ubuntu0~18.04.1 500
        500 http://it-mirrors.evowise.com/ubuntu bionic-updates/main amd64 Packages
     18.0.0~rc5-1ubuntu1 500
        500 http://it-mirrors.evowise.com/ubuntu bionic/main amd64 Packages
I suspect I am in the same trouble. Could you somebody clarify me the situation?

Thank you very much!
Antonio

Moderator's note:
This thread was split off from viewtopic.php?f=46&t=272665 at the OP's request.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Sir Charles

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Sir Charles »

DareDevil73 wrote: Tue Jul 10, 2018 2:34 am ...
Maybe your mirrors are not updated yet. Try opening Software Sources and restore the mirrors to default.
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by DareDevil73 »

Thank you for your answer.

I restored the default repositories and disabled all the additiona PPAs:
Software Sources (as superuser)_001.jpg
But I get still the error:
Update Manager_002.jpg

Code: Select all

Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                            
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                               
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                             
Hit:5 http://archive.canonical.com/ubuntu bionic InRelease                                                                              
Ign:6 http://packages.linuxmint.com tara InRelease                      
Hit:7 http://packages.linuxmint.com tara Release   
Reading package lists... Done                      
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:
 libglx0 : Depends: libglx-mesa0 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Sir Charles

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Sir Charles »

DareDevil73 wrote: Tue Jul 10, 2018 2:53 am
what does it say if you try:

Code: Select all

sudo apt install libglx-mesa0
and

Code: Select all

apt-mark showhold
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by DareDevil73 »

Code: Select all

sudo apt install libglx-mesa0

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libglx-mesa0 : Depends: libglapi-mesa (= 18.0.5-0ubuntu0~18.04.1) but 1:18.0.0-0~x~padoka0 is to be installed
E: Unable to correct problems, you have held broken packages.
Instead apt-mark showhold prints absolutely nothing!

Thank you!!!
Sir Charles

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Sir Charles »

Try this one also, I hope this will resolve the broken dependency:

Code: Select all

sudo apt install -f
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by DareDevil73 »

sudo apt install -f

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
apt list --upgradable

Listing... Done
libegl1/bionic-updates 1.0.0-2ubuntu2.1 amd64 [upgradable from: 1.0.0-2ubuntu2]
libgl1/bionic-updates 1.0.0-2ubuntu2.1 amd64 [upgradable from: 1.0.0-2ubuntu2]
libglvnd0/bionic-updates 1.0.0-2ubuntu2.1 amd64 [upgradable from: 1.0.0-2ubuntu2]
libglx0/bionic-updates 1.0.0-2ubuntu2.1 amd64 [upgradable from: 1.0.0-2ubuntu2]
sudo apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libegl1 libgl1 libglvnd0 libglx0
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Sir Charles

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Sir Charles »

Code: Select all

sudo apt-mark unhold libegl1 libgl1 libglvnd0 libglx0

Code: Select all

sudo apt install libegl1 libgl1 libglvnd0 libglx0
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by DareDevil73 »

antonio@myhost ~/ $ sudo apt-mark unhold libegl1 libgl1 libglvnd0 libglx0

libegl1 was already not hold.
libgl1 was already not hold.
libglvnd0 was already not hold.
libglx0 was already not hold.

antonio@myhost ~/ $ apt-mark showhold

antonio@myhost ~/ $ sudo apt install libegl1 libgl1 libglvnd0 libglx0

Reading package lists... Done
Building dependency tree
Reading state information... Done
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
libglx0 : Depends: libglx-mesa0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Sir Charles

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Sir Charles »

DareDevil73 wrote: Tue Jul 10, 2018 3:23 am
I am running dry on ideas at the moment, I am sorry. Since this thread has already been marked as solved, maybe it would be better to create an new one to get proper assistance. You could also ask the moderators to move your posts from here to the new one.
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Moem »

Marziano wrote: Tue Jul 10, 2018 3:53 am You could also ask the moderators to move your posts from here to the new one.
Done and done.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Sir Charles

Re: Problem after upgrade

Post by Sir Charles »

--Deleted by me--
Reason: uncertain if the suggested command would solve OP's issue
Last edited by Sir Charles on Tue Jul 10, 2018 4:35 am, edited 2 times in total.
Sir Charles

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by Sir Charles »

Moem wrote: Tue Jul 10, 2018 4:11 am
Marziano wrote: Tue Jul 10, 2018 3:53 am You could also ask the moderators to move your posts from here to the new one.
Done and done.
That's great!
Thank you!
:D
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: [Solved] Warning: In-place upgrade from Mint 18.3 to Mint 19 partially broken by a Mesa Update

Post by smurphos »

DareDevil73 wrote: Tue Jul 10, 2018 3:10 am libglx-mesa0 : Depends: libglapi-mesa (= 18.0.5-0ubuntu0~18.04.1) but 1:18.0.0-0~x~padoka0 is to be installed
What PPAs have you got active? - Maybe this one? - https://launchpad.net/~paulo-miguel-dia ... untu/pkppa

Get rid and downgrade foreign packages in Software Sources....
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: Problem after upgrade

Post by DareDevil73 »

Hi, I have no additional PPAs.
deb http://packages.linuxmint.com tara main upstream import backport

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner
apt-cache policy libglapi-mesa

libglapi-mesa:
Installed: 1:18.0.0-0~x~padoka0
Candidate: 1:18.0.0-0~x~padoka0
Version table:
*** 1:18.0.0-0~x~padoka0 100
100 /var/lib/dpkg/status
18.0.5-0ubuntu0~18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
18.0.0~rc5-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Last edited by DareDevil73 on Tue Jul 10, 2018 5:01 am, edited 1 time in total.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: Problem after upgrade

Post by smurphos »

What does apt policy libglapi-mesa return?
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: Problem after upgrade

Post by DareDevil73 »

Return:
libglapi-mesa:
Installed: 18.0.5-0ubuntu0~18.04.1
Candidate: 18.0.5-0ubuntu0~18.04.1
Version table:
*** 18.0.5-0ubuntu0~18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
18.0.0~rc5-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
I force the installation by sudo apt-get install libglapi-mesa=18.0.5-0ubuntu0~18.04.1, but it uninstalled marco and xapps.

If I try to issue sudo apt-get install marco zenity libwebkit2gtk-4.0-37 I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libwebkit2gtk-4.0-37 : Depends: libegl1 but it is not going to be installed
Depends: libgstreamer-gl1.0-0 (>= 1.14.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Sir Charles

Re: Problem after upgrade

Post by Sir Charles »

I am not sure what others will suggest, but do you think backing up your /home (etc. using something like Aptik to do it) and doing a fresh install of
LM 19 could be an option at this point, instead of getting into an spiral of unmet dependencies and trying to resolve them?
Last edited by Sir Charles on Tue Jul 10, 2018 8:11 am, edited 1 time in total.
User avatar
smurphos
Level 18
Level 18
Posts: 8498
Joined: Fri Sep 05, 2014 12:18 am
Location: Irish Brit in Portugal
Contact:

Re: Problem after upgrade

Post by smurphos »

I really do not understand how apt-cache policy & apt-policy can return different outputs.

1:18.0.0-0~x~padoka0 is as far as I can tell the xenial version from that PPA linked.

Can you check in Software Sources in the downgrade foreign packages section for anything listed. If there is go ahead and downgrade.

Other things to try is run an apt autoclean and apt install --reinstall libglapi-mesa.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
DareDevil73
Level 1
Level 1
Posts: 28
Joined: Sat Jul 01, 2017 5:53 am

Re: Problem after upgrade

Post by DareDevil73 »

Sorry, but my system has died, so I had to reinstall it from scratch.

Thank you very very very much to all guys who supported me!
Antonio
Locked

Return to “Installation & Boot”