Skip to content

Msgpack version constraints wrong on Ubuntu PPA - Missing upper limit #4959

@timwsuqld

Description

@timwsuqld

Have you checked borgbackup docs, FAQ, and open Github issues?

Yes

Is this a BUG / ISSUE report or a QUESTION?

Issue

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg 1.1.10

Operating system (distribution) and version.

Ubuntu 16.04.1

Hardware / network configuration, and filesystems used.

How much data is handled by borg?

Full borg commandline that lead to the problem (leave away excludes and passwords)

borg benchmark

Describe the problem you're observing.

Borg complains about the version of msgpack installed, this is due to another repo providing a newer msgpack than is supported by borg, but the borg PPA doesn't restrict the upper limit on the msgpack version.

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

  1. Install salt (saltstack salt-minion) on a server using the py3 repos.
  2. Install borgbackup from the PPA (https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/borgbackup)
  3. Borg will fail to work due to python3-msgpack being at version 0.6.2-1 as provided by the saltstack repo, because the borg package doesn't limit the upper limit.

Include any warning/errors/backtraces from the system logs

You do not have a supported msgpack[-python] version installed. Terminating.
This should never happen as specific, supported versions are required by our setup.py.
Do not contact borgbackup support about this.
Package: borgbackup
Priority: optional
Section: admin
Installed-Size: 2294
Maintainer: Danny Edel <debian@danny-edel.de>
Architecture: amd64
Version: 1.1.10-2~ubuntu16.04.1~ppa2
Suggests: borgbackup-doc
Depends: fuse, python3-llfuse (<< 2.0), python3-pkg-resources, python3 (<< 3.6), python3 (>= 3.5~), pyth
on3-msgpack (>= 0.5.1), libacl1 (>= 2.2.51-8), libb2-1, libc6 (>= 2.14), liblz4-1 (>= 0.0~r130), libssl1
.0.0 (>= 1.0.1), libzstd1 (>= 1.3.2)
$ apt-cache policy borgbackup
borgbackup:
  Installed: 1.1.10-2~ubuntu16.04.1~ppa2
  Candidate: 1.1.10-2~ubuntu16.04.1~ppa2
  Version table:
 *** 1.1.10-2~ubuntu16.04.1~ppa2 500
        500 http://ppa.launchpad.net/costamagnagianfranco/borgbackup/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.12-0ubuntu1.16.04.1 500
        500 http://mirror.overthewire.com.au/ubuntu xenial-updates/universe amd64 Packages
     1.0.2-1 500
        500 http://mirror.overthewire.com.au/ubuntu xenial/universe amd64 Packages

$ apt-cache policy python3-msgpack
python3-msgpack:
  Installed: 0.6.2-1
  Candidate: 0.6.2-1
  Version table:
 *** 0.6.2-1 500
        500 https://repo.saltstack.com/py3/ubuntu/16.04/amd64/latest xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     0.5.6-1ubuntu16.04.1~ppa2 500
        500 http://ppa.launchpad.net/costamagnagianfranco/borgbackup/ubuntu xenial/main amd64 Packages
     0.4.6-1build1 500
        500 http://mirror.overthewire.com.au/ubuntu xenial/main amd64 Packages

Normally I wouldn't open a bug like this as it's a conflict between 2 3rd party repos. However the fix is simple, we know the upper limit of msgpack compatibility, we just need to set those limits in the Deb file that we build for the PPA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions