[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    Re: [Bacula-users] Install Bacula-Community from repository?
From:       James Israel via Bacula-users <bacula-users () lists ! sourceforge ! net>
Date:       2024-05-03 21:28:03
Message-ID: E1s30Ru-0006Mm-Ki () sfs-ml-2 ! v29 ! lw ! sourceforge ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Where it says "YOURLICENSEKEY", shouldn't that be where the hash goes? So, it could \
be a variable, filled by the hash creation, like in the other scripts?

James 

From: Rob Gerber
Sent: Friday, May 3, 2024 1:59 PM
To: James Israel
Cc: Davide F.; Mehrdad Ravanbod; bacula-users
Subject: Re: [Bacula-users] Install Bacula-Community from repository?

Personally, I allowed the use of sha1 to sign packages. This was the only way to use \
the bacula community packages from the repository. The packages are signed with SHA1. \
Can't determine authenticity without SHA1. Once the Bacula community project issues a \
SHA512 key or something similar and signs their packages with that, then SHA1 will be \
unnecessary.

Here is my runbook from my notes on installing bacula on rocky linux 9. secrets \
removed and instances of my username have been replaced by 'YOURUSERNAME'. 

Please note that I run bacula 13.x. Bacula 15.x is in beta and I personally decided \
not to deploy it in production. The text below proceeds from that perspective.

Bacula rocky 9 install and configuration process
************

# most of the following has to be done as root. I'm assuming you've done "sudo su" \
prior to start. # RL 9 doesn't allow sha1 signing by default. gotta enable it for \
bacula. update-crypto-policies --set DEFAULT:SHA1

# import bacula project key
cd /tmp
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 -y

# Add the following entries to your /etc/yum.repos.d/Bacula.repo file:
nano /etc/yum.repos.d/Bacula.repo
# note this URL is customized from the install guide to be for RHEL 9!
[Bacula-Community]
name=CentOS - Bacula - Community
baseurl=https://www.bacula.org/packages/YOURLICENSEKEY/rpms/13.0.3/el9/x86_64/
enabled=1
protect=0
gpgcheck=1


# correct syntax to find all bacula packages on every repo is dnf list|grep -i bacula
# we want to disable all the bacula packages in the RHEL appstream repo. they can \
break bacula installs from the bacula community repo. # lets try adding some exclude \
lines to /etc/yum.conf. this is symlinked with /etc/dnf/dnf.conf so isn't necessary \
to edit both nano /etc/yum.conf
exclude=bacula-common.x86_64 bacula-console.x86_64 bacula-director.x86_64 \
bacula-libs-sql.x86_64 bacula-logwatch.noarch bacula-storage.x86_64 # with the above \
string in yum.conf, yum list|grep -i bacula only shows 13.x bacula repo packages and \
doesn't show any appstream repo bacula packages, which were version 11.x  # same \
applies to dnf.  #WARNING: BACULA 15.X APPEARS TO FEATURE A BACULA-CONSOLE PACKAGE, \
WHICH MIGHT BE BLACKLISTED BY THE ABOVE PROCESS DURING AN INSTALLATION/UPGRADE OF \
15.X

# install postgresql and bacula
yum install postgresql-server -y
service postgresql initdb
#output: Hint: the preferred way to do this is now "/usr/bin/postgresql-setup \
--initdb --unit postgresql" yum install chkconfig -y
chkconfig postgresql on
yum install bacula-postgresql -y
systemctl start postgresql.service
su - postgres
/opt/bacula/scripts/create_postgresql_database
/opt/bacula/scripts/make_postgresql_tables
/opt/bacula/scripts/grant_postgresql_privileges
exit

# give bacula user a shell so I can su into that user
chsh -s /bin/bash bacula

# add bacula user to tape group
usermod -a -G tape bacula

# start bacula
/opt/bacula/scripts/bacula start

# give my user rwx access to bacula dir. used so I can filezilla into the server and \
edit stuff from windows setfacl -R -m YOURUSERNAME:rwx /opt/bacula/

# make symlinks to all bacula programs in /usr/sbin so they can be ran without a full \
path cp /opt/bacula/bin/* /usr/sbin -s



Robert Gerber
402-237-8692
rob@craeon.net

On Fri, May 3, 2024, 3:40 PM James Israel via Bacula-users \
<bacula-users@lists.sourceforge.net> wrote: Thanks for the suggestion, Davide.
  
However, I had tried that script before (used the one for CentOS, as that OS is \
pretty close to RHEL), and I get the following errors. (I tried it again just now, \
same result):  
First, SHA1 checksums don't work on this RHEL 9 server, as they don't with many \
modern OSes, as they've been deemed insecure. So, I get:  
warning: Signature not supported. Hash algorithm SHA1 not available.
error: /tmp/Bacula-4096-Distribution-Verification-key.asc: key 1 import failed.
  
As a work around, I downloaded the .asc file to my local Windows machine, which can \
still do SHA1, and used the resulting hash in the URL in the script, commenting out \
the hash creation parts.  
After doing that and running the script again, I get:
  
Errors during downloading metadata for repository 'Bacula-Community':
   - Status code: 404 for \
https://www.bacula.org/packages/bf417a80d9108b58a8a3fc8b78110f9f5b181ae1/rpms/11.0.5/el7/repodata/repomd.xml \
                (IP: 94.103.98.87)
Error: Failed to download metadata for repo 'Bacula-Community': Cannot download \
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried  
As you can see, the url looks correct, but the needed xml file doesn't seem to be \
hosted anywhere anymore, as no mirrors had it.  
Is there another way to get that file?
  
Thanks.
  
James 
  
  
From: Davide F. via Bacula-users
Sent: Friday, May 3, 2024 4:11 AM
To: Mehrdad Ravanbod
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Install Bacula-Community from repository?
  
Hi,
  
Just thinking loud …
  
If Bacula rpm package installation guide is not accurate or has issues, can we do a \
PR or send a patch to developers ?  
Best regards  
  
Davide
  
On Fri, May 3, 2024 at 10:35 Mehrdad Ravanbod <mehrdad.ravanbod@ampfield.se> wrote:
HI
I suggest you try instructions in this document
https://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en
  has instruction for both debian and RHEL installations, some things must be changed \
according to the version/enviroment you install but it is to figure out.  Reagrds \
/Mehrdad On 2024-05-03 08:57, James Israel via Bacula-users wrote:
Is it possible to install Bacula-Community from a repository?
  
I have a RHEL 9 server which came with Bacula Community 11.0.1, but I was having so \
much trouble getting it working, I decided to try to update it. Trying a yum upgrade \
didn't work, so I (foolishly) uninstalled it, removing the repo, thinking it should \
be no problem to download v13 or v15 repo and install from that.  
I've followed instructions from the \
https://www.bacula.org/whitepapers/CommunityInstallationGuide.pdf, however, it's not \
working, I get:  
Errors during downloading metadata for repository 'Bacula-Community':
Error: Failed to download metadata for repo 'Bacula-Community': Cannot download \
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried  
I've also tried installing manually by downloading and unpacking \
bacula-15.0.2.tar.gz, then using ./configure and make, etc, but that was a real \
nightmare, one problem after another to work out, and never could get it working.  
Is there any way to get the repo for Bacula and install it like any other program \
with a good ol' "yum install" command?  
Thanks for any help.
  
• James
  
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Attachment #5 (unknown)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:798646686;
	mso-list-template-ids:-1;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style></head><body lang=EN-US link="#0563C1" vlink="#954F72" \
style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Where it says \
"YOURLICENSEKEY", shouldn't that be where the hash goes? So, it could be a variable, \
filled by the hash creation, like in the other scripts?</p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>James <o:p></o:p></p><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div \
style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 \
1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal \
style='border:none;padding:0in'><b>From: </b><a href="mailto:rob@craeon.net">Rob \
Gerber</a><br><b>Sent: </b>Friday, May 3, 2024 1:59 PM<br><b>To: </b><a \
href="mailto:ht1@dcn.org">James Israel</a><br><b>Cc: </b><a \
href="mailto:bacula-dev@dflc.ch">Davide F.</a>; <a \
href="mailto:mehrdad.ravanbod@ampfield.se">Mehrdad Ravanbod</a>; <a \
href="mailto:bacula-users@lists.sourceforge.net">bacula-users</a><br><b>Subject: \
</b>Re: [Bacula-users] Install Bacula-Community from repository?</p></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><div><p class=MsoNormal>Personally, I \
allowed the use of sha1 to sign packages. This was the only way to use the bacula \
community packages from the repository. The packages are signed with SHA1. Can't \
determine authenticity without SHA1. Once the Bacula community project issues a \
SHA512 key or something similar and signs their packages with that, then SHA1 will be \
unnecessary.</p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal>Here is my runbook from my notes on installing bacula on rocky linux \
9. secrets removed and instances of my username have been replaced by 'YOURUSERNAME'. \
</p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal>Please note that I run bacula 13.x. Bacula 15.x is in beta and I \
personally decided not to deploy it in production. The text below proceeds from that \
perspective.</p></div><div><p class=MsoNormal><br>Bacula rocky 9 install and \
configuration process<br>************<br><br># most of the following has to be done \
as root. I'm assuming you've done &quot;sudo su&quot; prior to start.<br># RL 9 \
doesn't allow sha1 signing by default. gotta enable it for \
bacula.<br>update-crypto-policies --set DEFAULT:SHA1<br><br># import bacula project \
key<br>cd /tmp<br>wget <a \
href="https://www.bacula.org/downloads/Bacula-4096-Distribution-Verification-key.asc"> \
https://www.bacula.org/downloads/Bacula-4096-Distribution-Verification-key.asc</a><br>rpm \
--import Bacula-4096-Distribution-Verification-key.asc<br>rm \
Bacula-4096-Distribution-Verification-key.asc -y<br><br># Add the following entries \
to your /etc/yum.repos.d/Bacula.repo file:<br>nano /etc/yum.repos.d/Bacula.repo<br># \
note this URL is customized from the install guide to be for RHEL \
9!<br>[Bacula-Community]<br>name=CentOS - Bacula - Community<br>baseurl=<a \
href="https://www.bacula.org/packages/YOURLICENSEKEY/rpms/13.0.3/el9/x86_64/">https:// \
www.bacula.org/packages/YOURLICENSEKEY/rpms/13.0.3/el9/x86_64/</a><br>enabled=1<br>protect=0<br>gpgcheck=1<br><br><br># \
correct syntax to find all bacula packages on every repo is dnf list|grep -i \
bacula<br># we want to disable all the bacula packages in the RHEL appstream repo. \
they can break bacula installs from the bacula community repo.<br># lets try adding \
some exclude lines to /etc/yum.conf. this is symlinked with /etc/dnf/dnf.conf so \
isn't necessary to edit both<br>nano /etc/yum.conf<br>exclude=bacula-common.x86_64 \
bacula-console.x86_64 bacula-director.x86_64 bacula-libs-sql.x86_64 \
bacula-logwatch.noarch bacula-storage.x86_64<br># with the above string in yum.conf, \
yum list|grep -i bacula only shows 13.x bacula repo packages and doesn't show any \
appstream repo bacula packages, which were version 11.x <br># same applies to dnf. \
<br>#WARNING: BACULA 15.X APPEARS TO FEATURE A BACULA-CONSOLE PACKAGE, WHICH MIGHT BE \
BLACKLISTED BY THE ABOVE PROCESS DURING AN INSTALLATION/UPGRADE OF 15.X<br><br># \
install postgresql and bacula<br>yum install postgresql-server -y<br>service \
postgresql initdb<br>#output: Hint: the preferred way to do this is now \
&quot;/usr/bin/postgresql-setup --initdb --unit postgresql&quot;<br>yum install \
chkconfig -y<br>chkconfig postgresql on<br>yum install bacula-postgresql \
-y<br>systemctl start postgresql.service<br>su - \
postgres<br>/opt/bacula/scripts/create_postgresql_database<br>/opt/bacula/scripts/make \
_postgresql_tables<br>/opt/bacula/scripts/grant_postgresql_privileges<br>exit<br><br># \
give bacula user a shell so I can su into that user<br>chsh -s /bin/bash \
bacula<br><br># add bacula user to tape group<br>usermod -a -G tape bacula<br><br># \
start bacula<br>/opt/bacula/scripts/bacula start<br><br># give my user rwx access to \
bacula dir. used so I can filezilla into the server and edit stuff from \
windows<br>setfacl -R -m YOURUSERNAME:rwx /opt/bacula/<br><br># make symlinks to all \
bacula programs in /usr/sbin so they can be ran without a full path<br>cp \
/opt/bacula/bin/* /usr/sbin -s</p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Robert \
Gerber<br>402-237-8692<br><a href="mailto:rob@craeon.net" \
target="_blank">rob@craeon.net</a></p></div></div></div><p \
class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>On Fri, May 3, \
2024, 3:40 PM James Israel via Bacula-users &lt;<a \
href="mailto:bacula-users@lists.sourceforge.net" \
target="_blank">bacula-users@lists.sourceforge.net</a>&gt; \
wrote:</p></div><blockquote style='border:none;border-left:solid #CCCCCC \
1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks for \
the suggestion, Davide.</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>However, I \
had tried that script before (used the one for CentOS, as that OS is pretty close to \
RHEL), and I get the following errors. (I tried it again just now, same \
result):</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>First, \
SHA1 checksums don't work on this RHEL 9 server, as they don't with many modern OSes, \
as they've been deemed insecure. So, I get:</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>warning: \
Signature not supported. Hash algorithm SHA1 not available.</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>error: \
/tmp/Bacula-4096-Distribution-Verification-key.asc: key 1 import failed.</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>As a work \
around, I downloaded the .asc file to my local Windows machine, which can still do \
SHA1, and used the resulting hash in the URL in the script, commenting out the hash \
creation parts.</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>After \
doing that and running the script again, I get:</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Errors \
during downloading metadata for repository 'Bacula-Community':</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp; - Status code: 404 \
for <a href="https://www.bacula.org/packages/bf417a80d9108b58a8a3fc8b78110f9f5b181ae1/rpms/11.0.5/el7/repodata/repomd.xml" \
target="_blank">https://www.bacula.org/packages/bf417a80d9108b58a8a3fc8b78110f9f5b181ae1/rpms/11.0.5/el7/repodata/repomd.xml</a> \
(IP: 94.103.98.87)</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Error: Failed to download \
metadata for repo 'Bacula-Community': Cannot download repomd.xml: Cannot download \
repodata/repomd.xml: All mirrors were tried</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>As you can \
see, the url looks correct, but the needed xml file doesn't seem to be hosted \
anywhere anymore, as no mirrors had it.</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is there \
another way to get that file?</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks.</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>James \
</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><div \
style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in \
0in;border-color:currentcolor currentcolor'><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From: </b><a \
href="mailto:bacula-users@lists.sourceforge.net" target="_blank">Davide F. via \
Bacula-users</a><br><b>Sent: </b>Friday, May 3, 2024 4:11 AM<br><b>To: </b><a \
href="mailto:mehrdad.ravanbod@ampfield.se" target="_blank">Mehrdad \
Ravanbod</a><br><b>Cc: </b><a href="mailto:bacula-users@lists.sourceforge.net" \
target="_blank">bacula-users@lists.sourceforge.net</a><br><b>Subject: </b>Re: \
[Bacula-users] Install Bacula-Community from repository?</p></div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi,</p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Just \
thinking loud …</p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>If Bacula \
rpm package installation guide is not accurate or has issues, can we do a PR or send \
a patch to developers ?</p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Best \
regards&nbsp;</p></div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Davide</p></div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><div><div><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Fri, \
May 3, 2024 at 10:35 Mehrdad Ravanbod &lt;<a \
href="mailto:mehrdad.ravanbod@ampfield.se" \
target="_blank">mehrdad.ravanbod@ampfield.se</a>&gt; \
wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid \
windowtext 1.0pt;padding:0in 0in 0in \
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor \
currentcolor currentcolor rgb(204,204,204)'><div><p>HI</p><p>I suggest you try \
instructions in this document</p><p><a \
href="https://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en" \
target="_blank">https://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en</a></p><p>&nbsp;has \
instruction for both debian and RHEL installations, some things must be changed \
according to the version/enviroment you install but it is to figure out. \
</p><p>Reagrds /Mehrdad</p></div><div><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On 2024-05-03 08:57, James \
Israel via Bacula-users wrote:</p></div><blockquote \
style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is it possible to install \
Bacula-Community from a repository?</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I have a \
RHEL 9 server which came with Bacula Community 11.0.1, but I was having so much \
trouble getting it working, I decided to try to update it. Trying a yum upgrade \
didn't work, so I (foolishly) uninstalled it, removing the repo, thinking it should \
be no problem to download v13 or v15 repo and install from that.</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I've \
followed instructions from the <a \
href="https://www.bacula.org/whitepapers/CommunityInstallationGuide.pdf" \
target="_blank">https://www.bacula.org/whitepapers/CommunityInstallationGuide.pdf</a>, \
however, it's not working, I get:</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Errors \
during downloading metadata for repository 'Bacula-Community':</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Error: Failed to download \
metadata for repo 'Bacula-Community': Cannot download repomd.xml: Cannot download \
repodata/repomd.xml: All mirrors were tried</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I've also \
tried installing manually by downloading and unpacking bacula-15.0.2.tar.gz, then \
using ./configure and make, etc, but that was a real nightmare, one problem after \
another to work out, and never could get it working.</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is there \
any way to get the repo for Bacula and install it like any other program with a good \
ol' "yum install" command?</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><p \
class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks for \
any help.</p><p class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;</p><ul \
type=disc><li class=MsoNormal \
style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 \
lfo1'>James</li></ul></div><p class=MsoNormal \





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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic