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

Bug#96971: "apt-get build-dep:" doesn't handle the case correctly when you can't fulfill the build dependencies



Package: apt
Version: 0.5.3
Severity: normal


A note to understand the example below:
libgnome-dev depends on libdb3-dev
libdb3-dev conflicts with libdb2-dev


The package gaby has the following build dependencies:

Package: gaby
...
Build-Depends: libgnome-dev, libdb2-dev, python-dev, cygnus-stylesheets, gettext, python-gtk, debhelper



# apt-get build-dep gnome-gv
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  libdb3-dev libgnome-dev libgnorba-dev 
The following NEW packages will be installed:
  libdb2-dev 
0 packages upgraded, 1 newly installed, 3 to remove and 12  not upgraded.
Need to get 190kB of archives. After unpacking 2616kB will be freed.
Do you want to continue? [Y/n] 


That means apt wants to remove libgnome-dev although it's listed in the
build dependencies. Instead, it should quit with an error message.


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux r063144.stusta.swh.mhn.de 2.4.4-ac6 #1 Wed May 9 10:26:14 CEST 2001 i586

Versions of packages apt depends on:
ii  libc6                  2.2.3-1           GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2 1:2.95.4-0.010506 The GNU stdc++ library            




Reply to: