[csw-maintainers] Packages that require either package A or package B'

Peter FELECAN pfelecan at opencsw.org
Fri May 22 10:32:15 CEST 2009


Mike Watters <mwatters at opencsw.org> writes:

> Philip Brown wrote:
>> On Thu, May 21, 2009 at 12:56:35PM -0500, Mike Watters wrote:
>>>> 2. Depends on mail-server/Provides mail-server
>>>> 3. Depends on mysql|postgres
>>> This is one big thing the current Sun packages are really lacking
>>>
>> 
>> But how is that even processable?
>> 
>> if you apt-get [somepackage], and that package
>> "depends on mysql|postgres", and neither is installed...
>> What happens?
>> _______________________________________________
>
> If Neither is installed it errors out normally.
> if both are install it just installs.
>
> apt and yum do almost ZERO configuration for users.

They doesn't need to. The configuration is the realm of the package
based on system defaults/parameters. This is done in pre/post install
scripts. Of course, there are helpful mechanisms such as alternatives,
standard configurators, &c. Finally, there are policies enforced by
various tools. Speaking as someone that have done, professionally Debian
and RedHat packages.
-- 
Peter



More information about the maintainers mailing list