virtual obsoletes and locking
authorStefan Schubert <schubi@suse.de>
Sat, 25 Feb 2006 17:17:34 +0000 (17:17 +0000)
committerStefan Schubert <schubi@suse.de>
Sat, 25 Feb 2006 17:17:34 +0000 (17:17 +0000)
testsuite/solver/data.deptestomatic/lock-tests/exercise-obscureobsoletes-03-test.solution [new file with mode: 0644]
testsuite/solver/data.deptestomatic/lock-tests/exercise-obscureobsoletes-03-test.xml

diff --git a/testsuite/solver/data.deptestomatic/lock-tests/exercise-obscureobsoletes-03-test.solution b/testsuite/solver/data.deptestomatic/lock-tests/exercise-obscureobsoletes-03-test.solution
new file mode 100644 (file)
index 0000000..3de975d
--- /dev/null
@@ -0,0 +1,6 @@
+>!> Locking foo from channel @system
+>!> Locking foo-devel from channel @system
+>!> Installing foo2old from channel test
+>!> Solution #1:
+>!> install foo2old-2.0-1.noarch[test]
+>!> installs=1, upgrades=0, uninstalls=0
index 887cd28..c86b089 100644 (file)
@@ -6,12 +6,11 @@
 </setup>
 
 <!-- 
-# 3 same but this time via obsoletion of provides
-foo2old
+# obsolete an virtual provides --> no attempt deleting foo and foo-devel  
  -->
 <trial>
-  <lock package="foo" channel="test"/>
-  <lock package="foo-devel" channel="test"/>
+  <lock package="foo" channel="@system"/>
+  <lock package="foo-devel" channel="@system"/>
   <install channel="test" package="foo2old"/>
 </trial>