summaryrefslogtreecommitdiff
path: root/test/upgrade.repo
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-10-06 16:30:09 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-10-06 16:30:09 +0300
commite0f9b0897be8e5524eaeef302249c90498d3218a (patch)
treef03e9a8cc201c267ffa2152a78b71638438b84c9 /test/upgrade.repo
parentf2d9a1440546da4fc9302a93370039b3a12c77ce (diff)
downloadapk-tools-e0f9b0897be8e5524eaeef302249c90498d3218a.tar.gz
apk-tools-e0f9b0897be8e5524eaeef302249c90498d3218a.tar.bz2
apk-tools-e0f9b0897be8e5524eaeef302249c90498d3218a.tar.xz
apk-tools-e0f9b0897be8e5524eaeef302249c90498d3218a.zip
solver: enforce conflicts during upgrades and new pkg installs
This makes sure any conflicted packages will be removed first. Useful if we know there are conflicting files, and want to avoid adding potentially harmful replaces line. Add a test case for this too.
Diffstat (limited to 'test/upgrade.repo')
-rw-r--r--test/upgrade.repo27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/upgrade.repo b/test/upgrade.repo
new file mode 100644
index 0000000..032a29b
--- /dev/null
+++ b/test/upgrade.repo
@@ -0,0 +1,27 @@
+C:Q1EyN5AdpAOBJWKMR89pp/C66o+OE=
+P:libold
+V:1
+S:1
+I:1
+
+C:Q1EyN5AdpAOBJWKMR89pp/C66o+FE=
+P:libnew
+V:1
+S:1
+I:1
+D:!libold
+
+C:Q1eVpkasfqZAukAXFYbgwt4xAEEEe=
+P:app
+V:1
+S:1
+I:1
+D:libold
+
+C:Q1EyN5AdpAOBJWKMR89pp/C77FFFF=
+P:app
+V:2
+S:1
+I:1
+D:libnew
+