Can't install libgtk-3-dev for MX Linux MX-19.4_x64

Message
Author
SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#11 Post by SwampRabbit »

@JayM thats because they were told to in post #3, the goal was to get everything upgraded to whats in the MX Test Repo.

But I actually think they need to disabled the MX Test Repo and actually downgrade libglvnd-dev. I'm trying to reproduce the mix matching of packages they have, but each time, I can just force the version for libglvnd-dev and the likes back to the stable repo and everything installs back fine.

Now I don't know if that will affect their Nvidia install, it may if it needs a specific version of libglvnd0, can't fully test that as I don't have anything with Nvidia at the moment.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
simwin
Posts: 34
Joined: Tue Jun 30, 2020 3:40 am

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#12 Post by simwin »

JayM wrote: Thu Jul 29, 2021 1:41 am This may be why:

Code: Select all

           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirror.truenetwork.ru/mxlinux/mx/repo/ buster main non-free
           2: deb-src http://mirror.truenetwork.ru/mxlinux/mx/repo/ buster main non-free
           3: deb http://mirror.truenetwork.ru/mxlinux/mx/testrepo/ buster test
           4: deb-src http://mirror.truenetwork.ru/mxlinux/mx/testrepo/ buster test
You've permanently enabled the MX Test Repo. Don't do that! Now apt is all confused about where to install things from. Just use MX Package Installer. First though, run MX Repo Manager and disable the test repo, then open a terminal and run

Code: Select all

sudo apt update
(and you don't need the source repos either.)
Thanks - I've turn off test repo but it doesn't help:

Code: Select all

 libglvnd-dev : Depends: libglvnd0 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
                Depends: libegl1 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
                Depends: libgles1 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
                Depends: libgles2 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
                Depends: libgl1 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
                Depends: libglx0 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
                Depends: libopengl0 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
E: Unable to correct problems, you have held broken packages.


User avatar
simwin
Posts: 34
Joined: Tue Jun 30, 2020 3:40 am

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#13 Post by simwin »

SwampRabbit wrote: Thu Jul 29, 2021 2:02 am @JayM thats because they were told to in post #3, the goal was to get everything upgraded to whats in the MX Test Repo.

But I actually think they need to disabled the MX Test Repo and actually downgrade libglvnd-dev. I'm trying to reproduce the mix matching of packages they have, but each time, I can just force the version for libglvnd-dev and the likes back to the stable repo and everything installs back fine.

Now I don't know if that will affect their Nvidia install, it may if it needs a specific version of libglvnd0, can't fully test that as I don't have anything with Nvidia at the moment.
How can I downgrade libglvnd-dev?

User avatar
timkb4cq
Developer
Posts: 3566
Joined: Wed Jul 12, 2006 4:05 pm

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#14 Post by timkb4cq »

libegl1-mesa-dev isn't in the Test repo, it should install from the Main repo.
It can get tricky when Test libraries are installed and then you decide to build programs yourself and need the matching -dev packages
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
simwin
Posts: 34
Joined: Tue Jun 30, 2020 3:40 am

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#15 Post by simwin »

timkb4cq wrote: Thu Jul 29, 2021 8:23 am libegl1-mesa-dev isn't in the Test repo, it should install from the Main repo.
It can get tricky when Test libraries are installed and then you decide to build programs yourself and need the matching -dev packages
I suggest to remove nvidia driver from test repo or at least make attention like yours - It can get tricky when Test libraries are installed and then you decide to build programs yourself and need the matching -dev packages. Now I need reinstall all my mxlinux to fix it. Oh my God!

User avatar
timkb4cq
Developer
Posts: 3566
Joined: Wed Jul 12, 2006 4:05 pm

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#16 Post by timkb4cq »

You don't have to enable the Test repo to install the nvidia driver from there
You use the Nvidia Driver Installer app in the MX Tools section of the menu.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
simwin
Posts: 34
Joined: Tue Jun 30, 2020 3:40 am

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#17 Post by simwin »

timkb4cq wrote: Thu Jul 29, 2021 10:13 am You don't have to enable the Test repo to install the nvidia driver from there
You use the Nvidia Driver Installer app in the MX Tools section of the menu.
May be test repo was enabled automatically - there was the question about install newest mx-nvidia-driver and I agreed with it.

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#18 Post by SwampRabbit »

simwin wrote: Thu Jul 29, 2021 10:50 am May be test repo was enabled automatically - there was the question about install newest mx-nvidia-driver and I agreed with it.
The MX Test Repo is enabled temporarily, then it is disabled by the Nvidia Driver Installer. No one forces anyone to install the drivers or anything else from the MX Test Repo, its called Test for a reason. Its for testing userend applications, not testing develpment items. While 99.99% of the time it isn't an issue, rare situations do occur, but honestly I can verify if the Nvidia Driver Installer caused this because I don't have Nvidia devices.


Now to downgrade at least libglvnd-dev back to where it needs to be, you can use Synaptic (make sure you disable the MX Test Repo) since you enabled it recently, I tested this by first upgrading to packages in the MX Test Repo.

Then I:
- searched for glvnd-dev > highlighted it
- clicked "Package" in the menu
- chose "Force Version" which gives me options
- selected 1.1.0-1
- applied

Now at this point it complained a lot about downgrading packages and removing packages.
If you decide to go this route, please make a note of the packages it is removing so you can reinstall them (using the Stable repo of course).

After this I was able to install libepoxy-dev, libgtk-3-dev without issue both using MXPI Stable Repo tab and Synaptic.

simwin wrote: Thu Jul 29, 2021 8:50 am I suggest to remove nvidia driver from test repo or at least make attention like yours - It can get tricky when Test libraries are installed and then you decide to build programs yourself and need the matching -dev packages. ...
If you're trying to build programs yourself, you should know how to not create or resolve package conflicts when mixing and matching package versions.

Users should always ensure they have backups or use applications like Timeshift to roll back to know good points, even if they don't use anything from the MX Test Repo or not, its just good practice.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

User avatar
simwin
Posts: 34
Joined: Tue Jun 30, 2020 3:40 am

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#19 Post by simwin »

SwampRabbit wrote: Thu Jul 29, 2021 12:23 pm
The MX Test Repo is enabled temporarily, then it is disabled by the Nvidia Driver Installer. No one forces anyone to install the drivers or anything else from the MX Test Repo, its called Test for a reason. Its for testing userend applications, not testing develpment items. While 99.99% of the time it isn't an issue, rare situations do occur, but honestly I can verify if the Nvidia Driver Installer caused this because I don't have Nvidia devices.

Now to downgrade at least libglvnd-dev back to where it needs to be, you can use Synaptic (make sure you disable the MX Test Repo) since you enabled it recently, I tested this by first upgrading to packages in the MX Test Repo.

Then I:
- searched for glvnd-dev > highlighted it
- clicked "Package" in the menu
- chose "Force Version" which gives me options
- selected 1.1.0-1
- applied
libglvnd-dev has only 1.1.0-1 version, can't chose (see) another and that is why can't select, I can freeze it only, but it doesn't help. Please see below:
sudo apt-get install libglvnd-dev
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:
libglvnd-dev : Depends: libglvnd0 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
Depends: libegl1 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
Depends: libgles1 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
Depends: libgles2 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
Depends: libgl1 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
Depends: libglx0 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
Depends: libopengl0 (= 1.1.0-1) but 1.3.1-1mx19+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Please see imgs: i think it is too late... By the way I haven't chose test repo manualy - only install newest nvidia driver and then made update. May be that is the reason of my deep test system.

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Can't install libgtk-3-dev for MX Linux MX-19.4_x64

#20 Post by SwampRabbit »

That is what I am saying, you need to force libglvnd-dev to 1.1.0-1 and then reinstall everything that is removed, but make sure your install them from the Stable repo.

Now I just did a test and installed a ton of Nvidia packages from the MX Test Repo using MXPI (because I don't have Nvidia hardware and can't use the Nvidia Drive Installer).

Nothing I installed or updated libglvnd0, libglvnd-core-dev, or libglvnd-dev, so I don't know how you got those.

So until someone can prove otherwise, I don't think using the Nvidia Driver Installer actually installs or upgrades those, it would have had to be done manually somehow.

At this point you can do two things:
1) downgrade those packages and reinstall the ones removed, install Timeshift to make sure you take snapshots when possibly installing something which may conflict later, and don't use the MX Test Repo if you need libgtk-3-dev.
2) reinstall MX, install Timeshift to make sure you take snapshots when possibly installing something which may conflict later, and don't use the MX Test Repo if you need libgtk-3-dev.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

Post Reply

Return to “General”