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

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

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

#1 Post 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 


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

#2 Post 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.
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
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

#3 Post 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.
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

#4 Post 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.
Last edited by simwin on Wed Jul 28, 2021 6:21 pm, edited 2 times in total.

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

#5 Post by simwin »

.

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

#6 Post 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 

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

#7 Post 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.

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

#8 Post by timkb4cq »

MXPI is short for MX Package Installer
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

#9 Post 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!

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

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

#10 Post 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.)
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

Post Reply

Return to “General”