This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=c89140d8bfe69637e50d25949c655cd03d19c6ab

commit c89140d8bfe69637e50d25949c655cd03d19c6ab
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Nov 13 21:01:05 2020 +0100

    libdpkg: Do not forget not-installed packages that are set on hold
    
    These are used to denote that the package is not to be installed.
    
    Reported-by: David Kalnischkies <[email protected]>
---
 lib/dpkg/parse.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/dpkg/parse.c b/lib/dpkg/parse.c
index c4e5cf21c..6b6582a19 100644
--- a/lib/dpkg/parse.c
+++ b/lib/dpkg/parse.c
@@ -279,8 +279,7 @@ pkg_parse_verify(struct parsedb_state *ps,
       pkg->status == PKG_STAT_NOTINSTALLED &&
       pkg->eflag == PKG_EFLAG_OK &&
       (pkg->want == PKG_WANT_PURGE ||
-       pkg->want == PKG_WANT_DEINSTALL ||
-       pkg->want == PKG_WANT_HOLD)) {
+       pkg->want == PKG_WANT_DEINSTALL)) {
     pkg_set_want(pkg, PKG_WANT_UNKNOWN);
   }
 

-- 
Dpkg.Org's dpkg

Reply via email to