we have a Bareos server (non-UCS) in our network. I was able to install the bareos client to a bunch of systems, however I fail to install the client via the UCS app center or the command line of the AD server (version 4.4.7). I do not want to install the bareos server (storage, director) to the UCS itself.
Aditional to that: do you have any recommendation (directories) to backup? The functions this UCS are: AD (user, groups), LDAP, Certificates, DNS.
into the currently installed master version -> maintained/component -> latest version.
From this, the values for the repo settings can be determined.
Software -> Repository settings -> New:
Name of the component: bareos_20200122130204 (version number changes).
Description: Bareos Backup Client
Repository server: appcenter.software-univention.de
Version: current
I found this approach already. However, I got and still get with your settings dependency errors. I discarded this way, since I thought this might be not the right way:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
bareos-client : Depends: bareos-bconsole (>= 19.2.7-2) but it is not going to be installed
bareos-filedaemon : Depends: bareos-common (= 19.2.7-2) but it is not going to be installed
bareos-traymonitor : Depends: bareos-common (= 19.2.7-2) but it is not going to be installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.7.1+dfsg-3+deb9u3 is to be installed
E: Unable to correct problems, you have held broken packages.
If I add bareos-bconsole and bareos-common to the installation command (and remove the traymonitor), I end up with this:
The following packages have unmet dependencies:
bareos-common : Depends: libc6 (>= 2.27)
But the installed version is lower:
dennis@ucs01:~$ dpkg -l | grep libc6
ii libc6:amd64 2.24-11+deb9u4 amd64 GNU C Library: Shared libraries
dennis@ucs01:~$ dpkg -l | grep bareos
dennis@ucs01:~$ sudo univention-install bareos-client bareos-filedaemon
Hit:1 http://download.bareos.org/bareos/release/latest/xUbuntu_18.04 InRelease
Ign:2 http://appcenter.software-univention.de/univention-repository/4.4/maintained/component bareos_20200122130204/all/ InRelease
Ign:3 http://appcenter.software-univention.de/univention-repository/4.4/maintained/component bareos_20200122130204/amd64/ InRelease
Hit:4 http://appcenter.software-univention.de/univention-repository/4.4/maintained/component bareos_20200122130204/all/ Release
Hit:5 http://appcenter.software-univention.de/univention-repository/4.4/maintained/component bareos_20200122130204/amd64/ Release
(truncated older repo sources)
Hit:165 https://updates.software-univention.de/4.4/maintained 4.4-7/all/ Release
Hit:166 https://updates.software-univention.de/4.4/maintained 4.4-7/amd64/ Release
Hit:168 https://updates.software-univention.de/4.4/maintained/component 4.4-7-errata/all/ Release
Hit:169 https://updates.software-univention.de/4.4/maintained/component 4.4-7-errata/amd64/ Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
bareos-client : Depends: bareos-bconsole (>= 19.2.7-2) but it is not going to be installed
bareos-filedaemon : Depends: bareos-common (= 19.2.7-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
By the way: I recently removed all the old repos in the web interface, but they are still used… may it be a problem with the first entry? But in the web interface they do not appear:
I digged into your history and could find a statement that these long lists of erratas are needed :-/
However, I run sudo univention-config-registry commit . After that, I was able to install bareos via sudo univention-install bareos-client bareos-filedaemon
And one last hint for bareos-client: if the director cannot access the bareos-client on the UCS even one double checked the credentials: run sudo service univention-firewall restart to apply the firewall rules within the installation.
My first backup of UCS run a couple of minutes ago