Project

General

Profile

Bug #14326

Updated by Javier BĂ©rtoli over 5 years ago

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

 <pre> 
 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 
 </pre> 

 The issue is that 

 * python-arvados-python-client depends on @python-future@ @python-futurize@ 
 * python3-certbot depends on @python3-future@ @python3-futurize@ 
 * Our packages @python-future@ @python-futurize@ and @python3-future@ @python3-futurize@ 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@ @python-futurize@ contents: 
 <pre> 
 ... 
 ./usr/bin/python2-futurize 
 ./usr/bin/python2-pasteurize 
 ... 
 ./usr/lib/python2.7/dist-packages/ 
 ... 
 </pre> 

 * @python3-future@ @python3-futurize@ contents: 
 <pre> 
 ... 
 ./usr/bin/python3-futurize 
 ./usr/bin/python3-pasteurize 
 ... 
 ./usr/lib/python3/dist-packages 
 ... 
 </pre> 

 The Arvados' repo packages have 

 * @python-future@ @python-futurize@ contents: 
 <pre> 
 ... 
 ./usr/bin/futurize 
 ./usr/bin/pasteurize 
 ... 
 ./usr/lib/python2.7/dist-packages 
 </pre> 
 * @python3-future@ @python3-futurize@ contents: 
 <pre> 
 ... 
 ./usr/bin/futurize 
 ./usr/bin/pasteurize 
 ... 
 ./usr/lib/python3.5/dist-packages 
 ... 
 </pre>

Back