On Thu, May 17, 2001 at 10:18:13AM +0200, Adrian Bunk wrote: > > > # apt-get install xemacs21 xemacs21-bin xemacs21-nomule xemacs21-support > >... ^^^^^^^^^^^^^^^ > > I tell apt explicitely to install xemacs21-nomule and this should fulfill the > dependency above. More general: > > Package: a Depends: x | y | z > > > Then an > > apt-get install a z > > > wants to install package "x" additionally to "a" and "z".
I don't know if this is true or not, but it isn't implied by the example of xemacs21, where the situation is somewhat different: Package: xemacs21 Depends: xemacs21-mule Package: xemacs21-nomule Provides: xemacs21 The order in which the packages are specified makes a difference. If you apt-get install xemacs21 xemacs21-nomule, you get xemacs21-mule, while if you apt-get install xemacs21-nomule xemacs21, you don't (transcript below). If xemacs21 were a pure virtual package, I might agree with you, but since xemacs21 is a real package and you specifically asked to install it, I think that apt is doing the right thing by installing the real package. In fact, I might question the case where 'install xemacs21-nomule xemacs21' *doesn't* install xemacs21. mizar:/home/mdz# apt-get install xemacs21-nomule xemacs21 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libcompfaceg1 xemacs21-basesupport xemacs21-bin xemacs21-support The following NEW packages will be installed: libcompfaceg1 xemacs21 xemacs21-basesupport xemacs21-bin xemacs21-nomule xemacs21-support 0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 18.3MB of archives. After unpacking 52.9MB will be used. Do you want to continue? [Y/n] n Abort. mizar:/home/mdz# apt-get install xemacs21 xemacs21-nomule Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libcompfaceg1 xemacs21-basesupport xemacs21-bin xemacs21-mule xemacs21-mulesupport xemacs21-support The following NEW packages will be installed: libcompfaceg1 xemacs21 xemacs21-basesupport xemacs21-bin xemacs21-mule xemacs21-mulesupport xemacs21-nomule xemacs21-support 0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 23.0MB of archives. After unpacking 67.6MB will be used. Do you want to continue? [Y/n] n Abort. mizar:/home/mdz# -- - mdz

