[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#137560: apt: build-deps not resolved



retitle 137560 [apt-get] build-dep cannot resolve conflicts between build dependencies (e.g., boot-floppies)
thanks

The problem seems to be that if the default choice of each OR expression in
boot-floppies' build-depends is chosen, the result is incompatible.
Specifically, it build-depends on:

slang1-pic | slang1-utf8-pic, libnewt-dev | libnewt-utf8-dev

However:

mizar:[...otmine/boot-floppies-3.0.23] sudo apt-get install slang1-pic libnewt-dev
Reading Package Lists... Done
Building Dependency Tree... Done
libnewt-dev 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:
  slang1-pic: Depends: slang1-dev (= 1.4.5-2.1) but it is not going to be installed
E: Broken packages
zsh: exit 100   sudo apt-get install slang1-pic libnewt-dev

libnewt-dev Depends on slang1-utf8-dev, which conflicts with slang1-dev
(depended upon by slang1-pic).  A simple workaround would be to change the
dependency to be:

slang1-utf8-pic | slang1-pic, libnewt-dev | libnewt-utf8-dev

(reverse the order of the first OR)

build-dep presumably could be made smart enough to detect this situation and
backtrack to find a better solution, but currently it selects the first
package that it finds to satisfy each dependency.

-- 
 - mdz



Reply to: