AlmaLinux borg backup installation

If you upgraded your Centos8 to AlmaLinux8 and then decided to install borgbackup – you might run into this error:

[root@wp ~]# yum install borgbackup
Last metadata expiration check: 1:43:51 ago on trešdiena, 2022. gada 21. decembris, plkst. 04 un 58.
Error: 
Problem: conflicting requests
- nothing provides python3.6dist(packaging) needed by borgbackup-1.1.17-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

To fix this and get borgbackup installed – just run these 3 commands:

dnf install epel-release
dnf config-manager --set-enabled epel
dnf config-manager --set-enabled powertools

After this – you can try to install borgbackup again:

yum install borgbackup