diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-06-18 16:24:48 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-19 08:33:51 +0300 |
commit | d315c9019cf6e43dd7ecfe17e8d3896469396997 (patch) | |
tree | 68a54cb549792813700c18f19177bd1c2c52fe56 /src/apk_solver_data.h | |
parent | f91b01fea8a0e2b32ccf9d3eea8468d5312633c4 (diff) | |
download | apk-tools-d315c9019cf6e43dd7ecfe17e8d3896469396997.tar.gz apk-tools-d315c9019cf6e43dd7ecfe17e8d3896469396997.tar.bz2 apk-tools-d315c9019cf6e43dd7ecfe17e8d3896469396997.tar.xz apk-tools-d315c9019cf6e43dd7ecfe17e8d3896469396997.zip |
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.
Diffstat (limited to 'src/apk_solver_data.h')
-rw-r--r-- | src/apk_solver_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_solver_data.h b/src/apk_solver_data.h index cc41f6d..7a5e275 100644 --- a/src/apk_solver_data.h +++ b/src/apk_solver_data.h @@ -32,6 +32,7 @@ struct apk_solver_name_state { unsigned locked : 1; unsigned has_iif : 1; unsigned has_options : 1; + unsigned reverse_deps_done : 1; }; struct apk_solver_package_state { |