reply to myself:
dowload the latest key
https://www.bacula.org/bacula-distribution-verification-public-keys/
execute
gpg --import Bacula-4096-Distribution-Verification-key.asc
Git Clone URL: | https://aur.archlinux.org/bacula.git (read-only, click to copy) |
---|---|
Package Base: | bacula |
Description: | Bacula - A Network Backup Tool (common files) |
Upstream URL: | https://www.bacula.org |
Licenses: | AGPL3 |
Submitter: | None |
Maintainer: | lifespirit |
Last Packager: | lifespirit |
Votes: | 35 |
Popularity: | 0.030806 |
First Submitted: | 2014-04-25 13:59 (UTC) |
Last Updated: | 2024-06-05 06:28 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »
reply to myself:
https://www.bacula.org/bacula-distribution-verification-public-keys/
gpg --import Bacula-4096-Distribution-Verification-key.asc
On Manjaro 20.0.3 (5.7.9-1) it fails wit a sig error.
Building bacula...
==> Making package: bacula 9.6.5-2 (Mi 12 Aug 2020 11:49:24 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading bacula-9.6.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 374 100 374 0 0 534 0 --:--:-- --:--:-- --:--:-- 534
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 345 100 345 0 0 127 0 0:00:02 0:00:02 --:--:-- 344
5 4152k 5 239k 0 0 81812 0 0:00:51 0:00:03 0:00:48 81812
100 4152k 100 4152k 0 0 1326k 0 0:00:03 0:00:03 --:--:-- 29.8M
-> Downloading bacula-9.6.5.tar.gz.sig...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 382 100 382 0 0 246 0 0:00:01 0:00:01 --:--:-- 246
100 382 100 382 0 0 246 0 0:00:01 0:00:01 --:--:-- 246
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 363 100 363 0 0 102 0 0:00:03 0:00:03 --:--:-- 363
100 363 100 363 0 0 102 0 0:00:03 0:00:03 --:--:-- 363
100 833 100 833 0 0 228 0 0:00:03 0:00:03 --:--:-- 228
-> Found bacula-dir.service
-> Found bacula-fd.service
-> Found bacula-sd.service
==> Validating source files with sha256sums...
bacula-9.6.5.tar.gz ... Passed
bacula-9.6.5.tar.gz.sig ... Skipped
bacula-dir.service ... Passed
bacula-fd.service ... Passed
bacula-sd.service ... Passed
==> Verifying source file signatures with gpg...
bacula-9.6.5.tar.gz ... FAILED (unknown public key C0BE2A5FE9DF3643)
==> ERROR: One or more PGP signatures could not be verified!
Failed to build bacula
I've already tried to import the key into pacman but with no luck (https://aur.archlinux.org/packages/bacula-fd#comment-743367).
sudo pacman-key --recv-keys C0BE2A5FE9DF3643
gpg: key C0BE2A5FE9DF3643: public key "Bacula 4096 Distribution Verification Key (www.bacula.org) <kern@bacula.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
sudo pacman-key --lsign-key C0BE2A5FE9DF3643
-> Locally signing key C0BE2A5FE9DF3643...
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 24 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 24 signed: 78 trust: 1-, 0q, 0n, 23m, 0f, 0u
gpg: depth: 2 valid: 75 signed: 24 trust: 75-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2020-10-17
sudo gpg --recv-keys C0BE2A5FE9DF3643
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: keyserver receive failed: General error
sudo pacman-key --refresh-keys
...
gpg: key C0BE2A5FE9DF3643: "Bacula 4096 Distribution Verification Key (www.bacula.org) <kern@bacula.org>" not changed
...
# now i am getting
sudo gpg --recv-keys C0BE2A5FE9DF3643
gpg: keyserver receive failed: General error
Kind Regards!
One more minor thing, all packages have /etc/bacula with 0770 except console and bat, which uses 0755, why? I think, all packages should use the same permissions, either 0755 or 0770.
(1/1) reinstalling bacula-console
warning: directory permissions differ on /etc/bacula/
filesystem: 770 package: 755
9.6.5 does not build on my system:
==> Starting prepare()...
configure.in:3474: error: `src/qt-console/tray-monitor/install_conf_file' is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
configure.in:3474: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
==> ERROR: A failure occurred in prepare().
Aborting...
error making: bacula (bacula-common bacula-fd bacula-sd bacula-console bacula-dir bacula-dir-postgresql)
Removing these lines fixes the issue:
# Enable tray-monitor
sed -i '/src\/qt-console\/install_conf_file \\/asrc\/qt-console\/tray-monitor\/install_conf_file \
\' configure.in
Hello, I can't install because do not verify with PGP. Please help me.
==> Проверка подписей исходных файлов с помощью 'gpg'...
bacula-9.4.1.tar.gz ... СБОЙ (неизвестный открытый ключ C0BE2A5FE9DF3643)
==> ОШИБКА: Одна или больше PGP-подписей не могут быть проверены!
==> ОШИБКА: Makepkg не смог собрать bacula.
==> Перезапустить сборку bacula-bat ? да/Нет [y/N]
Hello9, I Resolved it with --keys for yaourt
yaourt --m-arg "--skippgpcheck"
because gpg last updated had been at very long time ago.
Patch to 9.4.1:
-pkgver=9.0.7
+pkgver=9.4.1
-sha256sums=('84e87fcfedb2e6df624c4f1a6281948f7061b22e2a2747cc2aa46d34bf190948'
+sha256sums=('6b5f6197cad360a6c37ee4f0fc28a6776f78a4e54bea667bb8a4fb801c98fd42'
# Enable tray-monitor
- sed -i '/src\/qt-console\/install_conf_file \\/asrc\/qt-console\/tray-monitor\/install_conf_file \\\
-src\/qt-console\/tray-monitor\/bacula-tray-monitor.conf \\' configure.in
+ sed -i '/src\/qt-console\/install_conf_file \\/asrc\/qt-console\/tray-monitor\/install_conf_file \\' configure.in
- validpgpkeys=('86260C02E82A8FC5CA5FB0638363575EFBD8D142')
+ validpgpkeys=('5235F5B668D81DB61704A82DC0BE2A5FE9DF3643')
Here's a poor-man's patch to get it working with 9.2.1:
-pkgver=9.0.7
+pkgver=9.2.1
-sha256sums=('84e87fcfedb2e6df624c4f1a6281948f7061b22e2a2747cc2aa46d34bf190948'
+sha256sums=('ae3ab58989e1ec89a87a6252b4991975861ca1392a8b9738f786884d5b5766d7'
# Enable tray-monitor
- sed -i '/src\/qt-console\/install_conf_file \\/asrc\/qt-console\/tray-monitor\/install_conf_file \\\
-src\/qt-console\/tray-monitor\/bacula-tray-monitor.conf \\' configure.in
+ sed -i '/src\/qt-console\/install_conf_file \\/asrc\/qt-console\/tray-monitor\/install_conf_file \\' configure.in
This doesn't work.
==> Installing bacula package group with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: bacula-dir-sqlite3 and bacula-dir-mariadb are in conflict
==> WARNING: Failed to install built package(s).
It looks like it tries to install all the packages defined in PKGBUILD, not only the one selected.
And since databases are alternatives and only one can be used, there is conflict.
Pinned Comments
lifespirit commented on 2024-06-04 10:13 (UTC)
If you have error "GPG check failed" when you install, run
gpg --recv-keys C0BE2A5FE9DF3643
for user who build package.