Bug #14326

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

Added by Javier Bértoli 2 months ago. Updated 2 days ago.

Status:
New
Priority:
Immediate
Assigned To:
Category:
Deployment
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

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

Related to Arvados - Story #11308: Support Python3 for arvados-python-client & command line utilitiesResolved2017-03-21

Related to Arvados - Bug #10881: [cwl] arvados-cwl-runner submitted job fails due to missing dependency futures>=3.0.5 in docker/jobs imageNew2017-01-13

History

#1 Updated by Javier Bértoli 2 months ago

  • Description updated (diff)

#2 Updated by Nico César 2 months ago

  • Related to Story #11308: Support Python3 for arvados-python-client & command line utilities added

#3 Updated by Javier Bértoli 2 months ago

  • Description updated (diff)

#4 Updated by Javier Bértoli 2 months ago

  • Related to Bug #10881: [cwl] arvados-cwl-runner submitted job fails due to missing dependency futures>=3.0.5 in docker/jobs image added

#5 Updated by Javier Bértoli 2 months ago

  • Priority changed from Urgent to Immediate

Updated this bug's priority as it's blocking our work automating Veritas' environment.

#6 Updated by Tom Morris about 2 months ago

  • Assigned To set to Ward Vandewege
  • Target version set to 2018-10-31 sprint

#7 Updated by Tom Morris about 1 month ago

  • Target version changed from 2018-10-31 sprint to 2018-11-14 Sprint

#8 Updated by Tom Morris about 1 month ago

  • Target version changed from 2018-11-14 Sprint to 2018-11-28 Sprint

#9 Updated by Ward Vandewege 16 days ago

  • Target version changed from 2018-11-28 Sprint to 2018-12-12 Sprint

#10 Updated by Tom Morris 2 days ago

  • Target version changed from 2018-12-12 Sprint to 2018-12-21 Sprint

Also available in: Atom PDF