Project

General

Profile

Actions

Bug #14326

closed

Our custom-compiled `python-future` and `python3-future` packages can't be installed together and have precedence

Added by Javier Bértoli about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Immediate
Assigned To:
Category:
Deployment
Target version:
Story points:
-
Release relationship:
Auto

Description

When installing python3-certbot from stretch-backports, which depends in python3-future along with python-arvados-python-client, apt fails with

dpkg: error processing archive /var/cache/apt/archives/python3-future_0.16.0-2_all.deb (--unpack):
 trying to overwrite '/usr/bin/futurize', which is also in package python-future 0.16.0-2

The issue is that

  • python-arvados-python-client depends on python-future
  • python3-certbot depends on python3-future
  • Our packages python-future and python3-future have precedence over the distro ones, due to apt-preferences
  • Our packages have invalid content and do not differentiate between versions.

While the distro's packages have:

  • python-future contents:
    ...
    ./usr/bin/python2-futurize
    ./usr/bin/python2-pasteurize
    ...
    ./usr/lib/python2.7/dist-packages/
    ...
    
  • python3-future contents:
    ...
    ./usr/bin/python3-futurize
    ./usr/bin/python3-pasteurize
    ...
    ./usr/lib/python3/dist-packages
    ...
    

The Arvados' repo packages have

  • python-future contents:
    ...
    ./usr/bin/futurize
    ./usr/bin/pasteurize
    ...
    ./usr/lib/python2.7/dist-packages
    
  • python3-future contents:
    ...
    ./usr/bin/futurize
    ./usr/bin/pasteurize
    ...
    ./usr/lib/python3.5/dist-packages
    ...
    

Related issues 3 (0 open3 closed)

Related to Arvados - Idea #11308: Support Python3 for arvados-python-client & command line utilitiesResolvedTom Clegg03/21/2017Actions
Related to Arvados - Bug #10881: [cwl] arvados-cwl-runner submitted job fails due to missing dependency futures>=3.0.5 in docker/jobs imageClosedPeter Amstutz01/13/2017Actions
Related to Arvados - Idea #9945: [SDK] Package Python apps as virtualenvsResolvedWard Vandewege09/07/2016Actions
Actions

Also available in: Atom PDF