summaryrefslogtreecommitdiff
path: root/src/enquiry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enquiry.c')
-rw-r--r--src/enquiry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/enquiry.c b/src/enquiry.c
index 0e00eb6ca..fe9e30106 100644
--- a/src/enquiry.c
+++ b/src/enquiry.c
@@ -355,7 +355,7 @@ assert_version_support(const char *const *argv,
return 0;
case stat_unpacked: case stat_halfconfigured: case stat_halfinstalled:
case stat_triggersawaited:
- if (versionsatisfied3(&pkg->configversion, version, dvr_laterequal))
+ if (versionsatisfied3(&pkg->configversion, version, dpkg_relation_ge))
return 0;
printf(_("Version of dpkg with working %s support not yet configured.\n"
" Please use 'dpkg --configure dpkg', and then try again.\n"),
@@ -484,7 +484,7 @@ predeppackage(const char *const *argv)
pkg = trypkg;
break;
}
- if (possi->verrel != dvr_none)
+ if (possi->verrel != dpkg_relation_none)
continue;
for (provider = possi->ed->depended.available;
!pkg && provider;