Am Mittwoch, den 06.12.2006, 08:18 -0500 schrieb Thomas Dickey:
> But gnome-terminal in turn depends on libraries which are not part of
> xorg, so it would be unsuitable as a dependency.  

Yes, sure. Sorry, I think my bug report was misleading. Of course
aptitude should not install any random alternative package providing
'x-terminal-emulator' instead of 'xterm'. BUT aptitude should recognize
that another package which I explicitely wish to be installed already
satisfies this dependency. 

And aptitude can recognize this:

'aptitude install gnome-desktop-environment xorg' installs 545 new
packages, while 'aptitude install xorg gnome-desktop-environment'
installs 547 new packages. The two additional packages are 'xterm' and
its dependency 'xbitmaps'. 

So in the first case aptitude recognizes that xorg's dependency on
'xterm | x-terminal-emulator' is already satisfied by another package
(in this case: its dependency 'gnome-terminal') and does not install
'xterm' additionally.

> (rxvt might, kterm
> might, none of the other x-terminal-emulators that come to mind would
> be suitable).

Let's stay with your examples:

'aptitude install rxvt xorg' installs 125 packages, while
'aptitude install xorg rxvt' installs 127 packages. The two additional
packages are 'xterm' and 'xbitmaps'.

'aptitude install kterm xorg' installs 128 packages, while
'aptitude install xorg kterm' installs 130 packages. Again the two
additional packages are 'xterm' and 'xbitmaps'.

So xorg's dependency 'xterm | x-terminal-emulator' is somehow double
satisfied if the package providing 'x-terminal-emulator' appears behind
'xorg' in the command line.

I consider this a bug!

Aptitude should install only the required number of dependencies
independent of the order in which packages are typed on the command
line.

Thank you!

Cheers,
Fabian





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to