Package: apt Version: 0.5.4 Severity: wishlist Hi,
I have a small script that outputs the build-depends of a package currently built: |[38/[EMAIL PROTECTED]:~/debian/exim$ ~/aptbuilddep | libpcre3-dev libldap2-dev libpam0g-dev libident-dev libwrap0-dev libdb2-dev xlibs-dev libxaw-dev libperl-dev It is intended to be used like this: |[34/[EMAIL PROTECTED]:~/debian/exim$ ~/aptbuilddep | xargs sudo apt-get install |Reading Package Lists... |Building Dependency Tree... |Package libxaw-dev is a virtual package provided by: | libxaw7-dev 4.1.0-16 | libxaw6-dev 4.1.0-16 |You should explicitly select one to install. |E: Package libxaw-dev has no installation candidate Please notice that this is differnent from apt-get build-depends as it works as well if the package in question is not in the aptable archive. The example given above shows a problem - libxaw7 is a virtual package. It would be nice and easy if it would be possible to just specify the "real" package as an addition to the command line. This does not work because apt-get is processing its arguments from left to right, bombing out again on the virtual package even if the solution to the problem is given on the very same command line: |[37/[EMAIL PROTECTED]:~/debian/exim$ ~/aptbuilddep | xargs --verbose sudo apt-get install libxaw7-dev |sudo apt-get install libxaw7-dev libpcre3-dev libldap2-dev libpam0g-dev libident-dev libwrap0-dev libdb2-dev xlibs-dev libxaw-dev libperl-dev |Reading Package Lists... |Building Dependency Tree... |Package libxaw-dev is a virtual package provided by: | libxaw7-dev 4.1.0-16 | libxaw6-dev 4.1.0-16 |You should explicitly select one to install. |E: Package libxaw-dev has no installation candidate |[38/[EMAIL PROTECTED]:~/debian/exim$ It would be nice if apt-get would be able to resolve this in a smarter way. Thanks for considering this. Greetings Marc -- System Information Debian Release: testing/unstable Architecture: i386 Kernel: Linux paola 2.4.19-paola #1 Wed Aug 7 08:54:32 UTC 2002 i686 Locale: LANG=C, LC_CTYPE=de_DE Versions of packages apt depends on: ii libc6 2.2.5-10 GNU C Library: Shared libraries an ii libstdc++2.10-glibc2.2 1:2.95.4-10 The GNU stdc++ library

