Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

libgtkmm-3.0-dev (unmet dependencies)

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
MueDominik
Posts: 2
Joined: 2017-12-29 15:21

libgtkmm-3.0-dev (unmet dependencies)

#1 Post by MueDominik »

Hello

Due to a bug in the Linux 4.13 kernel, I recently switched from Ubuntu 17.10 to Debian 9.
Since I have a dual-boot setup, I'd like to customize the GRUB 2 boot loader to boot up Windows 10 by default (making it the default entry). Until now I've done this by using the package "grub-customizer".
So I decided to install the previously mentioned package on Debian Stretch as well. While installing the package "libgtkmm-3.0-dev", as mentioned in almost any guide [1] [2], I encountered the following problem:

Code: Select all

muedominik@debian:~$ sudo apt install libgtkmm-3.0-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:
 libgtkmm-3.0-dev : Depends: libgtk-3-dev (>= 3.22.0) but it is not going to be installed
                    Depends: libcairomm-1.0-dev (>= 1.12.0) but it is not going to be installed
                    Depends: libpangomm-1.4-dev (>= 2.38.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So I tried to install the package "libgtk-3-dev" which lead to the following:

Code: Select all

muedominik@debian:~$ sudo apt install libgtk-3-dev
[...]

The following packages have unmet dependencies:
 libgtk-3-dev : Depends: libpango1.0-dev (>= 1.37.3) but it is not going to be installed
                Depends: libcairo2-dev (>= 1.14.0) but it is not going to be installed
                Depends: libfontconfig1-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Which lead me to this:

Code: Select all

muedominik@debian:~$ sudo apt install libpango1.0-dev
[...]

The following packages have unmet dependencies:
 libpango1.0-dev : Depends: libcairo2-dev (>= 1.12.10) but it is not going to be installed
                   Depends: libfontconfig1-dev (>= 2.10.91) but it is not going to be installed
                   Depends: libxft-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
This just keeps going on... I just want to install the package "libgtkmm-3.0-dev" so that I'm able to install "grub-customizer".
I hope someone can tell me what I'm doing wrong here.

Thank you for any help you can provide.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: libgtkmm-3.0-dev (unmet dependencies)

#2 Post by Head_on_a_Stick »

We need to see the full output of

Code: Select all

apt-cache policy
See also https://wiki.debian.org/DontBreakDebian ... nkenDebian
deadbang

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: libgtkmm-3.0-dev (unmet dependencies)

#3 Post by Head_on_a_Stick »

MueDominik wrote:I'd like to customize the GRUB 2 boot loader to boot up Windows 10 by default (making it the default entry). Until now I've done this by using the package "grub-customizer"
You are aware that you can do that by changing a single line in a single file and running a single command afterwards, right?

That "grub-customizer" nonsense is not needed at all.
deadbang

MueDominik
Posts: 2
Joined: 2017-12-29 15:21

Re: libgtkmm-3.0-dev (unmet dependencies)

#4 Post by MueDominik »

Thank you for your fast response.
Head_on_a_Stick wrote:We need to see the full output of

Code: Select all

apt-cache policy
See also https://wiki.debian.org/DontBreakDebian ... nkenDebian
Looks like I've already created a "FrankenDebian" by adding "sid" to install the latest release of Mozilla Firefox (Quantum).

Code: Select all

muedominik@debian:~$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://download.sublimetext.com apt/stable/ Packages
     release o=Sublime Text,a=apt/stable,l=Sublime Text APT Repository,c=
     origin download.sublimetext.com
1000 http://httpredir.debian.org/debian stretch/non-free amd64 Packages
     release v=9.3,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
1000 http://httpredir.debian.org/debian stretch/contrib amd64 Packages
     release v=9.3,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
1000 http://httpredir.debian.org/debian stretch/main amd64 Packages
     release v=9.3,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
   2 http://ftp.us.debian.org/debian sid/main amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
     origin ftp.us.debian.org
1000 http://deb.debian.org/debian stretch/non-free amd64 Packages
     release v=9.3,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
1000 http://deb.debian.org/debian stretch/contrib amd64 Packages
     release v=9.3,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
1000 http://deb.debian.org/debian stretch/main amd64 Packages
     release v=9.3,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:
     fontconfig-config -> 2.12.6-0.1 with priority 1001
     libfontconfig1 -> 2.12.6-0.1 with priority 1001
     libnss3 -> 2:3.34-1 with priority 1001
     firefox -> 57.0.1-1 with priority 1001
muedominik@debian:~$ 
Head_on_a_Stick wrote:
MueDominik wrote:I'd like to customize the GRUB 2 boot loader to boot up Windows 10 by default (making it the default entry). Until now I've done this by using the package "grub-customizer"
You are aware that you can do that by changing a single line in a single file and running a single command afterwards, right?

That "grub-customizer" nonsense is not needed at all.
Yes I'm aware of the fact that I can change the file "/etc/default/grub" an then run the command "update-grub". I'm most likely going to do it like that, since I've invested enough time into this problem already...

But I would still like to know why I can't install the "libgtkmm-3.0-dev" package.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: libgtkmm-3.0-dev (unmet dependencies)

#5 Post by Head_on_a_Stick »

MueDominik wrote:why I can't install the "libgtkmm-3.0-dev" package.
MueDominik wrote:I've already created a "FrankenDebian" by adding "sid"
^ These two facts are intimately related ;)

Looks like that pinning "tutorial" was completely FOS, eh? :mrgreen:
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: libgtkmm-3.0-dev (unmet dependencies)

#6 Post by stevepusser »

And those guides have their heads up their butts, anyway. The best way is to rebuild deb packages on Debian from the PPA sources, but you can't build anything with a broken system...and Firefox was the worst program to break your system for, too. There are several ways to get the current Firefox on Stretch or Jessie without adding the upstream repositories.

https://wiki.debian.org/CreatePackageFromPPA

Though that PPA source has some janky parts in the build procedure that certainly be improved...dpatch and debhelper 7, really? (fires up text editor)
MX Linux packager and developer

Post Reply