You are not logged in.

#1 2018-10-02 06:50:11

simeon
Member
Registered: 2012-03-06
Posts: 11

borg create results in error due to msgpack-python

Running borg 1.1.7-1 to create a backup (--create) results in following error, the same for pruning.

Traceback (most recent call last):
  File "/usr/bin/borg", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3112, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3096, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3125, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6' distribution was not found and is required by borgbackup

With borg 1.1.6-3 there are no problems.

msgpack-python:

pacman -Ss msgpack | grep python
community/python-msgpack 0.5.6-2 [Installiert]
    MessagePack serializer implementation for Python

There is no valid version of python-msgpack in pacman cache, so I think it's a bug in the new borg version or a missing update of msgpack-python.

Last edited by simeon (2019-05-14 08:30:10)

Offline

#2 2018-10-02 07:36:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 27,930
Website

Re: borg create results in error due to msgpack-python

Please edit your post and choose a title that actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-10-02 08:57:09

Everette88
Member
Registered: 2018-02-17
Posts: 32

Re: borg create results in error due to msgpack-python

The bug is already reported and there is temporary workaround: https://bugs.archlinux.org/task/60269#comment173512

Offline

Board footer

Powered by FluxBB