Update/Install Issue

I have used Fedora_Rawhide and Fedora_36 repositories on AlmaLinux 8/9 installations during several months. I moved from Ubuntu/Debian because libguestfs maintainers in their repositories not conscientious. It was fine, until @uroni released new versions of server compiled using non-stable new versions of glibc, libc++, and related dependencies. Option dnf install urbackup-server --nobest worked then. Until today…

Today packages were updated silently.

Now --nobest helpless, I just can’t install server and can’t update old instances due dependencies.

Any idea how to maintain this application?

[root@vbs-00 ~]# dnf install urbackup-server
UrBackup (Fedora_Rawhide)                                                            598  B/s | 1.6 kB     00:02
 Problem: cannot install the best candidate for the job
  - nothing provides glibc >= 2.37.9000-3 needed by urbackup-server-
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.30)(64bit) needed by urbackup-server-
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by urbackup-server-
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@vbs-00 ~]#

2.37 - really??? It’s development release for beta testing only. https://pkgs.org/download/glibc - you can ensure this available in Arch and Rawhide only.

Another one problem server still fail sometimes on mounting vhdz images. Problem didn’t resolve during last 2 years. Any way to move from libguestfs and quemu depending things?

Just built from sources using SPEC file from fedora 36 sources package with these options:

./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \
--localstatedir=/var --enable-packaging \
--with-mountvhd --with-zlib --with-libcurl

SPEC file modified using this command:

grep urbackup-server.spec | sed 's/{?el7}/{?el7}%{?el9}/'

Could you perhaps send me/send on the platform a patch for


Sorry have no idea how to upload to Suse platform.
I have only download options. It seems I need to request maintainer/bugowner roles first.

# spec file for package urbackup-server
# Copyright (c) 2017 Alexander Rebrov <ralexn@gmail.com>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name: urbackup-server
Release: 1.1
Summary: Efficient Client-Server backup system for Linux and Windows

%if 0%{?suse_version}
Group: Productivity/Archiving/Backup

License: AGPL-3.0+
URL: http://www.urbackup.org/
Source0: %{name}_%{version}.orig.tar.gz

%if 0%{?suse_version}
Source2: %{name}.rpmlintrc
PreReq: %fillup_prereq permissions

BuildRequires: gcc, gcc-c++
BuildRequires: libcurl-devel
BuildRequires: fuse-devel
BuildRequires: zlib-devel
%if 0%{?suse_version}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkg-config
BuildRequires: libtool

Requires: logrotate
Requires: systemd
Requires: fuse >= 2.8.0

%if 0%{?suse_version}
Requires: libcurl4 >= 7.20.0
Requires: libz1
Requires: guestfs-tools

%if 0%{?fedora}%{?el7}%{?el9}
Requires: libcurl  >= 7.20.0
Requires: zlib
Requires: libguestfs-tools

%if 0%{?fedora} >= 17
Requires(post): /usr/bin/chown
Requires(pre): /usr/bin/mkdir
Requires(pre): /usr/bin/sed 
Requires(post): /bin/chown
Requires(pre): /bin/mkdir
Requires(pre): /bin/sed 

%if 0%{?suse_version}
Requires(pre): pwdutils
Requires(pre): /usr/sbin/useradd
Requires(pre): /usr/sbin/groupadd
Requires(post): systemd
Requires(post): /sbin/ldconfig
Requires(preun): systemd
Requires(postun): /sbin/ldconfig

# Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates

Efficient Client-Server Backup system for Linux and Windows
with GPT and UEFI partition. A client for Windows lets you 
backup open files and complete partition images. Backups 
are stored to disks in a efficient way (deduplication) 
on either Windows or Linux servers.

%setup -q -n %{name}-%{version}

export SUID_LDFLAGS=-fpie
%ifarch %{ix86}
export CXXFLAGS="-msse2 -O2 -g"
%configure --enable-packaging  --with-mountvhd --enable-embedded-cryptopp
make %{?_smp_mflags}


mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d/
mkdir -p %{buildroot}%{_localstatedir}/log/
mkdir -p %{buildroot}%{_localstatedir}/urbackup
%if 0%{?suse_version}
mkdir -p %{buildroot}%{_fillupdir}
mkdir -p %{buildroot}%{_bindir}
ln -s /usr/sbin/service %{buildroot}%{_bindir}/rc%{name}
%if 0%{?fedora}%{?el7}%{?el9}
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
mkdir -p %{buildroot}%{_initrddir}
mkdir -p %{buildroot}%{_prefix}/lib/firewalld/services

sed -i "s@/etc/default/urbackupsrv@%{_sysconfdir}/sysconfig/%{name}@g" %{_builddir}/%{name}-%{version}/%{name}.service

%if 0%{?suse_version}
install -m 644 defaults_server %{buildroot}%{_fillupdir}/sysconfig.%{name}
%if 0%{?fedora}%{?el7}%{?el9}
install -m 644 %{_builddir}/%{name}-%{version}/defaults_server %{buildroot}%{_sysconfdir}/sysconfig/%{name}
install -m 640 %{_builddir}/%{name}-%{version}/urbackup-server-firewalld.xml %{buildroot}%{_prefix}/lib/firewalld/services/%{name}.xml
install -m 755 %{_builddir}/%{name}-%{version}/urbackup-server.service %{buildroot}%{_unitdir}/%{name}.service
install -m 644 %{_builddir}/%{name}-%{version}/docs/urbackupsrv.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -m 644 %{_builddir}/%{name}-%{version}/logrotate_urbackupsrv  %{buildroot}%{_sysconfdir}/logrotate.d/%{name}

getent group urbackup > /dev/null || groupadd -r urbackup
%if 0%{?suse_version}
getent passwd urbackup > /dev/null || useradd -r -g urbackup  \
 -s /sbin/nologin urbackup >/dev/null 2>&1 
%service_add_pre %{name}.service
%if 0%{?fedora}%{?el7}%{?el9}
getent passwd urbackup > /dev/null || useradd -r -g urbackup  \
 -s /sbin/nologin urbackup >/dev/null 2>&1

%if 0%{?suse_version}
%fillup_only -n %{name}
%service_add_post %{name}.service
%if 0%{?fedora}%{?el7}%{?el9}
%systemd_post %{name}.service

%if 0%{?suse_version}
%service_del_preun %{name}.service
%if 0%{?fedora}%{?el7}%{?el9}
%systemd_preun %{name}.service

%if 0%{?suse_version}
%service_del_postun %{name}.service
%if 0%{?fedora}%{?el7}%{?el9}
%systemd_postun_with_restart %{name}.service

%if 0%{?have_systemd}
if systemctl --quiet is-enabled %{name}.service 2>/dev/null
   /bin/systemctl --quiet --force reenable %{name} 2>/dev/null || :
   /bin/systemctl --quiet --force reenable %{name} 2>/dev/null || :
   /bin/systemctl --quiet disable %{name} 2>/dev/null || :

%attr(4755,root,root) %{_bindir}/urbackup_snapshot_helper
%attr(4755,root,root) %{_bindir}/urbackup_mount_helper
%dir %attr(0755,urbackup,urbackup) %{_datadir}/urbackup
%attr(-,urbackup,urbackup) %{_datadir}/urbackup/*
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%if 0%{?suse_version}
%config %{_fillupdir}/sysconfig.%{name}
%if 0%{?fedora}%{?el7}%{?el9}
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%dir %attr(0755,urbackup,urbackup) %{_localstatedir}/urbackup
%attr(-,urbackup,urbackup) %{_localstatedir}/urbackup/dataplan_db.txt
%attr(0644,root,root) %{_unitdir}/%{name}.service

*Tue Mar 07 2017 Alexander Rebrov <ralexn@gmail.com>
- Add urbackup_mount_helper to files section

*Fri Feb 17 2017 Alexander Rebrov <ralexn@gmail.com>
- Add new version
- Delete /sbin directory from install scripts

*Mon Jan 30 2017 Alexander Rebrov <ralexn@gmail.com>
- Create /var/urbackup folder with install and files macro
- Edit Requires (libcurl, zlib different name packages of SUSE and EL)
- Edit Requires(pre). Add some utils.
- Change license to AGPL-3.0+
- Delete error from urbackup-server.service in SUSE distributions in sed command

*Tue Jan 17 2017 Alexander Rebrov <ralexn@gmail.com>
- Add SuSE Linux distributions for OBS

*Wed Jun 29 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.29 RC
- Update to version 2.0.29 RC

*Wed Jun 01 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.24 beta
- Update to version 2.0.24-0.0 beta

*Thu May 26 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.22 beta
- Update to version 2.0.22-0.0 beta

*Thu May 19 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.21 beta
- Update to version 2.0.21-0.0 beta

*Wed May 11 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.17 beta
- Update to version 2.0.17-0.0 beta

*Wed May 04 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.14 beta
- Update to version 2.0.14-0.0 beta

*Fri Apr 29 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.13 beta
- Update to version 2.0.13-0.0 beta

*Fri Apr 22 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.12 beta
- Update to version 2.0.12-0.0 beta

*Tue Apr 19 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.11 beta
- Update to version 2.0.11-0.0 beta, edit BuildRequires and Requires

*Thu Apr 14 2016 Alexander Rebrov <ralexn@gmail.com> 2.0.10 beta
- Adapted spec to version 2.0.10-0.0 beta from version 1.4.14

Updated the file with your changes… thx!

1 Like

Nice! Thanks. How think about to create separated packages branch for EL9 (CentOS9, AlmaLinux, Rocky Linux 9, RHEL9). At least one branch for all EL9 derivatives, according to pkgs.org base will be similar.

Package from repo not working on Alma, Rocky, Cent and others EL9. Because you built it again on Fedora.
It’s required newest dependencies. As I told you need to build it for EL9, not Fedora or Rawhide.

[root@vbs vbsvars]# dnf --assumeyes --nobest install urbackup-server
Last metadata expiration check: 0:00:52 ago on Thu Mar 16 13:20:44 2023.
 Problem: conflicting requests
  - nothing provides glibc >= 2.37.9000-3 needed by urbackup-server-
  - nothing provides libc.so.6(GLIBC_2.38) needed by urbackup-server-
  - nothing provides glibc >= 2.37.9000-3 needed by urbackup-server-
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by urbackup-server-
  - nothing provides libstdc++.so.6(GLIBCXX_3.4.30)(64bit) needed by urbackup-server-
(try to add '--skip-broken' to skip uninstallable packages)
[root@vbs vbsvars]#

Last package I see from 03/15/2023 built using newer dependencies than before.