Public bug reported:

I'm trying to install the build-depends for the audacity project on
Ubuntu Hardy Heron, and I get:

[~]$ sudo apt-get build-dep audacity
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Build-dependencies for audacity could not be satisfied.

Shouldn't more information be provided about *why* the dependencies
cannot be satisified, so that the problem can be diagnosed easily? There
doesn't seem to be a verbose or debug mode for apt-get to return this
information.

You can run 'apt-cache showsrc audacity' to look at the build depends
and run an apt-install with those dependencies to find:

[~]$ apt-cache showsrc audacity
....
Build-Depends: cdbs (>= 0.4.4), debhelper (>= 5.0.0), gettext, libasound2-dev 
[!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libexpat1-dev, libflac++-dev, 
libgtk2.0-dev, libid3tag0-dev, libjack-dev, libmad0-dev, libogg-dev (>= 
1.0.0-1), libsamplerate0-dev, libsndfile1-dev, libsoundtouch1-dev, 
libvorbis-dev (>= 1.0.0-3), libwxgtk2.6-dev, zip
....

[~]$ sudo apt-get install cdbs debhelper gettext libasound2-dev libexpat1-dev 
libflac++-dev libgtk2.0-dev libid3tag0-dev libjack-dev libmad0-dev libogg-dev  
libsamplerate0-dev libsndfile1-dev libsoundtouch1-dev libvorbis-dev 
libwxgtk2.6-dev zip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
debhelper is already the newest version.
gettext is already the newest version.
gettext set to manually installed.
libexpat1-dev is already the newest version.
zip is already the newest version.
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:
  libasound2-dev: Depends: libasound2 (= 1.0.15-3ubuntu4) but 1.0.16-0ubuntu0.1 
is to be installed
E: Broken packages


Couldn't apt-get have just reported this in the first place when I asked it to 
get the build-depends. Why did I have to manually copy the build-depends 
packages into an apt-get install line to find this out.

*** Note that this bug is not about the problem with libasound2 also
shown above (which probably is and may already be listed as a bug), but
the problem with apt-get build-deps not giving sufficient information to
diagnose a package conflict when it arises. ***

** Affects: apt (Ubuntu)
     Importance: Wishlist
         Status: New

-- 
apt-get doesn't say why build-dependencies cannot be satisfied
https://bugs.launchpad.net/bugs/245068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to