[Debian-med-packaging] Bug#739657: gnuhealth-server: fails to install: gnuhealth-server.postinst: sudo: not found
Andreas Tille
tille at debian.org
Fri Feb 21 08:12:32 UTC 2014
Hi Emilien,
looking at the gnuhealth-server.*inst files I guess you mean su instead
of sudo. You are just root and want to execute the command as
dbc_dbuser, right?
Kind regards
Andreas.
On Fri, Feb 21, 2014 at 02:13:54AM +0100, Andreas Beckmann wrote:
> Package: gnuhealth-server
> Version: 2.4.1-1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
>
> Hi,
>
> during a test with piuparts I noticed your package failed to install. As
> per definition of the release team this makes the package too buggy for
> a release, thus the severity.
>
> >From the attached log (scroll to the bottom...):
>
> Selecting previously unselected package gnuhealth-server.
> (Reading database ... 12363 files and directories currently installed.)
> Preparing to unpack .../gnuhealth-server_2.4.1-1_all.deb ...
> Unpacking gnuhealth-server (2.4.1-1) ...
> Setting up gnuhealth-server (2.4.1-1) ...
> dbconfig-common: writing config to /etc/dbconfig-common/gnuhealth-server.conf
>
> Creating config file /etc/dbconfig-common/gnuhealth-server.conf with new version
> creating postgres user gnuhealth: success.
> verifying creation of user: success.
> creating database gnuhealth: success.
> verifying database gnuhealth exists: success.
> populating database via scriptfile... error encountered populating database:
> /usr/share/dbconfig-common/scripts/gnuhealth-server/install/pgsql exited with non-zero status
> dbconfig-common: gnuhealth-server configure: noninteractive fail.
> dbconfig-common: gnuhealth-server configure: ignoring errors from here forwards
> done.
> dbconfig-common: flushing administrative password
> Updating the 'gnuhealth' database
> /var/lib/dpkg/info/gnuhealth-server.postinst: 59: /var/lib/dpkg/info/gnuhealth-server.postinst: sudo: not found
> dpkg: error processing package gnuhealth-server (--configure):
> subprocess installed post-installation script returned error exit status 127
> Errors were encountered while processing:
> gnuhealth-server
>
>
> cheers,
>
> Andreas
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list