diff options
author | Guillem Jover <guillem@debian.org> | 2019-05-13 03:36:03 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-06-03 03:23:57 +0200 |
commit | b5c50b3c6f0739f45aaa03afa3e5c857e7895c8c (patch) | |
tree | a954d152949841aab6ee6a3b5566efef973cda62 /src/main.h | |
parent | 66223cb9ee839f4fe9c661fbb8818fae9833cf8d (diff) | |
download | dpkg-b5c50b3c6f0739f45aaa03afa3e5c857e7895c8c.tar.gz |
dpkg: Introduce a new dependency try level for trigger cycle checks
This new dependtry level will also check trigger cycles on trigger
process deferral due to unsatisfiable dependencies.
Closes: #928429
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/main.h b/src/main.h index e4a251969..3418c7bcc 100644 --- a/src/main.h +++ b/src/main.h @@ -234,18 +234,23 @@ void deferred_configure(struct pkginfo *pkg); * Start processing triggers if necessary. * Do as for try 2. * - * Try 4 (only if --force-depends-version): + * Try 4: + * Same as for try 3, but check trigger cycles even when deferring + * processing due to unsatisfiable dependencies. + * + * Try 5 (only if --force-depends-version): * Same as for try 2, but don't mind version number in dependencies. * - * Try 5 (only if --force-depends): + * Try 6 (only if --force-depends): * Do anyway. */ enum dependtry { DEPEND_TRY_NORMAL = 1, DEPEND_TRY_CYCLES = 2, DEPEND_TRY_TRIGGERS = 3, - DEPEND_TRY_FORCE_DEPENDS_VERSION = 4, - DEPEND_TRY_FORCE_DEPENDS = 5, + DEPEND_TRY_TRIGGERS_CYCLES = 4, + DEPEND_TRY_FORCE_DEPENDS_VERSION = 5, + DEPEND_TRY_FORCE_DEPENDS = 6, DEPEND_TRY_LAST, }; |