1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Dmitry Bogatov <KAction@debian.org>
Date: Wed, 17 Jul 2019 18:45:45 +0000
Subject: Fix spurious warnings about unknown virtual dependencies
Do not emit warnings about unknown virtual($foo) facility soft
dependency. It is perfectly fine to have soft (should) dependency
on facility, provided by currently not installed package.
Closes: #932199
---
insserv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/insserv.c
+++ b/insserv.c
@@ -472,7 +472,7 @@
break;
}
}
- if (! can_expand_name)
+ if (! can_expand_name && (bit & REQ_MUST))
warn("warning: could not find all dependencies for %s\n", token);
break;
|