aboutsummaryrefslogtreecommitdiff
path: root/bpkg
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-09-26 11:47:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-09-26 11:47:01 +0300
commit5c595097000d31ce1aa016e0d376bddc30a8e746 (patch)
tree28efefebb1527edb8902c72bc2f220962ee84bad /bpkg
parent57637947f4ab41c43cbf775959bcde39f1d36403 (diff)
Improve 'unable to upgrade package' diagnostics in pkg-build
Diffstat (limited to 'bpkg')
-rw-r--r--bpkg/pkg-build-collect.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/bpkg/pkg-build-collect.cxx b/bpkg/pkg-build-collect.cxx
index c7180d2..47e097f 100644
--- a/bpkg/pkg-build-collect.cxx
+++ b/bpkg/pkg-build-collect.cxx
@@ -499,11 +499,11 @@ namespace bpkg
dr << info << "package " << p.available_name_version ()
<< " required by" << rb;
- dr << info << "explicitly request up/downgrade of package "
- << dk.name;
-
- dr << info << "or explicitly specify package " << n
- << " version to manually satisfy these constraints" << endf;
+ dr << info << "consider re-trying with --upgrade|-u potentially combined "
+ << "with --recursive|-r" <<
+ info << "or explicitly request up/downgrade of package " << dk.name <<
+ info << "or explicitly specify package " << n << " version to "
+ << "manually satisfy these constraints" << endf;
}
// postponed_configuration