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

Re: Something like Pre-Depends for Suggests



Josselin Mouette <joss@debian.org> writes:

> Le mardi 20 octobre 2009 à 14:31 +0200, Vincent Danjean a écrit : 
>> Josselin Mouette wrote:
>> > A possible solution to this kind of issue is to create a package
>> > available-mysql-server, which Depends: mysql-server |
>> > dummy-mysql-server. The dummy-mysql-server could simply drop a note
>> > indicating that you need to configure the remote server. Not very simple
>> > for the user, Iâ??m afraid, but more reliable.
>> 
>> Why the available-mysql-server package ?
>> You should be able to directly depend on mysql-server | dummy-mysql-server
>
> Erm yes of course.
>
> BTW the dummy-mysql-server package could also propose to configure a
> global my.cnf corresponding to the said remote server, to ease the work
> of packages using dbconfig-common.

I would call it remote-mysql-server and have it ask for the hostname
of the server.

MfG
        Goswin


Reply to: