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

d-e-a introduces trigger cycles



Hi,

from https://jenkins.debian.net/job/dpkg_sid_find_trigger_cycles/326/consoleFull

+----------------------------------------------------------+
|               file based trigger cycles                  |
+----------------------------------------------------------+

The following table has four columns A, B, C and D. The first column A shows a
binary package which shows interested in a certain path. The second column B
shows the path that A is interested in. The third column C is a binary package
that A (directly or indirectly) depends on. The fourth column D shows the path
that C provides and which is triggering A through its interest in B.

The cycle is created because when C is put into the triggers-awaited state
(because it triggers A), then it cannot satisfy dependencies until it leaves that
state. But:

 - for C to leave the triggers-awaited state, the trigger has to be resolved
   by A, which cannot happen unless A gets configured
 - to configure A, its dependency on C has to be resolved which cannot happen
   unless C leaves the triggers-awaited state

This creates the cycle if the packages are installed in a certain order.

These problems could be fixed by either letting A no longer depend on C or by
switching triggers to their -noawait variants. See the deb-triggers(5) man page
for an explanation of the different trigger control directives. You can also
read /usr/share/doc/dpkg-dev/triggers.txt.gz for an in-depth documentation of
dpkg triggers.

debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-lines debian-edu-artwork-lines /usr/share/doc/debian-edu-artwork-lines/AUTHORS
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-lines debian-edu-artwork-lines /usr/share/doc/debian-edu-artwork-lines/NEWS.gz
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-lines debian-edu-artwork-lines /usr/share/doc/debian-edu-artwork-lines/README
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-lines debian-edu-artwork-lines /usr/share/doc/debian-edu-artwork-lines/changelog.Debian.gz
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-lines debian-edu-artwork-lines /usr/share/doc/debian-edu-artwork-lines/copyright
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-spacefun debian-edu-artwork-spacefun /usr/share/doc/debian-edu-artwork-spacefun/AUTHORS
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-spacefun debian-edu-artwork-spacefun /usr/share/doc/debian-edu-artwork-spacefun/NEWS.gz
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-spacefun debian-edu-artwork-spacefun /usr/share/doc/debian-edu-artwork-spacefun/README
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-spacefun debian-edu-artwork-spacefun /usr/share/doc/debian-edu-artwork-spacefun/changelog.Debian.gz
debian-edu-artwork-softwaves /usr/share/doc/debian-edu-artwork-spacefun debian-edu-artwork-spacefun /usr/share/doc/debian-edu-artwork-spacefun/copyright


-- 
cheers,
	Holger

Attachment: signature.asc
Description: Digital signature


Reply to: