Source: xine-ui
Version: 0.99.9-1.1
Severity: serious

Hi,

The libxine2-ffmpeg, libxine2-misc-plugins and libxine2-x packages
have a trigger cycle via the xine-ui package.  This was detected by a
script on jenkins.debian.net[1].

Steps to reproduce the cycle (in a Jessie/sid chroot):

"""
apt-get install xine-ui libxine2-ffmpeg
dpkg --unpack /var/cache/apt/archives/libxine2-ffmpeg_*.deb
dpkg --configure --pending
"""
(Similar for the other libxine2-* binaries)

This simulates an upgrade scenario, where libxine2-ffmpeg might be
temporarily deconfigured while xine-ui remains configured.  If this
happens, dpkg is unable to recover as the cycle due to "await" trigger
AND the dependency requires both packages to be configured.

Known solutions:

 * Use no-await triggers.  *CAVEAT*: not always applicable.  Known suitable
   use cases includes "cache" handling, where the cache is allowed to be
   out of date tempoarily.
 * Reduce the dependency to Recommends.  *CAVEAT*: Rarely applicable.
 * Rewrite the solution to avoid triggers entirely. *CAVEAT*: May be
   non-trivial and likely to involve updates to all packages relying on
   the trigger.

~Niels

[1] 
https://jenkins.debian.net/view/Warnings/job/dpkg_sid_find_trigger_cycles/32/console


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to