Page 1 of 1

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

Posted: Wed Jul 28, 2021 4:20 pm
by simwin
Today I've install MX Linux MX-19.4_x64 and I have some problem with install libgtk-3-dev:

Code: Select all

$ sudo apt-get install libgtk-3-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:
 libgtk-3-dev : Depends: libegl1-mesa-dev but it is not going to be installed
                Depends: libepoxy-dev (>= 1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
user@pc:~
$ sudo apt-get install libegl1-mesa-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:
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
user@pc:~
$ sudo apt-get install libepoxy-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:
 libepoxy-dev : Depends: libegl1-mesa-dev but it is not going to be installed
                Depends: libgl1-mesa-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
user@pc:~
$ sudo apt-get install libegl1-mesa-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:
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

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.

sudo apt update --fix-missing 
Hit:1 http://mirror.truenetwork.ru/mxlinux/mx/repo buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease                      
Hit:3 http://deb.debian.org/debian buster InRelease                              
Hit:4 http://deb.debian.org/debian-security buster/updates InRelease             
Hit:5 https://download.sublimetext.com apt/stable/ InRelease                    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
How can I install libgtk-3-dev?

sources.list.d:

Code: Select all

cat /etc/apt/sources.list.d/debian.list 
# Debian Stable.
deb http://deb.debian.org/debian/ buster main contrib non-free 
deb-src http://deb.debian.org/debian/ buster non-free contrib main  

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free 
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free 

#buster backports
# deb http://deb.debian.org/debian/ buster-backports main contrib non-free 

cat /etc/apt/sources.list.d/debian-stable-updates.list 

# Debian buster Updates
deb http://deb.debian.org/debian/ buster-updates main contrib non-free 
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free 


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

Posted: Wed Jul 28, 2021 5:05 pm
by SwampRabbit
Please post your Quick System Info.

I just tested a install of libgtk-3-dev on a freshly installed 19.4 VM and it went fine.

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

Posted: Wed Jul 28, 2021 5:11 pm
by timkb4cq
It appears that at some point you upgraded your mesa from the MX Test repository which brought in Test versions of epoxy & libglvnd (& probably others).
To install the matching -dev package versions you have to either enable the Test repository again, or use MXPI on the Test repo tab with the "hide library & development packages" box unticked.

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

Posted: Wed Jul 28, 2021 5:56 pm
by simwin
timkb4cq wrote: Wed Jul 28, 2021 5:11 pm It appears that at some point you upgraded your mesa from the MX Test repository which brought in Test versions of epoxy & libglvnd (& probably others).
To install the matching -dev package versions you have to either enable the Test repository again, or use MXPI on the Test repo tab with the "hide library & development packages" box unticked.
May be when I was installing newest proprietary mx-nvidia-drirver there was some test repo source. Any way I turn on Test repository, but the error not was solved:

Code: Select all

cat /etc/apt/sources.list.d/mx.list
# MX Community Main and Test Repos
deb http://mirror.truenetwork.ru/mxlinux/mx/repo/ buster main non-free 
deb-src http://mirror.truenetwork.ru/mxlinux/mx/repo/ buster main non-free 
deb http://mirror.truenetwork.ru/mxlinux/mx/testrepo/ buster test  
deb-src http://mirror.truenetwork.ru/mxlinux/mx/testrepo/ buster test  

#ahs hardware stack repo
# deb http://mirror.truenetwork.ru/mxlinux/mx/repo/ buster ahs

sudo apt-get update
http://deb.debian.org/debian buster-updates InRelease
http://deb.debian.org/debian buster InRelease                                                                                  
http://deb.debian.org/debian-security buster/updates InRelease                                                                                                       
http://mirror.truenetwork.ru/mxlinux/mx/repo buster InRelease                                                                                                        
http://mirror.truenetwork.ru/mxlinux/mx/testrepo buster InRelease                                    
https://download.sublimetext.com apt/stable/ InRelease                                               
http://mirror.truenetwork.ru/mxlinux/mx/repo buster/main Sources [240 kB]
http://mirror.truenetwork.ru/mxlinux/mx/repo buster/non-free Sources [5 299 B]
http://mirror.truenetwork.ru/mxlinux/mx/testrepo buster/test Sources [451 kB]

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:
 libgtk-3-dev : Depends: libegl1-mesa-dev but it is not going to be installed
                Depends: libepoxy-dev (>= 1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

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

Posted: Wed Jul 28, 2021 6:01 pm
by simwin
.

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

Posted: Wed Jul 28, 2021 6:03 pm
by simwin
SwampRabbit wrote: Wed Jul 28, 2021 5:05 pm Please post your Quick System Info.

I just tested a install of libgtk-3-dev on a freshly installed 19.4 VM and it went fine.
yes, please:

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-17-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-17-amd64 root=UUID=<filter> ro quiet splash 
           Desktop: Fluxbox 1.3.7 dm: nodm Distro: MX-19.4_x64 patito feo March 31  2021 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Desktop Mobo: Gigabyte model: M68MT-D3 serial: <filter> BIOS: Award v: F2 date: 06/14/2010 
CPU:       Topology: Dual Core model: AMD Athlon II X2 250 bits: 64 type: MCP arch: K10 family: 10 (16) model-id: 6 
           stepping: 2 microcode: 10000C7 L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 12055 
           Speed: 800 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 800 2: 800 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass status: Not affected 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA C61 [GeForce 7025 / nForce 630a] vendor: Gigabyte driver: N/A bus ID: 00:0d.0 chip ID: 10de:03d6 
           Device-2: NVIDIA GM204 [GeForce GTX 970] vendor: ASUSTeK driver: nvidia v: 455.45.01 bus ID: 02:00.0 
           chip ID: 10de:13c2 
           Display: x11 server: X.Org 1.20.4 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv tty: N/A 
           OpenGL: renderer: GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 direct render: Yes 
Audio:     Device-1: Creative Labs EMU10k1 [Sound Blaster Live! Series] driver: snd_emu10k1 v: kernel bus ID: 01:07.0 
           chip ID: 1102:0002 
           Device-2: NVIDIA GM204 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 02:00.1 
           chip ID: 10de:0fbb 
           Sound Server: ALSA v: k4.19.0-17-amd64 
Network:   Device-1: NVIDIA MCP61 Ethernet vendor: Gigabyte type: network bridge driver: forcedeth v: kernel port: ec00 
           bus ID: 00:07.0 chip ID: 10de:03ef 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 566.81 GiB (60.8%) 
           ID-1: /dev/sda vendor: Toshiba model: HDWD110 size: 931.51 GiB block size: physical: 4096 B logical: 512 B 
           speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> rev: A8R0 temp: 32 C scheme: MBR 
Partition: ID-1: / raw size: 899.51 GiB size: 884.39 GiB (98.32%) used: 566.81 GiB (64.1%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 32.00 GiB used: 268 KiB (0.0%) fs: swap swappiness: 15 (default 60) 
           cache pressure: 100 (default) dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 31.8 C mobo: N/A gpu: nvidia temp: 43 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 28% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ buster-updates main contrib non-free
           2: deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ buster main contrib non-free
           2: deb-src http://deb.debian.org/debian/ buster non-free contrib main
           3: deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
           4: deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
           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
           Active apt repos in: /etc/apt/sources.list.d/sublime-text.list 
           1: deb https://download.sublimetext.com/ apt/stable/
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 196 Uptime: 2h 01m Memory: 5.58 GiB used: 2.78 GiB (49.8%) Init: SysVinit v: 2.93 runlevel: 5 
           default: multi-user.target Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in running in: quick-system-in 
           inxi: 3.0.36 

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

Posted: Wed Jul 28, 2021 6:18 pm
by simwin
timkb4cq wrote: Wed Jul 28, 2021 5:11 pm It appears that at some point you upgraded your mesa from the MX Test repository which brought in Test versions of epoxy & libglvnd (& probably others).
To install the matching -dev package versions you have to either enable the Test repository again, or use MXPI on the Test repo tab with the "hide library & development packages" box unticked.
I can't find MXPI and option "hide library & development packages" box. Please give the exact name of the MXPI-program.

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

Posted: Wed Jul 28, 2021 8:02 pm
by timkb4cq
MXPI is short for MX Package Installer

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

Posted: Thu Jul 29, 2021 12:19 am
by simwin
timkb4cq wrote: Wed Jul 28, 2021 8:02 pm MXPI is short for MX Package Installer
OK. I've done it, but it doesn't help

The reason is - can't find libegl1-mesa-dev in testing repo!

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

Posted: Thu Jul 29, 2021 1:41 am
by JayM
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.)

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

Posted: Thu Jul 29, 2021 2:02 am
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.

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

Posted: Thu Jul 29, 2021 2:43 am
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.


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

Posted: Thu Jul 29, 2021 2:44 am
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?

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

Posted: Thu Jul 29, 2021 8:23 am
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

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

Posted: Thu Jul 29, 2021 8:50 am
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!

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

Posted: Thu Jul 29, 2021 10:13 am
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.

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

Posted: Thu Jul 29, 2021 10:50 am
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.

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

Posted: Thu Jul 29, 2021 12:23 pm
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.

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

Posted: Fri Jul 30, 2021 10:14 am
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.

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

Posted: Fri Jul 30, 2021 11:07 am
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.

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

Posted: Fri Jul 30, 2021 2:21 pm
by simwin
SwampRabbit wrote: Fri Jul 30, 2021 11:07 amNow 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.
Try this:
1. Install MX-19.4
2. Don't install libgtk-3-dev and don't make update
3. Install newest NVIDIA 455.45.01

OR

1. Install MX-19.4
2. Make update and don't install libgtk-3-dev
3. Install newest NVIDIA 455.45.01

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

Posted: Fri Jul 30, 2021 2:27 pm
by simwin
SwampRabbit wrote: Fri Jul 30, 2021 11:07 amThat 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.
It would be easy to reinstall all system because I don't know the names of all installed testing libs. And Yes - Timeshift is a good idea to use. Thank you for your help! It was very valuable to me!

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

Posted: Fri Jul 30, 2021 3:13 pm
by SwampRabbit
simwin wrote: Fri Jul 30, 2021 2:21 pm
SwampRabbit wrote: Fri Jul 30, 2021 11:07 amNow 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.
Try this:
1. Install MX-19.4
2. Don't install libgtk-3-dev and don't make update
3. Install newest NVIDIA 455.45.01

OR

1. Install MX-19.4
2. Make update and don't install libgtk-3-dev
3. Install newest NVIDIA 455.45.01
I stated I did this essentially, but the difference is the part I made bold above, I can't verify with the actual Nvidia Driver Installer because I don't have Nvidia hardware, the installer stops as soon as it checks this.

Again, when I manually installed Nvidia drivers from the MX Test Repo (using MXPI) it did not pull in libglvnd0, libglvnd-core-dev, or libglvnd-dev. libgtk-3-dev and the rest should install fine from the MX Stable repo if using the Nvidia drivers from the MX Test Repo.

I just verified that by again:
1) fully updated MX-19.4
2) manually installed Nvidia drivers, Nvidia Settings, nvidia-smi, and a few other things from the MX Test Repo (using MXPI) it did not pull in libglvnd0, libglvnd-core-dev, or libglvnd-dev
3) installed libglvnd0, libglvnd-core-dev, or libglvnd-dev from the Stable repo (using MXPI)
4) installed libgtk-3-dev from the Stable repo (using MXPI)

The only thing different is for #2 I didn't use the Nvidia Driver Installer (because I can't). So the only way to know if that is an issue is someone else try the same thing but use the Nvidia Driver Installer for step 2.
BUT... I don't think (90%) that is the issue either. I think you somehow got packages you shouldn't have from the MX Test Repo which caused the conflict with libgtk-3-dev. It doesn't really matter now and honestly I can't spend time testing every combination under the sun anymore... we have other MX things to do... and I have a full time job. Sorry, hopefully your reinstall will go better.

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

Posted: Fri Jul 30, 2021 4:21 pm
by simwin
SwampRabbit wrote: Fri Jul 30, 2021 3:13 pm It doesn't really matter now and honestly I can't spend time testing every combination under the sun anymore... we have other MX things to do... and I have a full time job. Sorry, hopefully your reinstall will go better.
OK, ok... I understand it. You are right... Many thanks for your help and for your time spent trying to understand this issue!!!