aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2023-09-30 09:25:40 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2023-09-30 09:25:40 +0100
commit7e85ba6752d0f4adaeba87bd800117eb910e748c (patch)
treeee98b4f8d55790511c2b6e290e25524c3d637a67
parentbb45da5ab4f0bdb6468809e4dfb223f57533d2ec (diff)
downloadqarepo-7e85ba6752d0f4adaeba87bd800117eb910e748c.tar
qarepo-7e85ba6752d0f4adaeba87bd800117eb910e748c.tar.gz
qarepo-7e85ba6752d0f4adaeba87bd800117eb910e748c.tar.bz2
qarepo-7e85ba6752d0f4adaeba87bd800117eb910e748c.tar.xz
qarepo-7e85ba6752d0f4adaeba87bd800117eb910e748c.zip
Remove --upgrade option from suggested downgrade command (mga#32333)
That prevented urpmi from downgrading to a package in the release media.
-rw-r--r--NEWS1
-rw-r--r--qarepo2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5f4076b..49b792d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- remove --upgrade option from suggested downgrade command (mga#32333)
- support https in repository URLs
1.6:
diff --git a/qarepo b/qarepo
index 8efc35d..4c120ec 100644
--- a/qarepo
+++ b/qarepo
@@ -703,7 +703,7 @@ sub downgrade_packages {
if (@packages) {
@packages = sort @packages;
- show_downgrade_dialogue("urpmi --update --downgrade @packages");
+ show_downgrade_dialogue("urpmi --downgrade @packages");
} else {
show_error_dialogue("none of the listed packages are installed");
}