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

Bug#172901: apt: complex dependencies with | not handled properly



Package: apt
Version: 0.5.4.0.1
Severity: normal

hurd:/usr/src# apt-get build-dep xpdf
Reading Package Lists... Done
Building Dependency Tree... Done
Package libmotif-dev has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
However the following packages replace it:
  lesstif2-dev lesstif-dev 
The following packages will be REMOVED:
  libttf-dev 
The following NEW packages will be installed:
  lesstif2-dev 
0 packages upgraded, 1 newly installed, 1 to remove and 1  not upgraded.
E: Package libmotif-dev has no installation candidate
E: Failed to process build dependencies

------xpdf_2.01-1.dsc contains:
Format: 1.0
Source: xpdf
Version: 2.01-1
Binary: xpdf-common, xpdf, xpdf-utils, xpdf-reader
Maintainer: Hamish Moffatt <hamish@debian.org>
Architecture: any
Standards-Version: 3.5.8
Build-Depends: t1lib-dev, xlibs-dev, lesstif2-dev | libmotif-dev, debhelper, lib
freetype6-dev (>= 2.1.2-1), libpaperg-dev
Build-Depends-Indep: debhelper
Build-Conflicts: libttf-dev
------

Note that I do have lesstif2-dev  and installing it does not solve the problem:
The following NEW packages will be installed:
  lesstif2-dev 
0 packages upgraded, 1 newly installed, 0 to remove and 1  not upgraded.
Need to get 0B/873kB of archives. After unpacking 3133kB will be used.
Selecting previously deselected package lesstif2-dev.
(Reading database ... 28513 files and directories currently installed.)
Unpacking lesstif2-dev (from .../lesstif2-dev_1%3a0.93.36-5_hurd-i386.deb) ...
Setting up lesstif2-dev (0.93.36-5) ...
hurd:~# apt-get build-dep xpdf
Reading Package Lists... Done
Building Dependency Tree... Done
Package libmotif-dev has no available version, but exists in the database.
This typically means that the package was mentioned in a dependensources.list
However the following packages replace it:
  lesstif2-dev lesstif-dev 
The following packages will be REMOVED:
  libttf-dev 
0 packages upgraded, 0 newly installed, 1 to remove and 1  not upgraded.
E: Package libmotif-dev has no installation candidate
E: Failed to process build dependencies


-- System Information
Debian Release: testing/unstable
Kernel Version: GNU hurd 0.3 GNUmach-1.90/Hurd-0.3 i686-AT386 unknown unknown GNU

Versions of the packages apt depends on:
ii  libc0.3        2.3.1-5        GNU C Library: Shared libraries and Timezone
ii  libgcc1        3.2.1-0pre5    GCC support library.
ii  libstdc++5     3.2.1-0pre5    The GNU stdc++ library version 3



Reply to: