LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-16-2005, 03:21 PM   #1
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
MPlayer dependency packages


I am trying to meet all the dependencies for MPlayer on my machine and have run into some trouble. Upon trying to install the required packages, I get this error:

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:
aalib1-dev: Depends: libx11-dev but it is not going to be installed
libdirectfb-dev: Depends: libpng12-dev but it is not going to be installed
libfreetype6-dev: Depends: zlib1g-dev but it is not going to be installed or
libz-dev
libpng10-dev: Depends: zlib1g-dev but it is not going to be installed
libxt-dev: Depends: libx11-dev but it is not going to be installed
xlibmesa-glu-dev: Depends: xlibmesa-gl-dev but it is not going to be installed
or
libgl-dev


These can all be traced back to zlib1g-dev. When I try to `apt-get install zlib1g-dev`, I get:

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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zlib1g-dev: Depends: zlib1g (= 1:1.2.2-4) but 1:1.2.2-4.sarge.1 is to be insta
lled

Now it looks to me like these should be pretty much the same thing. Why is the sarge version different than the non-sarge version, since they have the same software version? I tried `apt-get remove zlib1g` to try to reinstall a different version, but apt didn't think that was such a good idea. I had to agree. Is this a debian package bug, or something I'm doing wrong?

A little info if it helps:
Kernel: 2.6.12 - custom kernel from kernel.org
Debian: Testing
Machine: AMD K7 700Mhz, Irongate chipset
I have run apt-get update and apt-get dist-upgrade just this morning and everything seemed to be okay.

Thanks!
 
Old 07-16-2005, 05:52 PM   #2
chrysanthemum
LQ Newbie
 
Registered: Jul 2005
Location: California, USA
Distribution: Debian Sid
Posts: 10

Rep: Reputation: 0
Can you post your apt sources.list? I tried installing mplayer from the testing repository and had no problems finding everything.
The main part of my sources.list looks like this, (I use apt pinning)
Code:
#Stable
deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US/ stable/non-US main contrib non-free

#Stable Security
deb http://security.debian.org/ stable/updates main contrib non-free

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

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

#Unstable
deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb http://ftp.us.debian.org/debian/ unstable main non-free contrib

# Goodies
# deb ftp://ftp.mowgli.ch/pub/debian/ sid unofficial
deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb-src ftp://ftp.nerim.net/debian-marillat/ sid main
 
Old 07-16-2005, 07:22 PM   #3
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 16
This is my sources.list:

Code:
deb ftp://linux.csua.berkeley.edu/debian/ testing main non-free contrib
deb-src ftp://linux.csua.berkeley.edu/debian/ testing main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
I have heard that Debian is currently in the process of releasing a new sarge which would break some libraries, so this may be related to the problem. I don't mind upgrading to unstable, but it's pretty hard to reverse, so I'd like to exhaust my options on 'testing' first.

I never looked into apt-pinning much. It seems like it would be ridden with dependency issues to me... is it more of a hassle for you than it's worth, or do you like it? Thanks for your help!
 
Old 07-16-2005, 10:41 PM   #4
chrysanthemum
LQ Newbie
 
Registered: Jul 2005
Location: California, USA
Distribution: Debian Sid
Posts: 10

Rep: Reputation: 0
Its useful to me, because it only installs the libs it needs, and it will be turned into testing anyway.

As for the sources, try adding:
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb ftp://ftp.nerim.net/debian-marillat/ etch main
deb-src ftp://ftp.nerim.net/debian-marillat/ etch main
 
Old 07-17-2005, 12:35 AM   #5
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 16
I'm glad that you mentioned pinning. I was able to fix my problem by putting the following in my preferences file:

Package: zlib1g
Pin: version 1:1.2.2-4
Pin-Priority: 1001

This forced apt to downgrade the package to the version that was compatible with the others.

After the downgrade, I changed the preferences to read:

Package: zlib1g
Pin: version 1:1.2.2-4.sarge.1
Pin-Priority: -1

so that apt will not try to upgrade zlib1g and break the dependencies.

Thanks for the help!
 
Old 09-08-2005, 11:07 PM   #6
shogun1234
Member
 
Registered: May 2004
Posts: 167

Rep: Reputation: 15
Quote:
Originally posted by kdogksu
I'm glad that you mentioned pinning. I was able to fix my problem by putting the following in my preferences file:

Package: zlib1g
Pin: version 1:1.2.2-4
Pin-Priority: 1001

This forced apt to downgrade the package to the version that was compatible with the others.

After the downgrade, I changed the preferences to read:

Package: zlib1g
Pin: version 1:1.2.2-4.sarge.1
Pin-Priority: -1

so that apt will not try to upgrade zlib1g and break the dependencies.

Thanks for the help!
Hi,
Lately I enocunter a similar problem.
First, I use
Code:
 
apt-get update; apt-get dist-update
all pakcage from stable to testing immediately after desktop env installed.

But sooner I found out a problem about dependency when install mplayer.

Then i follow this thread trying to downgrade the package zlib1g, but fail.

The way i use in order to downgrade zlib1g back to stable is by editing file located in /etc/apt/preferences with content as written above
Code:
Package: zlib1g
Pin: version 1:1.2.2-4
Pin-Priority: 1001
Then trying to apt-get install again necessary packages for mplayer, but it seems apt-get do not read perences.

What should i do?? (or what extra command i need to type to get it work correctly? )

I appreciate any suggestion, sincerely.
 
Old 09-15-2005, 12:38 PM   #7
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 16
It isn't immediately obvious to me what your problem is. Could you post a little more information? What's in your /etc/apt/sources.list? Where are you trying to get mplayer from? What errors do you get when trying to install mplayer?

My only thought so far is that you may have to specify pins that apply to other packages. My /etc/apt/preferences reads as follows:

Package: zlib1g
Pin: version 1:1.2.2-4.sarge.1
Pin-Priority: -1

Package: *
Pin: release a=stable
Pin-Priority: 650

Package: *
Pin: release a=testing
Pin-Priority: 700

Package: *
Pin: release a=unstable
Pin-Priority: 600

This is probably not what's causing the problem, but might contribute.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New mplayer dependency question Iacchus Linux - General 1 05-18-2004 03:00 AM
Mplayer - Which packages to download? madlinux VectorLinux 5 02-09-2004 04:40 PM
Mplayer dependency hell! Forezt Linux - Software 1 02-07-2004 09:46 AM
Dependency problem - I have the packages, but they're too new! halfhaggis Linux - Newbie 8 10-04-2003 09:35 AM
mplayer rpm packages problem dark_light Linux - General 1 03-31-2003 01:43 PM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration