# Where is BackupPC

**URL:** <https://forums.rockylinux.org/t/where-is-backuppc/7278>\
**Category:** Rocky Linux Help & Support\
**Created:** [September 18, 2022, 3:12pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278 "2022-09-18T15:12:12Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![emmett](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/emmett/32/1831_2.png) [@emmett](https://forums.rockylinux.org/u/emmett)\
**Post date:** [September 18, 2022, 3:12pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/1 "2022-09-18T15:12:12Z")

</div>

I am not able to find a BackupPC package to Rocky 9. I’ve installed epel, but nothing shows up.

ANy ideas where to look, or what repo I need to install BackupPC.

Emmett

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [September 18, 2022, 4:44pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/2 "2022-09-18T16:44:47Z")

</div>

A good place to search is [pkgs.org](http://pkgs.org): [https://pkgs.org/search/?q=backuppc](https://pkgs.org/search/?q=backuppc)

But as you probably already know, there isn’t an EL9 package for it. Whether a Fedora 35/36 package would work or not, you could always try. Some other posts on this forums when similar questions for packages have been asked, suggest using Mock and a src rpm for you to then build it yourself.

Otherwise, I guess we just have to wait until EPEL package it.

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 16, 2022, 9:42pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/3 "2022-12-16T21:42:14Z")

</div>

This is disappointing. I just installed 9.1 on separate partition of my RL8 server and everything was going well until attempting to install BackupPC.  
Did the OP find a suitable source? The biggest issue when it is not distro-packaged is hunting down the Perl dependencies that are specific to BackupPC.  
Anyway who do I pester to get this in EPEL?

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 17, 2022, 2:05pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/4 "2022-12-17T14:05:59Z")

</div>

BackupPC is supported through the RL8 repos so what if I just enable those for the install of this software and dependencies?

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [December 17, 2022, 2:31pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/5 "2022-12-17T14:31:53Z")

</div>

> [@jbkt23](#):
>
> who do I pester to get this in EPEL?

EPEL. They have their own channels for feature request/bug reports. See [EPEL Package Request :: Fedora Docs](https://docs.fedoraproject.org/en-US/epel/epel-package-request/)

> [@jbkt23](#):
>
> what if I just enable those for the install of this software and dependencies?

Don’t. That will create a mess even if installation seems to succeed.

@iwalker did mention “_Mock and a src rpm_”.

For each binary package there should be a _source package_ that the binary is built from.  
If you have the `backuppc*.src.rpm` from closest similar distro (EPEL8 or Fedora?), then  
you could try to build the binary package on Rocky platform. That way your binary package  
would depend on Rocky 9’s libraries.

The `mock` is a tool that conveniently does the build.

It might be that build fails because el9 does not have what the build requires. One should not go into rabbit’s hole of building missing dependencies first. Let the EPEL maintainers work around that.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [December 17, 2022, 3:00pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/6 "2022-12-17T15:00:04Z")

</div>

Will most likely be best to put in a request with EPEL. I’ve just tried to build BackupPC using src rpm from Fedora 36, 37, and also from EPEL8 but seems to complain about a perl (BackupPC::XS) dependency. I’m not a huge user of mock, so haven’t really delved into how I might be able to resolve/fix that problem.

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 17, 2022, 3:59pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/7 "2022-12-17T15:59:01Z")

</div>

> [@iwalker](#):
>
> perl (BackupPC::XS)

This is available on the github site so I guess has to be built also.  
These are the only dependencies not provided in RL9 repos:  
BackupPC-XS  
perl-Net-FTP-AutoReconnect  
perl-Net-FTP-RetrHandle  
rsync-bpc  
The FTP perl modules probably aren’t needed since I don’t use that method of flie transfer.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [December 17, 2022, 4:13pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/8 "2022-12-17T16:13:25Z")

</div>

I’ve just downloaded the BackupPC-XS src rpm, so gonna see if building and installing this first will provide a bit more success or not.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [December 17, 2022, 4:23pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/9 "2022-12-17T16:23:34Z")

</div>

Hmm, well that didn’t work. I tried building and installing BackupPC-XS which was fine, but then mock wouldn’t find it when I tried to build BackupPC. So I then tried to get Mock to build both at the same time thinking that would install it into the mock chroot. So to build BackupPC-XS first, and then start the second build. That also didn’t work.

As I said, not really a master of mock, so no idea how to get that to work to be honest. Maybe rpmbuild would be a way around it, but then apparently it’s not recommended to do it that way.

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 17, 2022, 4:27pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/10 "2022-12-17T16:27:38Z")

</div>

Well if you can’t I am not likely to be able to do it either as I haven’t built any srpm’s in many years.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [December 17, 2022, 6:11pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/11 "2022-12-17T18:11:15Z")

</div>

Well I’ve managed to do it now from the Fedora 36 src rpms:

```auto
[ian@rocky9 ~]$ ls /var/lib/mock/rocky+epel-9-x86_64/result/
BackupPC-4.4.0-8.el9.src.rpm
BackupPC-4.4.0-8.el9.x86_64.rpm
BackupPC-debuginfo-4.4.0-8.el9.x86_64.rpm
BackupPC-debugsource-4.4.0-8.el9.x86_64.rpm
BackupPC-XS-0.62-7.el9.src.rpm
BackupPC-XS-0.62-7.el9.x86_64.rpm
BackupPC-XS-debuginfo-0.62-7.el9.x86_64.rpm
BackupPC-XS-debugsource-0.62-7.el9.x86_64.rpm

```

How I did it:

```auto
mock BackupPC-XS-0.62-7.fc36.src.rpm 
mock --install /var/lib/mock/rocky+epel-9-x86_64/result/BackupPC-XS-0.62-7.el9.x86_64.rpm 
mock --no-clean BackupPC-4.4.0-8.fc36.src.rpm 

```

first command built the BackupPC-XS dependency, of which I installed with the second command. Since Mock will cleanup each time it’s run, this was why it failed before. So for building BackupPC to use the installed dependency, required using `--no-clean` parameter.

The two rpms you can then copy from the results directory, and install them on the machines you need them.

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 17, 2022, 6:28pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/12 "2022-12-17T18:28:35Z")

</div>

OK. Thanks, I’ll probably try this later today or next week. The remaining component is rsync-bpc which I can get the srpm also.  
Your effort is appreciated.  
So, now the question would be that if EPEL does provide BackupPC in the future will these packages be upgradeable. Not a big deal though. I know how to handle that situation.

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [December 17, 2022, 8:01pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/13 "2022-12-17T20:01:53Z")

</div>

> [@iwalker](#):
>
> installing BackupPC-XS which was fine, but then mock wouldn’t find it

There might be a clue in the spec file of the main package, (BuildRequies), the child package has a list of --provides, and the parent package uses somthing like package kit (\*.pc file) to find them, often from a \*.devel package. I’m guessing on Fedora you can just install the \*.rpm files (even in the wrong order) and it will trigger dependency resolution.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [December 17, 2022, 8:13pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/14 "2022-12-17T20:13:12Z")

</div>

@gerry666uk already fixed it see two posts above yours. It’s to do with the way mock operates.

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [December 17, 2022, 8:59pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/15 "2022-12-17T20:59:25Z")

</div>

All built and installed.  
I had to make the last two perl-Net modules from source also. Following your example worked for me. I’m not sure the mock --install step was necessary but mock --no-clean is for sure.  
Well on to the next system configuration steps.

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [January 7, 2023, 1:29pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/16 "2023-01-07T13:29:52Z")

</div>

I’ve gotten notice that the two dependencies for BackupPC have been built and are out for testing per EPEL  
Branch and build perl-Net-FTP-AutoReconnect for EPEL 9  
[https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-161d4da366](https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-161d4da366)

Branch and build perl-Net-FTP-RetrHandle for EPEL 9

[https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-2f51814cf7](https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-2f51814cf7)

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [January 7, 2023, 1:36pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/17 "2023-01-07T13:36:59Z")

</div>

Yup, confirmed:

```auto
[root@rocky9 ~]# dnf --enablerepo=epel-testing search perl-Net-FTP*
Extra Packages for Enterprise Linux 9 - Testing 679 kB/s | 1.6 MB 00:02    
Last metadata expiration check: 0:00:01 ago on Sat 07 Jan 2023 02:36:34 PM CET.
========================= Name Matched: perl-Net-FTP* ==========================
perl-Net-FTP-AutoReconnect.noarch : FTP client class with automatic reconnect on
                                  : failure
perl-Net-FTP-AutoReconnect-tests.noarch : Tests for perl-Net-FTP-AutoReconnect
perl-Net-FTP-RetrHandle.noarch : File reading interface for reading files on a
                               : remote FTP server
perl-Net-FTP-RetrHandle-tests.noarch : Tests for perl-Net-FTP-RetrHandle

```

in epel-testing, so I guess at some point they’ll trickle down to main epel repository.

---

<div class="post-metadata">

**Author:** ![ganphx](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ganphx/32/2381_2.png) [@ganphx](https://forums.rockylinux.org/u/ganphx)\
**Post date:** [January 7, 2023, 5:44pm UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/18 "2023-01-07T17:44:23Z")

</div>

FYI…I reopened this Bugzilla to branch and build BackupPC for EPEL 9 [2120957 – Please branch and build backuppc in EPEL9](https://bugzilla.redhat.com/show_bug.cgi?id=2120957) a couple of weeks ago.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:28am UTC](https://forums.rockylinux.org/t/where-is-backuppc/7278/19 "2023-08-25T03:28:56Z")

</div>


