Installation fails via RPM / DNF on Fedora 43

I’ve been using urbackup server for a few years on my Fedora server box (currently running Fedora 43)

Following the steps documented here: UrBackup - Download UrBackup for Windows, GNU/Linux or FreeBSD

To Install package home:uroni / urbackup-server

Instructions are as below:

For Fedora 43 run the following as root:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:uroni/Fedora_43/home:uroni.repo

dnf install urbackup-server

The dnf config-manager completes successfully:

dnf config-manager addrepo --from-repofile=``https://download.opensuse.org/repositories/home:uroni/Fedora_43/home:uroni.repo

but attempting to install the package fails:

dnf install urbackup-server
Updating and loading repositories:
UrBackup (Fedora_43)                                                                                                                                                         100% |   4.2 KiB/s |   1.6 KiB |  00m00s
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests

package urbackup-server-2.5.35.0-1.1.aarch64 from home_uroni does not have a compatible architecture

nothing provides group(urbackup) needed by urbackup-server-2.5.35.0-1.1.aarch64 from home_uroni

nothing provides user(urbackup) needed by urbackup-server-2.5.35.0-1.1.aarch64 from home_uroni

nothing provides ld-linux-aarch64.so.1()(64bit) needed by urbackup-server-2.5.35.0-1.1.aarch64 from home_uroni

nothing provides ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) needed by urbackup-server-2.5.35.0-1.1.aarch64 from home_uroni

nothing provides libm.so.6(GLIBC_2.17)(64bit) needed by urbackup-server-2.5.35.0-1.1.aarch64 from home_uroni

nothing provides group(urbackup) needed by urbackup-server-2.5.35.0-1.1.x86_64 from home_uroni

nothing provides user(urbackup) needed by urbackup-server-2.5.35.0-1.1.x86_64 from home_uroni
You can try to add to command line:
–skip-broken to skip uninstallable packages

it seems like packages from the wrong architecture are being selected by default? (my machine is x86_64 but aarch64 packages are being selected)

if I try to install x86_64 packages explicitly, I get another different error:

dnf install urbackup-server.x86_64
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests

nothing provides group(urbackup) needed by urbackup-server-2.5.35.0-1.1.x86_64 from home_uroni

nothing provides user(urbackup) needed by urbackup-server-2.5.35.0-1.1.x86_64 from home_uroni
You can try to add to command line:
–skip-broken to skip uninstallable packages

I do have a urbackup user and group, although I’m not sure if this was manually created (by me) in the past or as a result of a prior install.

id urbackup
uid=964(urbackup) gid=964(urbackup) groups=964(urbackup)

I’m going to try installing Fedora 42 or Fedora Rawhide packages and report back.

This seems very similar to an issue reported against a different project here: opensuse16 rpm packaging - nothing provides 'group(proxysql)' · Issue #5183 · sysown/proxysql · GitHub

The fix may be as simple as adding Provides: group(urbackup) to the .spec file here: File urbackup-server.spec of Package urbackup-server - openSUSE Build Service

I’m going to experiment with building this locally and report back

OpenSUSE build should also allow you to fork the project and edit the file in the browser and then it builds it for you

Ah, thanks @uroni

I’ll give this a try first

Adding the following to urbackup-server.spec fixes installation on Fedora 43

# Required to prevent "nothing provides group(urbackup) needed by urbackup-server" errors during install
Provides: group(urbackup)
# Required to prevent "nothing provides user(urbackup) needed by urbackup-server" errors during install
Provides: user(urbackup)

Confirmed via my branch of the openSUSE build service project: Revisions of urbackup-server - openSUSE Build Service

@uroni I submitted a request to have the change made upstream here: Request 1333643: Submit home:uroni/urbackup-server - openSUSE Build Service