Re: Upload GNU Health 2.0 to experimental
Hi Emilien,
On Sun, Sep 15, 2013 at 11:32:14PM +0200, Emilien Klein wrote:
> OK, I've finally found what the issue was with GNU Health, and I believe
> I've fixed it.
Great! Thanks for working on this.
> Can you please upload the newest package (in svn [0]) to experimental to be
> able to test installing from a repo, pulling in all the dependencies
> (that's where the issue was, see below for more explanation)
Package just uploaded to experimental.
> Since gnuhealth-server is using dbconfig-common to configure the database,
> it needs postgres configured and running. On my development box, that was
> the case (since dpkg -i doesn't pull in the dependencies, I had always
> installed those manually beforehand). But when installing on a system that
> doesn't have postgres installed, the incorrect order results in gnuhealth
> not being configured properly.
>
> I had wrongly assume that tryton-server would depend on postgres. But since
> that package requires manual configuration from it's user, they're actually
> fine with only suggesting it (when installing with apt-get/aptitude, by
> default the dependencies are pulled in), so for most users of the
> tryton-server package, suggesting has virtually the same end effect as
> depending:
> postgres will be configured on the system before the user hand-edits the
> configuration files.
>
> But since with GNU Health, we try to automate the whole process, we
> actually need postgres to be configured before gnuhealth-server itself gets
> configured. I have thus made the gnuhealth-server package depend on
> postgres.
Sounds logical.
> After you upload the new 2.0.0-2 package to experimental, I'll first purge
> all tryton and postgres packages before installing gnuhealth-server. This
> time, postgres should get configured before gnuhealth-server, and all
> should be fine!
OK.
> Please upload the new version to experimental.
Done as said above.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: