libgtkmm-3.0-dev (unmet dependencies)

If none of the more specific forums is the right place to ask

libgtkmm-3.0-dev (unmet dependencies)

Postby MueDominik » 2017-12-29 16:07

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.
MueDominik
 
Posts: 2
Joined: 2017-12-29 15:21

Re: libgtkmm-3.0-dev (unmet dependencies)

Postby Head_on_a_Stick » 2017-12-29 16:21

We need to see the full output of
Code: Select all
apt-cache policy

See also https://wiki.debian.org/DontBreakDebian ... nkenDebian
"To be free is nothing, to become free is everything." — Hegel
User avatar
Head_on_a_Stick
 
Posts: 7001
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: libgtkmm-3.0-dev (unmet dependencies)

Postby Head_on_a_Stick » 2017-12-29 16:23

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.
"To be free is nothing, to become free is everything." — Hegel
User avatar
Head_on_a_Stick
 
Posts: 7001
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: libgtkmm-3.0-dev (unmet dependencies)

Postby MueDominik » 2017-12-29 16:44

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.
MueDominik
 
Posts: 2
Joined: 2017-12-29 15:21

Re: libgtkmm-3.0-dev (unmet dependencies)

Postby Head_on_a_Stick » 2017-12-29 16:57

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:
"To be free is nothing, to become free is everything." — Hegel
User avatar
Head_on_a_Stick
 
Posts: 7001
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: libgtkmm-3.0-dev (unmet dependencies)

Postby stevepusser » 2017-12-29 18:59

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)
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.7.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.3, Firefox 57.0.4, QMPlay2 17.12.31
User avatar
stevepusser
 
Posts: 9058
Joined: 2009-10-06 05:53


Return to General Questions

Who is online

Users browsing this forum: Riberto and 5 guests

fashionable