[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986872: apt: 'apt-get upgrade' sometimes does not find an buster->bullseye upgrade path with both python-docutils and python3-docutils installed



Package: apt
Version: 1.8.2.2
Severity: important
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

the following packages are installed in buster:

Package: python-docutils
Version: 0.14+dfsg-4
Depends: docutils-common (= 0.14+dfsg-4), python-roman, python:any (<< 2.8), python:any (>= 2.7~)
Recommends: docutils-doc (= 0.14+dfsg-4), libpaper-utils, python-pil, python-pygments

Package: python3-docutils
Version: 0.14+dfsg-4
Depends: docutils-common (= 0.14+dfsg-4), python3-roman, python3:any
Recommends: libpaper-utils, python3-pil, python3-pygments

in bullseye python-docutils is gone and the other one has

Package: python3-docutils
Version: 0.16+dfsg-3
Depends: docutils-common (= 0.16+dfsg-3), python3-roman, python3:any
Recommends: libpaper-utils, python3-pil, python3-pygments

but 'apt-get upgrade' fails to find an upgradable set in some cases as
can be seen in the attached log from catkin:

[...]
    Dependencies are not satisfied for catkin:amd64 < 0.7.14-10 -> 0.8.9-2 @ii umU Ib >
  Keeping package catkin:amd64
    Dependencies are not satisfied for python-docutils:amd64 < 0.14+dfsg-4 @ii mK Ib >
  Keeping package python-docutils:amd64
    Dependencies are not satisfied for python-docutils:amd64 < 0.14+dfsg-4 @ii mK Ib >
  Package python-docutils:amd64 python-docutils:amd64 Depends on docutils-common:amd64 < 0.14+dfsg-4 -> 0.16+dfsg-3 @ii umU > (= 0.14+dfsg-4)
    Keeping Package docutils-common:amd64 due to Depends
    Policy breaks with upgrade of python-docutils:amd64 < 0.14+dfsg-4 @ii mK IPb >
    Policy breaks with upgrade of python-docutils:amd64 < 0.14+dfsg-4 @ii mK IPb >
    Policy breaks with upgrade of python-docutils:amd64 < 0.14+dfsg-4 @ii mK IPb >
    Policy breaks with upgrade of python-docutils:amd64 < 0.14+dfsg-4 @ii mK IPb >

  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   python3-docutils : Depends: docutils-common (= 0.16+dfsg-3) but 0.14+dfsg-4 is to be installed
  E: Broken packages


This can be 'fixed' in python3-docutils by adding an explicit
  Breaks: python-docutils (#986871)
(there is currently an implicit Breaks due to the strictly versioned
dependency on docutils-common).

Andreas

Attachment: catkin_0.8.9-2.log.gz
Description: application/gzip


Reply to: