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 over 5 years ago. Updated about 5 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

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 #1

Updated by Javier Bértoli over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Nico César over 5 years ago

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

Updated by Javier Bértoli over 5 years ago

  • Description updated (diff)
Actions #4

Updated by Javier Bértoli over 5 years 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
Actions #5

Updated by Javier Bértoli over 5 years ago

  • Priority changed from Urgent to Immediate

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

Actions #6

Updated by Tom Morris over 5 years ago

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

Updated by Tom Morris over 5 years ago

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

Updated by Tom Morris over 5 years ago

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

Updated by Ward Vandewege over 5 years ago

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

Updated by Tom Morris over 5 years ago

  • Target version changed from 2018-12-12 Sprint to 2018-12-21 Sprint
Actions #11

Updated by Ward Vandewege over 5 years ago

  • Related to Idea #9945: [SDK] Package Python apps as virtualenvs added
Actions #12

Updated by Ward Vandewege over 5 years ago

  • Target version deleted (2018-12-21 Sprint)
Actions #13

Updated by Ward Vandewege about 5 years ago

  • Status changed from New to Resolved
  • Target version set to 2019-02-13 Sprint

Now that #9945 has been merged, those backports are no longer needed, and this problem is moot. Closing this ticket.

Actions #14

Updated by Tom Morris about 5 years ago

  • Release set to 15
Actions

Also available in: Atom PDF