Bacula Postgres On CentOS 7

Submitted by gpmidi on Sat, 01/16/2021 - 16:53

Installing Bacula on CentOS 7 using the Community RPMs (from Bacula.org) for 9.6.7 and other versions is a bit annoying to get Postgres...

yum install bacula-postgresql --exclude=bacula-mysql --exclude=mariadb

Errors you might get otherwise...

Transaction check error:
  file /opt/bacula/lib64/libbaccats-9.6.7.so conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/lib64/libbacsd-9.6.7.so conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/bacula_config conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/baculabackupreport conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/create_bacula_database conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/drop_bacula_database conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/drop_bacula_tables conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/grant_bacula_privileges conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/make_bacula_tables conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/make_catalog_backup conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/make_catalog_backup.pl conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64
  file /opt/bacula/scripts/update_bacula_tables conflicts between attempted installs of bacula-postgresql-9.6.7-1.el7.x86_64 and bacula-mysql-9.6.7-1.el7.x86_64

That's from it trying to install bacula-postgres and bacula-mysql at the same time. 

Tags