Installation of Bareos Filedaemon on Raspberry PI4

261 views
Skip to first unread message

stefan.harb...@gmail.com

unread,
Dec 10, 2021, 11:28:46 AM12/10/21
to bareos-users
Hi there,
I'm trying to install the latest Bareos-FD version on my Raspberry PI4. Unfortunately, I only see version 16.2.6-5 for installation:
...
root@pime01:~# dpkg -l bareos-filedaemon
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name              Version      Architektur  Beschreibung
+++-=================-============-============-====================================================
ii  bareos-filedaemon 16.2.6-5     armhf        Backup Archiving Recovery Open Sourced - file daemon
...
I have created the following package list for Bareos.
...
root@pime01:~# cat /etc/apt/sources.list.d/bareos.list
deb https://download.bareos.org/bareos/release/20/Debian_10 /
....
Why am I not being offered the current version for installation?
The following operating system runs on my Raspberry PI4:
...
root@pime01:~# lsb_release -a
No LSB modules are available.
Distributor ID:        Raspbian
Description:        Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:        buster
...
I would be happy to receive a tip on how to install the latest version
Greetings from Stefan Harbich



Andreas Haase

unread,
Dec 10, 2021, 1:30:31 PM12/10/21
to stefan.harb...@gmail.com, bareos-users
Hello,


Am 10.12.2021 um 17:28 schrieb stefan.harb...@gmail.com <stefan.harb...@gmail.com>:

Why am I not being offered the current version for installation?

You used the correct bareos.list, but the repo does not contain prebuilt packages for the armhf architecture of your Raspberry. If you want to use newer version, you can build the packages yourself using the most recent version published on Github.

Regards,
Andreas

stefan.harb...@gmail.com

unread,
Dec 12, 2021, 6:46:45 AM12/12/21
to bareos-users
Hi,

i'm trying to build the package as follows:
...
sudo apt install build-essential cmake libreadline-dev libssl-dev liblzo2-dev libacl1-dev
cd bareos
mkdir build
cd build
cmake -Dclient-only=yes -Dconfdir=/etc/bareos ../
...
The building process aborts with an error message.
I am attaching the log file with the error message.
Do you have a tip where to look for the error?
CMakeError.log

Andreas Haase

unread,
Dec 12, 2021, 2:55:03 PM12/12/21
to stefan.harb...@gmail.com, bareos-users
Hello,


Am 12.12.2021 um 12:46 schrieb stefan.harb...@gmail.com <stefan.harb...@gmail.com>:

The building process aborts with an error message. 
I am attaching the log file with the error message.
Do you have a tip where to look for the error?

According to the log you are missing plenty of dev packages. Take a look into Debian/control file within the source tree to get an idea for missing packages. You can also use the debian/ directory for building the packages for raspbian with some minor customizations, as Raspbian bases on Debian.

Regards,
Andreas

Reply all
Reply to author
Forward
0 new messages