The .rpm for 9.4.2 cannot be installed because of

    "conflicts between attempted installs of bacula-postgresql-9.4.2-1.el7.x86_64 and bacula-mysql-9.4.2-1.el7.x86_64"

I followed the instructions in https://blog.bacula.org/whitepapers/CommunityInstallationGuide.pdf

The console output is below:

# cat /etc/redhat-release
    CentOS Linux release 7.5.1804 (Core)

# uname -a
    Linux zukini 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

# wget https://www.bacula.org/downloads/Bacula-4096-Distribution-Verification-key.asc
    ...

# rpm --import Bacula-4096-Distribution-Verification-key.asc

# rm Bacula-4096-Distribution-Verification-key.asc

# mcedit /etc/yum.repos.d/Bacula.repo

    (edited as described in https://blog.bacula.org/whitepapers/CommunityInstallationGuide.pdf)

# yum install bacula-postgresql

   Loaded plugins: fastestmirror, langpacks
   Loading mirror speeds from cached hostfile
   epel/x86_64/metalink | 29 kB 00:00:00
   * base: mirror.init7.net
   * elrepo: mirrors.coreix.net
   * epel: mirror.init7.net
   * extras: ftp.rz.uni-frankfurt.de
   * updates: mirror.init7.net
   Bacula-Community | 2.9 kB 00:00:00
   base | 3.6 kB 00:00:00
   cuda-10-0-local-10.0.130-410.48 | 2.5 kB 00:00:00
   elrepo | 2.9 kB 00:00:00
   extras | 3.4 kB 00:00:00
   pgdg96 | 4.1 kB 00:00:00
   updates | 3.4 kB 00:00:00
   Bacula-Community/primary_db | 10 kB 00:00:00
   Resolving Dependencies
   --> Running transaction check
   ---> Package bacula-postgresql.x86_64 0:9.4.2-1.el7 will be installed
   --> Processing Dependency: bacula-libs for package:
   bacula-postgresql-9.4.2-1.el7.x86_64
   --> Processing Dependency: perl(Logwatch) for package:
   bacula-postgresql-9.4.2-1.el7.x86_64
   --> Processing Dependency: libbacfind-9.4.2.so()(64bit) for package:
   bacula-postgresql-9.4.2-1.el7.x86_64
   --> Processing Dependency: libbac-9.4.2.so()(64bit) for package:
   bacula-postgresql-9.4.2-1.el7.x86_64
   --> Processing Dependency: libbaccfg-9.4.2.so()(64bit) for package:
   bacula-postgresql-9.4.2-1.el7.x86_64
   --> Running transaction check
   ---> Package bacula-libs.x86_64 0:9.4.2-1.el7 will be installed
   ---> Package bacula-mysql.x86_64 0:9.4.2-1.el7 will be installed
   --> Processing Dependency: mysql for package:
   bacula-mysql-9.4.2-1.el7.x86_64
   --> Running transaction check
   ---> Package mariadb.x86_64 1:5.5.60-1.el7_5 will be installed
   --> Finished Dependency Resolution
   --> Finding unneeded leftover dependencies
   Found and removing 0 unneeded dependencies

   Dependencies Resolved

   
================================================================================================================================================
   Package Arch Version Repository Size
   
================================================================================================================================================
   Installing:
   bacula-postgresql x86_64 9.4.2-1.el7 Bacula-Community 2.9 M
   Installing for dependencies:
   bacula-libs x86_64 9.4.2-1.el7 Bacula-Community 752 k
   bacula-mysql x86_64 9.4.2-1.el7 Bacula-Community 2.9 M
   mariadb x86_64 1:5.5.60-1.el7_5 base 8.9 M

   Transaction Summary
   
================================================================================================================================================
   Install 1 Package (+3 Dependent packages)

   Total download size: 15 M
   Installed size: 73 M
   Is this ok [y/d/N]: y
   Downloading packages:
   (1/4): bacula-libs-9.4.2-1.el7.x86_64.rpm | 752 kB 00:00:00
   (2/4): bacula-mysql-9.4.2-1.el7.x86_64.rpm | 2.9 MB 00:00:01
   (3/4): mariadb-5.5.60-1.el7_5.x86_64.rpm | 8.9 MB 00:00:01
   (4/4): bacula-postgresql-9.4.2-1.el7.x86_64.rpm | 2.9 MB 00:00:01
   
------------------------------------------------------------------------------------------------------------------------------------------------
   Total 7.4 MB/s | 15 MB 00:00:02
   Running transaction check
   Running transaction test


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

   Error Summary
   -------------


Would someone know a solution? I'm familiar with .deb packages, but not with .rpm, so I don't know how to remove this seemingly erroneous dependency on mysql/mariadb.


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to