FS#48258 - [borg] Version 0.30.1-1 pkg_resources.DistributionNotFound: The 'msgpack-python==0.4.6' distribution

Attached to Project: Community Packages
Opened by Joshua Marsh (icub3d) - Saturday, 20 February 2016, 00:12 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 20 February 2016, 20:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After a system upgrade, borg fails to run with the following error:

pkg_resources.DistributionNotFound: The 'msgpack-python==0.4.6' distribution was not found and is required by borgbackup

The full message can be seen below. The only resolution I had was to revert to an older package of borg.

Additional info:
* borg 0.30.1-1
* python-msgpack 0.4.7-1

Steps to reproduce:

With borg already installed:

# pacman -Syu
# borg list
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 640, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 941, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 833, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (msgpack-python 0.4.7 (/usr/lib/python3.5/site-packages), Requirement.parse('msgpack-python==0.4.6'), {'borgbackup'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/borg", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3141, in <module>
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3127, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 642, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 655, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 828, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'msgpack-python==0.4.6' distribution was not found and is required by borgbackup
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Saturday, 20 February 2016, 20:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.30.1-2.

Loading...