libgtk2.0-dev unsolved dependencies

Post your update and upgrade related errors here
Forum rules
Before you post please read how to get help

libgtk2.0-dev unsolved dependencies

Postby pmd on Sun Jan 02, 2011 2:03 pm

Hi,
I'm Debian user who added LMDE repos because I'm interested in few packages. Mainly Firefox and Thunderbird - newer versions than in Debian Testing.
I want to build some packages which I'm using very often at my daily work, but I found some dependencies that don't let me do this. I thought that I screwed up something when I added LMDE repos to my Debian installation so I installed pure LMDE on VirtualBox and got same problem.

vbox-mint ~ # apt-get build-dep pidgin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libltdl-dev' instead of 'libltdl3-dev'
The following packages have unmet dependencies:
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
E: Build-dependencies for pidgin could not be satisfied.
vbox-mint ~ # apt-get install libcairo2-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:
libcairo2-dev : Depends: libcairo-gobject2 (= 1.10.0-1ubuntu2) but it is not installable
Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
Depends: libpixman-1-dev (>= 0.18.4) but it is not going to be installed
E: Broken packages
pmd
Level 1
Level 1
 
Posts: 6
Joined: Sun Jan 02, 2011 1:46 pm

Linux Mint is funded by ads and donations.
 

Re: libgtk2.0-dev unsolved dependencies

Postby crispata on Sun Jan 02, 2011 6:33 pm

You aren't alone, there's a known bug filed for this:

https://bugs.launchpad.net/linuxmint/+bug/695621
crispata
Level 1
Level 1
 
Posts: 34
Joined: Sat Dec 06, 2008 10:53 pm

Re: libgtk2.0-dev unsolved dependencies

Postby autocrosser on Sun Jan 02, 2011 6:59 pm

Yes---I'm needing this to build Gnome-Shell....missing using it.
"Let's nobody be dead today----Looks very bad on my report" One of my favorite lines from AVATAR :)
Linux User# 395230
User avatar
autocrosser
Level 4
Level 4
 
Posts: 423
Joined: Tue Dec 28, 2010 5:00 pm
Location: Eagle Point, Oregon

Re: libgtk2.0-dev unsolved dependencies

Postby pmd on Mon Jan 03, 2011 5:22 am

I found workaround solution:
download libcairo-gobject2 from this site: http://packages.ubuntu.com/maverick/libcairo-gobject2 and install it by
Code: Select all
dpkg -i libcairo-gobject2(...).deb

add experimental debian repositories to your /etc/apt/sources.list and:
Code: Select all
apt-get update
apt-get -t experimental install libpixman-1-0 libpixman-1-dev

After this libgtk-2.0-dev will install correctly

You can ofc download those packages directly from packages.debian.org without adding experimental repository.
Works good for me.
pmd
Level 1
Level 1
 
Posts: 6
Joined: Sun Jan 02, 2011 1:46 pm

Re: libgtk2.0-dev unsolved dependencies

Postby autocrosser on Mon Jan 03, 2011 10:46 am

Thanks!! I had not thought of that--worked very well.
"Let's nobody be dead today----Looks very bad on my report" One of my favorite lines from AVATAR :)
Linux User# 395230
User avatar
autocrosser
Level 4
Level 4
 
Posts: 423
Joined: Tue Dec 28, 2010 5:00 pm
Location: Eagle Point, Oregon

Re: libgtk2.0-dev unsolved dependencies

Postby Angel_Caido on Wed Jan 05, 2011 7:34 am

The workaround works... but only for LMDE 32 bits!
I've installed both LMDE 64 and 32 bits and even though it solved my problem in the 32 bits version I wasn't that lucky with the 64 bits version.
Oh, the experimental repository that I used for my /etc/apt/sources.list and worked fine with my 32 bits system was the following:
Code: Select all
deb http://ftp.debian.org/debian experimental main


Thanks for the tip, though.
Angel_Caido
Level 1
Level 1
 
Posts: 6
Joined: Tue Feb 09, 2010 4:12 pm

Re: libgtk2.0-dev unsolved dependencies

Postby autocrosser on Wed Jan 05, 2011 11:14 am

I ended up getting all the depends from Ubuntu.
"Let's nobody be dead today----Looks very bad on my report" One of my favorite lines from AVATAR :)
Linux User# 395230
User avatar
autocrosser
Level 4
Level 4
 
Posts: 423
Joined: Tue Dec 28, 2010 5:00 pm
Location: Eagle Point, Oregon

Re: libgtk2.0-dev unsolved dependencies

Postby drr00t on Wed Jan 05, 2011 2:51 pm

Hi, i got all deps from ubuntu too. I had to force ubuntu version for libfontconfig1-dev to work.
drr00t
Level 1
Level 1
 
Posts: 3
Joined: Wed Dec 22, 2010 1:25 pm

Re: libgtk2.0-dev unsolved dependencies

Postby Angel_Caido on Wed Jan 05, 2011 3:14 pm

Which dependencies did you get and force? 'cause I tried to do that [force one package] and it tried to remove [and actually ended up removing] the entire Mint Desktop [GUI included].
Any 64 bits workaround to this issue?
Angel_Caido
Level 1
Level 1
 
Posts: 6
Joined: Tue Feb 09, 2010 4:12 pm

Re: libgtk2.0-dev unsolved dependencies

Postby autocrosser on Wed Jan 05, 2011 4:52 pm

Interesting...I pulled libgtk2.0-dev & it's depends from Ubuntu Maverick-proposed...I'm running 64bit & gdebi'd them in without a problem. Didn't have to force any of them.
"Let's nobody be dead today----Looks very bad on my report" One of my favorite lines from AVATAR :)
Linux User# 395230
User avatar
autocrosser
Level 4
Level 4
 
Posts: 423
Joined: Tue Dec 28, 2010 5:00 pm
Location: Eagle Point, Oregon

Re: libgtk2.0-dev unsolved dependencies

Postby Angel_Caido on Thu Jan 06, 2011 7:41 am

Could you please help me out here then, autocrosser? I'm still stuck.
I've already tried pmd workaround but only worked on 32 bits.

Tried your workaround to no avail. I must be doing something wrong.
I've downloaded the package libgtk2.0-dev_2.22.0-0ubuntu1_amd64.deb from Maverick-Proposed but when I try to GDebi it I receive this message:
Code: Select all
Error: Dependency is not satisfiable: libgtk2.0-0 (= 2.22.0-0ubuntu1)

So, I try to GDebi the package libgtk2.0-0_2.22.0-0ubuntu1_amd64.deb [also downloaded from Maverick-Proposed], then I receive the following message:
Code: Select all
Error: Breaks existing package 'gtk2-engines-pixbuf' dependency libgtk2.0-0 (= 2.20.1-2)


The package libgtk2.0-0 version 2.20.1-2 is already installed in my system according to synaptics, but if I attempt to remove it I get the warning that it'll take basically the entire Mint system with it.
Angel_Caido
Level 1
Level 1
 
Posts: 6
Joined: Tue Feb 09, 2010 4:12 pm

Re: libgtk2.0-dev unsolved dependencies

Postby autocrosser on Thu Jan 06, 2011 11:01 am

I'm almost on my way to work right now---I'll get things together in about 8 hours....hang in there!!!
"Let's nobody be dead today----Looks very bad on my report" One of my favorite lines from AVATAR :)
Linux User# 395230
User avatar
autocrosser
Level 4
Level 4
 
Posts: 423
Joined: Tue Dec 28, 2010 5:00 pm
Location: Eagle Point, Oregon

Re: libgtk2.0-dev unsolved dependencies

Postby autocrosser on Fri Jan 07, 2011 12:37 am

***NOTE*** It looks like I got the stuff from Maverick, not Maverick-Proposed---Adjust the info accordingly********


I've installed all the Libgtk2.0-0 stuff from Ubuntu. Version # is 2.20.1-2. Files that I installed: libgtk2.0-0, libgtk2.0-bin, libgtk2.0-common & libgtk2.0-dev---get all of them from Maverick-proposed & to be honest Gedbi will indicate which it wants first--if there are unsatisfied depends you will need to get them from the same source,


Speaking of sources, this is what my source.list looks like:

#############################################################
##################### Linux Mint Debian #####################
#############################################################

deb http://mirrors.insync.za.net/linuxmint.com/packages debian main upstream import romeo
deb-src http://mirrors.insync.za.net/linuxmint.com/packages debian main upstream import romeo
deb http://packages.linuxmint.com/ debian main upstream import backport romeo
deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos

# Testing
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

###### Debian Update Repos

# Testing Security http://secure-testing-master.debian.net/
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

#Testing Proposed Updates
deb http://ftp.us.debian.org/debian/ testing-proposed-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing-proposed-updates main contrib non-free

# Testing
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free

# Squeeze Security http://secure-testing-master.debian.net/
#deb http://security.debian.org squeeze/updates main contrib non-free
#deb-src http://security.debian.org squeeze/updates main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Debian Multimedia - http://www.debian-multimedia.org/
## Run this command: apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org/ squeeze main non-free
deb http://www.debian-multimedia.org testing main non-free

#### Debian Unofficial - http://debian-unofficial.org/
## Run this command: apt-get install debian-unofficial-archive-keyring
# deb http://ftp.debian-unofficial.org/debian squeeze main contrib non-free restricted

#### Google Linux Software Repositories - http://www.google.com
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && apt-get update
# deb http://dl.google.com/linux/deb/ stable all

#### Google Linux Software Repositories (Testing) - http://www.google.com/linuxrepositories/index.html
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
deb http://dl.google.com/linux/deb/ testing non-free

#### Skype - www.skype.com
## Run this command: gpg --keyserver pgp.mit.edu --recv-keys 0xd66b746e && gpg --export --armor 0xd66b746e | apt-key add -
# deb http://download.skype.com/linux/repos/debian/ stable non-free

# Unofficial Maintainers http://unofficial.debian-maintainers.org/
# Secure APT - apt-get install dmo-archive-keyring
# Unofficial Maintainers (lenny/stable releases)
# deb http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted
# deb-src http://unofficial.debian-maintainers.org/ lenny main contrib non-free restricted
# Unofficial Maintainers (squeeze/testing releases)
# Note: This repository is not yet populated.
deb http://unofficial.debian-maintainers.org/ squeeze main contrib non-free restricted
deb-src http://unofficial.debian-maintainers.org/ squeeze main contrib non-free restricted
# Unofficial Maintainers (sid/unstable releases)
# deb http://unofficial.debian-maintainers.org/ sid main contrib non-free restricted
# deb-src http://unofficial.debian-maintainers.org/ sid main contrib non-free restricted

# Hadret's Debian PPA - http://hadret.rootnode.net/
# CoverGloobus, Equinox, Murrine (from GIT), DeadBeef, Cairo (with David Turner's patch), Pino, Nautilus Elementary and few others.
# Package list
# http://hadret.rootnode.net/debian/dists ... nary-i386/
# http://hadret.rootnode.net/debian/dists ... ary-amd64/
# Secure APT wget -O - http://hadret.rootnode.net/debian/duckbill.key | apt-key add -
#Unstable:
deb http://hadret.rootnode.net/debian/ unstable main
deb-src http://hadret.rootnode.net/debian/ unstable main
#Experimental:
# deb http://hadret.rootnode.net/debian/ experimental main
# deb-src http://hadret.rootnode.net/debian/ experimental main

######################
### MISCELLANEOUS ##
######################

# Duke Nukem 3D http://wiki.eduke32.com/wiki/APT_reposi ... positories
# Secure APT- su && wget http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add -
deb http://apt.duke4.net sid main
deb-src http://apt.duke4.net sid main

# Bluefish Editor : http://bluefish.openoffice.nl
# Secure APT -apt-get install wgdd-archive-keyring
# apt-get install bluefish
deb http://debian.wgdd.de/debian unstable main contrib non-free
deb-src http://debian.wgdd.de/debian unstable main contrib non-free

# wxWidgets/wxPython repository at apt.wxwidgets.org
# Secure APT - wget -q http://apt.wxwidgets.org/key.asc -O- | apt-key add -
deb http://apt.wxwidgets.org/ lenny-wx main
deb-src http://apt.wxwidgets.org/ lenny-wx main


I hope this helps!!!!

Autocrosser
"Let's nobody be dead today----Looks very bad on my report" One of my favorite lines from AVATAR :)
Linux User# 395230
User avatar
autocrosser
Level 4
Level 4
 
Posts: 423
Joined: Tue Dec 28, 2010 5:00 pm
Location: Eagle Point, Oregon

Re: libgtk2.0-dev unsolved dependencies

Postby Angel_Caido on Sat Jan 08, 2011 11:14 pm

Unfortunately still doesn't work for me. One of the packages conflicts with the mint system [I don't have the name of the package right now]. This happens on a fresh installed LMDE 64 bits with and without updates.
I'll try later.
Angel_Caido
Level 1
Level 1
 
Posts: 6
Joined: Tue Feb 09, 2010 4:12 pm

[Solved] libgtk2.0-dev unsolved dependencies in LMDE 64 bits

Postby Angel_Caido on Mon Jan 10, 2011 2:45 am

I Finally got this dependencies issue taken care of.
I have to clarify that this was done on a fresh installation of Linux Mint Debian 64 bits.
This is what I did:
I went to the terminal and edit the /etc/apt/sources.list:
Code: Select all
sudo gedit /etc/apt/sources.list

I disabled the Linux Mint Debian repositories; then added the Linux Mint Julia and Ubuntu Maverick Repositories. This is how my sources.list looked like:
Code: Select all
#deb http://packages.linuxmint.com/ debian main upstream import
deb http://packages.linuxmint.com/ julia main upstream import
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
deb http://archive.ubuntu.com/ubuntu/ maverick main

I updated the repository sources:
Code: Select all
sudo apt-get update

I received a GPG error ['cause I was using ubuntu's repos] which I solved with these lines on the terminal:
Code: Select all
gpg --recv-keys 40976EAF437D05B5
gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -

I received an error when executing the lines above. It turns out the package apt-xapian-index wasn't installed, so, I installed it using:
Code: Select all
sudo apt-get install apt-xapian-index


Then I re-ran the sources update:
Code: Select all
sudo apt-get update

After all this I fired up synaptic and then looked up for the libgtk2.0-dev package [which wasn't installed] and marked it for installation.
Synaptic informed me that some other packages were about to be installed and some other ones upgraded.
I applied the changes and Synaptic did its magic.
When everything was done I closed Synaptic and went back to edit the sources.list file and left it as follows:
Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
#deb http://packages.linuxmint.com/ julia main upstream import
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free
#deb http://archive.ubuntu.com/ubuntu/ maverick main

I re-ran the sources update:
Code: Select all
sudo apt-get update


Rebooted my system and... dependencies problems solved.
Hope it helps.
Angel_Caido
Level 1
Level 1
 
Posts: 6
Joined: Tue Feb 09, 2010 4:12 pm

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 6 guests