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=.          
        dbc_upgrade=.                            
        dbc_remove=.       
        dbc_dbtype=.                                                          
        dbc_dbuser=10 bareos-database-common/db/app-user doesn't exist.         
 
        dbc_dbpass=.                                                           
        dbc_dballow=.                                                           
        dbc_dbadmin=.                                      
        dbc_dbadmpass=.
        dbc_dbserver=.                                                       
        dbc_dbport=.                             
        dbc_dbname=bareosdatabasecommon.                                 
        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.

Can someone help me?

Greetings, Jens

-- 
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