On Sat, 24 Mar 2012 14:46:27 +0000, Ramon Hofer wrote:

> On Fri, 23 Mar 2012 12:15:10 +0000, Ramon Hofer wrote:
> 
>> So I thought I'd go with Stable, the kernel from backports and alsa
>> from testing.
>> Unfortunately this doesn't work. I suppose my problem are wrong apt-
>> preferences numbers or something like this.
> 
> Could it be that it's not possible to have the squeeze-backports kernel,
> wheezy alsa-utils and any build-essential installed at the same time is
> not possible?

What makes you think that?

> Here's the output of apt-get install build-essential and apt-get -t
> wheezy install alsa-utils.
> 
> http://pastebin.com/raw.php?i=njV7phnL

$ sudo apt-get install build-essential 

That went good.

sudo apt-get -t wheezy install alsa-utils

The following packages have unmet dependencies:
 libc6-dev : Breaks: gcc-4.4 (< 4.4.6-4) but 4.4.5-8 is to be installed
E: Broken packages

$ apt-cache policy gcc-4.4
gcc-4.4:
  Installed: 4.4.5-8
  Candidate: 4.4.5-8
  Version table:
     4.4.7-1 0
        600 http://ftp.ch.debian.org/debian/ wheezy/main i386 Packages
 *** 4.4.5-8 0
        990 http://ftp.ch.debian.org/debian/ squeeze/main i386 Packages
        100 /var/lib/dpkg/status

Mmm, my guess (as I told you earlier in the first post) is that maybe you 
are being "too wide" with your pinning configuration and thus allowing 
other packages for being upgraded.

You can cherry pick the packages you want to get for wheezy (e.g., alsa-
utils) and keep the rest of the libraries stick to squeeze (gcc-4.4). 
There can be situations where this is not possible and you require to 
upgrade the libraries as well but better having a message warning, stop 
and decide what to do than worry.

> So I switched to the wheezy build essential. It deinstalled the 2.6
> headers.
> Then I was able to install alsa-utils from wheezy.
> 
> But when I want to install a dependency from xbmc "libcurl4-gnutls-dev"
> I have to install pkg-config which remove build-essential again.
> 
> Maybe it's easier for me to switch to Wheezy and install the libbost
> package from Squeeze.

I would consider installing wheezy, you will get less headches and most 
recent packages. You can do a parallel install (or use a VM) and see how 
it goes.

> Or am I missing something?

I don't know if this can be done with a fine-grained pinning 
configuration, let's see what others suggest.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jkn29n$q88$1...@dough.gmane.org

Reply via email to