summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/superuser--split-transactions--strict-require-and-obsolete.t4
-rw-r--r--urpm.pm1
2 files changed, 3 insertions, 2 deletions
diff --git a/t/superuser--split-transactions--strict-require-and-obsolete.t b/t/superuser--split-transactions--strict-require-and-obsolete.t
index c2e2fcd9..0f8df7b5 100644
--- a/t/superuser--split-transactions--strict-require-and-obsolete.t
+++ b/t/superuser--split-transactions--strict-require-and-obsolete.t
@@ -41,7 +41,7 @@ sub test_c {
urpmi("--media $name-1 --auto a");
check_installed_fullnames('a-1-1', 'bb-1-1', 'c-1-1');
- #- WARNING: below would need the promotion of "b" (obsoleting bb) to work
+ #- below need the promotion of "b" (obsoleting bb) to work
urpmi("--media $name-2 $option --auto c");
- check_installed_fullnames_and_remove('c-2-1'); # a and bb are removed
+ check_installed_fullnames_and_remove('a-1-1', 'b-2-1', 'c-2-1');
}
diff --git a/urpm.pm b/urpm.pm
index 8e48b543..b1ebfb76 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -32,6 +32,7 @@ sub new {
# from URPM
depslist => [],
provides => {},
+ obsoletes => {},
media => undef,
options => {},