On 18.01.2018 at 08:00 wrote Jens Grüntjes:
> Hi all,
> 
> I have a problem during the upgrade on a Debian Stretch system.
> 
> The upgrade fails like this:
> 
> Reading package lists... Done                              
> Building dependency tree                              
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
> 4 not fully installed or removed.          
> After this operation, 0 B of additional disk space will be used.
> Setting up bareos-database-common (17.2.4-9.1) ...         
> (config) dbc_go() bareos-database-common configure 2004.
> dbc_config() bareos-database-common configure 2004.
> dbc_set_dbtype_defaults() .                         
> dbc_detect_installed_dbtype() pgsql.       
> _dbc_detect_installed_dbtype() pgsql.    
> dbc_register_debconf() .
> dbconfig-common not yet setup, deferring configuration..
> (postinst) dbc_go() bareos-database-common configure 2004.
> dbc_config() bareos-database-common configure 2004.
> dbc_set_dbtype_defaults() .                            
> dbc_read_package_debconf() .
> dbc_set_dbtype_defaults() .
> settings determined from dbc_read_package_debconf:.
>         dbc_install=.          

are that really dots and nothing else after the "="?

>         dbc_upgrade=.                            
>         dbc_remove=.       
>         dbc_dbtype=.                                                          
>         dbc_dbuser=10 bareos-database-common/db/app-user doesn't exist.   

as you said, this looks terribly wrong.

>         dbc_dbpass=.                                                          
>  
>         dbc_dballow=.                                                         
>   
>         dbc_dbadmin=.                                      
>         dbc_dbadmpass=.
>         dbc_dbserver=.                                                       
>         dbc_dbport=.                             
>         dbc_dbname=bareosdatabasecommon.   

this is also wrong.

>         dbc_authmethod_admin=.                                            
>         dbc_authmethod_user=.                              
>         dbc_ssl=.                                         
> dbc_write_package_config() .                              
> dbconfig-common: writing config to 
> /etc/dbconfig-common/bareos-database-common.conf
> dbc_read_package_config() .                                            
> dbc_postinst_cleanup() .                         
> dbc_forget_dbadmin_password() .                                 
> dbconfig-common: flushing administrative password         
> dbc_forget_app_password() .                         
> dpkg: error processing package bareos-database-common (--configure):
>  subprocess installed post-installation script returned error exit status 10
> dpkg: dependency problems prevent configuration of bareos-database-tools:
>  bareos-database-tools depends on bareos-database-common (= 17.2.4-9.1); 
> however:
>   Package bareos-database-common is not configured yet.
>                       
> dpkg: error processing package bareos-database-tools (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of bareos-director:
>  bareos-director depends on bareos-database-common (= 17.2.4-9.1); however:
>   Package bareos-database-common is not configured yet.                   
>  bareos-director depends on bareos-database-tools; however:
>   Package bareos-database-tools is not configured yet.
>                                  
> dpkg: error processing package bareos-director (--configure):  
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of bareos:      
>  bareos depends on bareos-director (= 17.2.4-9.1); however:
>   Package bareos-director is not configured yet.        
>                                                    
> dpkg: error processing package bareos (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  bareos-database-common 
>  bareos-database-tools                                  
>  bareos-director                                          
>  bareos                                            
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> I guess the problem is in the line "dbc_dbuser=10 
> bareos-database-common/db/app-user doesn't exist." Obviously the user nae is 
> wrong. I tried to change the value in the file 
> /etc/dbconfig-common/bareos-database-common.conf but this had no effect.

What else have you done after changing the file? Have you called "dpkg
--configure" or something there like?

Please provide your /etc/dbconfig-common/bareos-database-common.conf.
>From what I see, this all looks fishy.

Have you modified it in before the update?

regards,
Jörg

-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to