SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-05-30 02:54:25

merkoth
Member
From: Buenos Aires, Argentina
Registered: 2009-04-25
Posts: 39
Website

Broken packages

Hi everyone, I'm experiencing some issues while installing a few libs. This is the output I get:

The following packages have unmet dependencies:
 libpango1.0-dev : Depends: libglib2.0-dev (>= 2.12.0) but it is not going to be installed
 libsdl-mixer1.2-dev : Depends: libsdl1.2-dev (>= 1.2.4) but it is not going to be installed
                       Depends: libsmpeg-dev (>= 0.4.4-7) but it is not going to be installed
 libsdl-ttf2.0-dev : Depends: libsdl1.2-dev (>= 1.2.4) but it is not going to be installed
E: Broken packages

I don't see anything wrong in my sources.list, but I'll paste it just in case:

  GNU nano 2.2.4          File: /etc/apt/sources.list                          

deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main

## DEBIAN BACKPORTS
deb http://backports.debian.org/debian-backports squeeze-backports main contri$

# Unstable Sid
#deb http://http.us.debian.org/debian/ unstable main contrib non-free
# Unstable Sources
#deb-src http://http.us.debian.org/debian/ unstable main contrib non-free

The commented-out sid lines were needed for the nvidia drivers. Any ideas?

Offline

Be excellent to each other!

#2 2011-05-30 03:03:26

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,255

Re: Broken packages

Your sources.list looks rather incomplete, innit?  I don't see a URI for the primary Debian Squeeze repo, or for Statler...


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#3 2011-05-30 03:15:28

merkoth
Member
From: Buenos Aires, Argentina
Registered: 2009-04-25
Posts: 39
Website

Re: Broken packages

## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
deb http://packages.crunchbanglinux.org/statler statler main

## DEBIAN
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main

## DEBIAN BACKPORTS
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

# Unstable Sid
#deb http://http.us.debian.org/debian/ unstable main contrib non-free
# Unstable Sources
#deb-src http://http.us.debian.org/debian/ unstable main contrib non-free

Sorry, I just failed at copypasting. This is my complete sources.list.

Offline

#4 2011-05-30 03:50:38

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,255

Re: Broken packages

Have you tried installing the listed dependencies first?  Don't know why they're being held back...


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#5 2011-05-30 03:59:47

merkoth
Member
From: Buenos Aires, Argentina
Registered: 2009-04-25
Posts: 39
Website

Re: Broken packages

Everything seems to come down to a problem with libglib2.0-dev...

The following packages have unmet dependencies:
 libglib2.0-dev : Depends: libglib2.0-0 (= 2.24.2-1) but 2.28.6-1 is to be installed

Offline

#6 2011-05-30 04:06:56

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: Broken packages

It appears that your installed version of libgllib2.0-0 is too new, try uninstalling it and then see what happens. Just make sure it doesn't take anything too important with it.

Offline

#7 2011-05-30 04:09:34

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: Broken packages

Try this:

sudo apt-get -t stable install libglib2.0-dev

or

sudo apt-get -t stable install libglib2.0-0

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#8 2011-05-30 04:21:46

merkoth
Member
From: Buenos Aires, Argentina
Registered: 2009-04-25
Posts: 39
Website

Re: Broken packages

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:
 libglib2.0-dev : Depends: libglib2.0-0 (= 2.24.2-1) but 2.28.6-1 is to be installed
E: Broken packages

And then

libglib2.0-0 is already the newest version.

I'm kinda clueless right now. But thanks anyway guys smile

Offline

#9 2011-05-30 04:22:46

august
#! Member
From: Brooklyn
Registered: 2011-05-26
Posts: 59

Re: Broken packages

I had the exact same problem with the same lib when trying to install Aleph One.

The amount of things that were to be uninstalled when downgrading was sizable enough for me to decide it wasn't worth it.

Offline

#10 2011-05-30 04:27:34

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: Broken packages

What is the output for:

apt-cache policy libglib2.0-0

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#11 2011-05-30 04:27:53

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,745

Re: Broken packages

What happens if you try and just remove the version of libgllib2.0-0 that you currently have installed?

$ sudo apt-get remove libgllib2.0-0

You could always just install the testing version of libgllib2.0-dev instead. Just beware, your small collection of testing packages might snowball until half your system is testing packages big_smile

Offline

#12 2011-05-30 04:28:20

merkoth
Member
From: Buenos Aires, Argentina
Registered: 2009-04-25
Posts: 39
Website

Re: Broken packages

@august Unfortunately, this problem arised when I started installing my game development toolchain, so I kinda need it lol

@anon This is what I get:

libglib2.0-0:
  Installed: 2.28.6-1
  Candidate: 2.28.6-1
  Version table:
 *** 2.28.6-1 0
        100 /var/lib/dpkg/status
     2.24.2-1 0
        100 http://ftp.de.debian.org/debian/ squeeze/main amd64 Packages

@mynis Er... Glib is a core library, I just can't remove it without pulling out a bazillion dependencies...

Last edited by merkoth (2011-05-30 04:33:12)

Offline

#13 2011-05-30 04:33:51

august
#! Member
From: Brooklyn
Registered: 2011-05-26
Posts: 59

Re: Broken packages

merkoth wrote:

Unfortunately, this problem arised when I started installing my game development toolchain, so I kinda need it lol

You can use Synaptic to find the lib and Force Version back down to the version you need. But I just got into this stuff a few weeks ago so you'll probably want to hold off on that until you get confirmation from someone else. It has the potential to break a lot of stuff.

Offline

#14 2011-05-30 05:02:27

Mike_H
#! Member
Registered: 2010-09-30
Posts: 55

Re: Broken packages

I had the same problem with libglib2.0-dev . I posted in the forum a few days ago.
I couldn't fix it. I ended up installing Xubuntu on a virtual machine and install it there, no problems in Xubuntu.

Offline

#15 2011-05-30 05:35:50

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,930

Re: Broken packages

Like august said, I would try downgrading it.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo