Actions
Bug #14326
closedOur custom-compiled `python-future` and `python3-future` packages can't be installed together and have precedence
Status:
Resolved
Priority:
Immediate
Assigned To:
Category:
Deployment
Target version:
Story points:
-
Release:
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
andpython3-future
have precedence over the distro ones, due toapt-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 ...
Actions