[Pkg-bareos-devel] Bug#771870: Bug#771870: bareos-database-common: fails to install: bareos-database-common.config: /usr/sbin/bareos-dbcheck: not found

Evgeni Golov evgeni at golov.de
Fri Dec 5 08:58:29 UTC 2014


On 12/05/2014 09:36 AM, Evgeni Golov wrote:
> Hi Joerg,
> 
> On 12/04/2014 03:10 PM, Jörg Steffens wrote:
>> while the missing dependency is certainly a problem, I don't think the
>> missing bareos-dbcheck causes the problem here.
>>
>> I guess it is related to another problem. This have been fixed in master
>> and today also published to bareos-14.2 and bareos-14.2-debian:
>>
>> https://github.com/bareos/bareos/commit/2abb036aced9eba36a4b7e3aa942028caa77156e
> 
> This sadly does not fix the problem.
> The install still will fail with DEBIAN_FRONTEND=noninteractive,
> probably because it tries to configure the database with
> dbconfig-common, but there is no database available.

dbc_get_admin_pass() .
+ printf dbc_get_admin_pass() .\n
+ db_fget bareos-database-common//admin-pass seen
+ _db_cmd FGET bareos-database-common//admin-pass seen
+ _db_internal_IFS= 	

+ IFS=
+ printf %s\n FGET bareos-database-common//admin-pass seen
+ IFS= 	

+ IFS=
 read -r _db_internal_line
+ RET=10 bareos-database-common//admin-pass doesn't exist
+ return 10
dpkg: error processing package bareos-database-common (--configure):

The funny part is: there is no database at all, so dbconfig-common
should have just silently died in a corner. Chasing this now.

Greets
Evgeni



More information about the Pkg-bareos-devel mailing list