Bug 1134650 - borgbackup: Repository cannot be initialized due to missing dependency
borgbackup: Repository cannot be initialized due to missing dependency
Status: IN_PROGRESS
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Other
Leap 15.0
Other Other
: P5 - None : Minor (vote)
: ---
Assigned To: Antonio Larrosa
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-09 23:30 UTC by Till Dörges
Modified: 2019-11-09 23:37 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Dörges 2019-05-09 23:30:13 UTC
After installing borgbackup on openSUSE Leap 15.0 using 'zypper in borgbackup' no repository as described in /usr/share/doc/packages/borgbackup/html/quickstart.html can be initialized:

--- snip ---
box:~ #  borg init --encryption=repokey /path/to/repo
Traceback (most recent call last):
  File "/usr/bin/borg", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
--- snap ---

It works after manually installing python3-setuptools.

--- snip ---
box:~ #  zypper in python3-setuptools
--- snap ---

Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1335325


So, it would be nice to update the borgbackup's dependencies.
Comment 1 Antonio Larrosa 2019-10-31 12:09:26 UTC
Indeed, thanks for noticing this!

I've submitted the following SRs to add that dependency on python3-setuptools:

https://build.opensuse.org/request/show/744452 for Tumbleweed
https://build.opensuse.org/request/show/744453 for Leap 15.1
https://build.opensuse.org/request/show/744454 for Leap 15.0
Comment 2 Swamp Workflow Management 2019-10-31 14:30:07 UTC
This is an autogenerated message for OBS integration:
This bug (1134650) was mentioned in
https://build.opensuse.org/request/show/744498 Factory / borgbackup
Comment 3 Swamp Workflow Management 2019-11-05 20:44:50 UTC
openSUSE-RU-2019:2445-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1134650
CVE References: 
Sources used:
openSUSE Leap 15.1 (src):    borgbackup-1.1.9-lp151.3.3.1
Comment 4 Swamp Workflow Management 2019-11-08 20:11:42 UTC
openSUSE-RU-2019:2450-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1134650
CVE References: 
Sources used:
openSUSE Backports SLE-15-SP1 (src):    borgbackup-1.1.9-bp151.4.3.1
Comment 5 Swamp Workflow Management 2019-11-09 17:15:22 UTC
openSUSE-RU-2019:2462-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1134650
CVE References: 
Sources used:
openSUSE Leap 15.0 (src):    borgbackup-1.1.5-lp150.3.3.1
Comment 6 Swamp Workflow Management 2019-11-09 20:10:55 UTC
openSUSE-RU-2019:2465-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1134650
CVE References: 
Sources used:
openSUSE Backports SLE-15 (src):    borgbackup-1.1.5-bp150.3.3.1