Re: Something like Pre-Depends for Suggests

2009-10-22 Thread Goswin von Brederlow
Josselin Mouette 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-serv

Re: Something like Pre-Depends for Suggests

2009-10-20 Thread Josselin Mouette
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 > > ind

Re: Something like Pre-Depends for Suggests

2009-10-20 Thread Vincent Danjean
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 t

Re: Something like Pre-Depends for Suggests

2009-10-20 Thread Michal Čihař
Hi Dne Tue, 20 Oct 2009 08:30:05 +0200 Tollef Fog Heen napsal(a): > Get dbconfig-common fixed to allow you to configure a database that's > not yet set up. I guess you can do this by asking the questions, then > having a trigger fire when the database is configured? This probably would not all

Re: Something like Pre-Depends for Suggests

2009-10-20 Thread Michal Čihař
Hi Dne Mon, 19 Oct 2009 17:09:17 +0200 Josselin Mouette napsal(a): > Pre-Depends would certainly not solve the issue. Actually, a simple > Depends would be enough, since the server would be started by > mysql-server.postinst, always executed before phpmyadmin.postinst. > > Furthermore, it is a

Re: Something like Pre-Depends for Suggests

2009-10-19 Thread Tollef Fog Heen
]] Michal Čihař | Any suggestions how to solve this problem? Get dbconfig-common fixed to allow you to configure a database that's not yet set up. I guess you can do this by asking the questions, then having a trigger fire when the database is configured? -- Tollef Fog Heen UNIX is user frien

Re: Something like Pre-Depends for Suggests

2009-10-19 Thread Josselin Mouette
Le lundi 19 octobre 2009 à 16:37 +0200, Michal Čihař a écrit : > I think this problem is common to more packages, but I hit this at > phpMyAdmin. The problem is that it Suggests mysql-server because it can > also work with remote server. In the same time it uses dbconfig-common > to configure the

Re: Something like Pre-Depends for Suggests

2009-10-19 Thread Mike Hommey
On Mon, Oct 19, 2009 at 04:37:03PM +0200, Michal Čihař wrote: > Hi > > I think this problem is common to more packages, but I hit this at > phpMyAdmin. The problem is that it Suggests mysql-server because it can > also work with remote server. In the same time it uses dbconfig-common > to configur