Followup-For: Bug #909468
Control: found -1 1.8.0-3

Hi,

the story continues with

  Setting up python-openstack-doc-tools (1.8.0-3) ...
  update-alternatives: using /usr/bin/python2-doc-tools-check-languages to 
provide /usr/bin/doc-tools-check-languages (doc-tools-check-languages) in auto 
mode
  update-alternatives: error: alternative path 
/usr/bin/python2-openstack-auto-commands doesn't exist
  dpkg: error processing package python-openstack-doc-tools (--configure):
   installed python-openstack-doc-tools package post-installation script 
subprocess returned error exit status 2
  Errors were encountered while processing:
   python-openstack-doc-tools

  Setting up python3-openstack-doc-tools (1.8.0-3) ...
  update-alternatives: using /usr/bin/python3-doc-tools-check-languages to 
provide /usr/bin/doc-tools-check-languages (doc-tools-check-languages) in auto 
mode
  update-alternatives: error: alternative path 
/usr/bin/python3-openstack-auto-commands doesn't exist
  dpkg: error processing package python3-openstack-doc-tools (--configure):
   installed python3-openstack-doc-tools package post-installation script 
subprocess returned error exit status 2
  Errors were encountered while processing:
   python3-openstack-doc-tools

And on testing->sid upgrades I see

  Setting up python-openstack-doc-tools (1.8.0-3) ...
  update-alternatives: error: alternative path 
/usr/bin/python2-openstack-auto-commands doesn't exist
  dpkg: error processing package python-openstack-doc-tools (--configure):
   installed python-openstack-doc-tools package post-installation script 
subprocess returned error exit status 2

  Setting up python3-openstack-doc-tools (1.8.0-3) ...
  update-alternatives: error: alternative path 
/usr/bin/python3-openstack-auto-commands doesn't exist
  dpkg: error processing package python3-openstack-doc-tools (--configure):
   installed python3-openstack-doc-tools package post-installation script 
subprocess returned error exit status 2


Looking at the commit fixing the first part in -3 ...
you should probably add update-alternatives --remove commands
to the postinsts to properly clean up the obsolete alternatives
on upgrades.


Andreas

Reply via email to