Bug#920693: apt / apt-get should warn when a Recommends dependency gets broken in an upgrade
On Mon, Jan 28, 2019 at 12:40:15PM +0100, Vincent Lefevre wrote:
> Package: apt
> Version: 1.8.0~beta1
> Severity: normal
>
> Package debian-policy has:
>
> Recommends: libjs-sphinxdoc (<< 1.7.9.0~), libjs-sphinxdoc (>= 1.7.9)
>
> but apt-get will upgrade libjs-sphinxdoc to a version that no longer
> satisfies this dependency, without any warning:
>
> $ apt-get install -s libjs-sphinxdoc
> NOTE: This is only a simulation!
> apt-get needs root privileges for real execution.
> Keep also in mind that locking is deactivated,
> so don't depend on the relevance to the real current situation!
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be upgraded:
> libjs-sphinxdoc
> 1 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.
> Inst libjs-sphinxdoc [1.7.9-1] (1.8.3-2 Debian:unstable [all])
> Conf libjs-sphinxdoc (1.8.3-2 Debian:unstable [all])
>
> Ditto with apt.
It will however, not upgrade it as part of an upgrade or dist-upgrade.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Reply to: