diff --git a/bin/xbps-install/util.c b/bin/xbps-install/util.c index bb220b09..eff9f4ac 100644 --- a/bin/xbps-install/util.c +++ b/bin/xbps-install/util.c @@ -158,7 +158,7 @@ print_trans_colmode(struct transaction *trans, int cols) ver = xbps_pkg_version(pkgver); if (iver) { int rv = xbps_cmpver(iver, ver); - if (rv == 1) + if (rv == 1 && strcmp(tract, "hold")) tract = "downgrade"; else if (rv == 0 && strcmp(tract, "remove")) tract = "reinstall";