Install Urbackup Server on Debian 11

root@srv02.poriburano.backup:# wget https://hndl.urbackup.org/Server/2.5.32/debian/bullseye/urbackup-server_2.5.32_amd64.deb
--2024-02-03 16:51:37--  https://hndl.urbackup.org/Server/2.5.32/debian/bullseye/urbackup-server_2.5.32_amd64.deb
Resolving hndl.urbackup.org (hndl.urbackup.org)... 198.58.118.162, 2600:3c00::f03c:91ff:fec8:ecf6
Connecting to hndl.urbackup.org (hndl.urbackup.org)|198.58.118.162|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4205120 (4.0M) [application/octet-stream]
Saving to: ‘urbackup-server_2.5.32_amd64.deb’

urbackup-server_2.5.32_amd64.deb          100%[=====================================================================================>]   4.01M  3.57MB/s    in 1.1s

2024-02-03 16:51:39 (3.57 MB/s) - ‘urbackup-server_2.5.32_amd64.deb’ saved [4205120/4205120]

root@srv02.poriburano.backup:# ls -lai
total 4136
50855937 drwxrwxrwt  7 root root    4096 Feb  3 16:51 .
       2 drwxr-xr-x 18 root root    4096 Feb  2 10:56 ..
51252193 drwxrwxrwt  2 root root    4096 Feb  2 14:22 .font-unix
50990020 drwxrwxrwt  2 root root    4096 Feb  2 14:22 .ICE-unix
51380413 drwxrwxrwt  2 root root    4096 Feb  2 14:22 .Test-unix
50857696 -rw-r--r--  1 root root 4205120 Oct  3 00:42 urbackup-server_2.5.32_amd64.deb
50857650 drwxrwxrwt  2 root root    4096 Feb  2 14:22 .X11-unix
51120952 drwxrwxrwt  2 root root    4096 Feb  2 14:22 .XIM-unix
root@srv02.poriburano.backup:# sudo dpkg -i urbackup-server_2.5.32_amd64.deb
(Reading database ... 33986 files and directories currently installed.)
Preparing to unpack urbackup-server_2.5.32_amd64.deb ...
Unpacking urbackup-server (2.5.32.0-1) over (2.5.32.0) ...
dpkg: dependency problems prevent configuration of urbackup-server:
 urbackup-server depends on sqlite3; however:
  Package sqlite3 is not installed.

dpkg: error processing package urbackup-server (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
 urbackup-server

Help…thank you

As you can see:

dpkg: dependency problems prevent configuration of urbackup-server: urbackup-server depends on sqlite3; however: Package sqlite3 is not installed.

Just install sqlite3.
Debian, Ubuntu, etc.:
sudo apt install sqlite3


BTW: If you’re root, you don’t need sudo.

Problem 1: Distributions like Debian or Ubuntu LTS don’t use latest versions of required packages which needed for urbackup server run. Problem 2: Uroni uses latest packages (unstable) for build process (you can ensure in repository and trying installation like this one you do), it causes a lot of dependencies problem. In addition you can find that packages on Suse page changing sometimes without minor version update (nighty builds) - it means you can experience troubles with .deb package with same version which was yesterday, tomorrow, while OS not changed.

For example, most important library for image backup / mounting libguestfs. You can meet dependencies error messages while installing package or build by your self urbackup server on Linux while older version of library installed.

Solutions:

  1. Provide versions definitions suggestions for make, which I already done without response.
  2. Use another Linux like Arch or Fedora on unstable package base.
  3. Connect unstable repository to install required versions of libraries. In this case be ready to always meet troubles like this.
  4. Run server on Windows.

Anyway I recommend you to avoid usage of repository and build from sources server on system you want, then install .deb or .rpm on other instances.

I only have achieved some stability with it on Arch with LTS kernel, latest btrfs packages, with urbackup-server package built by myself on Hyper-V VM. And some tweaks from this page: Linux on Hyper-V

1 Like

HI,
after 1000 attempts to install this library. I wanted to run your command, and today it installed perfectly!!
Resolved
Thank you

I’m glad you’ve got fixed it. :slight_smile: