From d315c9019cf6e43dd7ecfe17e8d3896469396997 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 18 Jun 2013 16:24:48 +0300 Subject: upgrade: new option: --latest (-l) Select latest version of package (if it is not pinned), and print error if it cannot be installed due to other dependencies. Together with --available, it selects the latest package which is present at least in some repository. This also fixes few solver issues with ordering of package selection that got quite apparent with this flag. Namely, we cannot "lock" a package until it's reverse dependencies are locked or not all of the solver flags are propagated properly. --- test/basic13.test | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/basic13.test (limited to 'test/basic13.test') diff --git a/test/basic13.test b/test/basic13.test new file mode 100644 index 0000000..40f5bb6 --- /dev/null +++ b/test/basic13.test @@ -0,0 +1,10 @@ +@ARGS +--test-repo basic.repo +--test-instdb basic.installed +--test-world a<2 +--latest +upgrade +@EXPECT +ERROR: unsatisfiable constraints: + a-2: + breaks: world[a<2] -- cgit v1.2.3-60-g2f50