[ILUG] apt-get: 'Build-dependencies for foo could not be
satisfied'
Justin Mason
jm at jmason.org
Thu Aug 3 14:39:16 IST 2006
Stephen Shirley writes:
> On 03/08/06, Justin Mason <jm at jmason.org> wrote:
> > The following packages have unmet dependencies:
> > libtheora-dev: Depends: libtheora0 (= 0.0.0.alpha5-0ubuntu2) but 1.0alpha3-0.0 is to be installed
> > E: Broken packages
>
> Try 'apt-cache show libtheora0'. See if version 1.0alpha3-0.0 is
> present in the output, it isn't here with a comparable setup. I'm
> suspecting that that version isn't actually being requested by your
> build-dep, but is a symptom of some past failed poking. I'm trying to
> remember how apt remembers that it wants to install version 1.0x. ISTR
> dpkg --get-selections/--set-selections is involved, but i'm not sure.
> See if the output of 'dpkg --get-selections | grep libtheora0' gives
> anything useful.
that's definitely it.
apt-cache show libtheora0
Package: libtheora0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 168
Maintainer: Christian Marillat <marillat at debian.org>
Architecture: i386
Source: libtheora
Version: 1.0alpha3-0.0
Depends: libc6 (>= 2.3.2.ds1-4), libogg0 (>= 1.1.0)
Description: The Theora Video Compression Codec
Ogg Theora.
Package: libtheora0
Priority: optional
Section: libs
Installed-Size: 172
Maintainer: Christopher L Cheney <ccheney at debian.org>
Architecture: i386
Source: libtheora
Version: 0.0.0.alpha5-0ubuntu2
Depends: libc6 (>= 2.3.4-1), libogg0 (>= 1.1.3)
Filename: pool/main/libt/libtheora/libtheora0_0.0.0.alpha5-0ubuntu2_i386.deb
Size: 60044
MD5sum: 7200f4ba10dca3731f89efadcd52012c
Description: The Theora Video Compression Codec
Ogg Theora
Bugs: mailto:ubuntu-users at lists.ubuntu.com
Origin: Ubuntu
Task: ubuntu-desktop, kubuntu-desktop, edubuntu-desktop, xubuntu-desktop
the old package is from the marillat repository, way back when. Clearly
there was some disagreement about its version number, and Christian
Marillat assiigned it a sensible-sounding 1.0alphaX -- but the Ubuntu
packagers later decided on a much lower version for their package.
I must have had the marillat apt repo in my sources.list at some stage.
sudo apt-get remove libtheora0 , then a sudo apt-get install of all the
packages that that removed, fixed it.
Thanks Stephen!
--j.
More information about the ILUG
mailing list