diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-15 05:51:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-15 05:51:53 +0000 |
commit | f23e0bbff40b3922f7612be4f12200d657f1d629 (patch) | |
tree | 217882ffe3231a492374d3d31fe138157beb1a26 | |
parent | f5adb14740adfc84b7987e2d5da426b9ebd9a4b5 (diff) | |
download | urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar.gz urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar.bz2 urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.tar.xz urpmi-f23e0bbff40b3922f7612be4f12200d657f1d629.zip |
add basic support for --downgrade (mga#6655)
needs new URPM
(backported from trunk)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | pod/urpmi.8.pod | 4 | ||||
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rwxr-xr-x | urpmi | 2 |
4 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,8 @@ - gurpmi: o add scrollbar for long one liner messages (mga#5118) o wrap big messages (mga#5118) +- urpmi: + o add basic support for --downgrade (mga#6655) - urpmq: minor documentation fix (mga#7166) Version 6.48.3 - 24 August 2012 diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod index d1776c7d..e52591e5 100644 --- a/pod/urpmi.8.pod +++ b/pod/urpmi.8.pod @@ -208,6 +208,10 @@ This is useful if you have C<no-suggests> in urpmi.cfg. Update only the database, not the filesystem. +=item B<--downgrade> + +Force installing the packages even though they are already installed. + =item B<--replacepkgs> Force installing the packages even though they are already installed. diff --git a/urpm/args.pm b/urpm/args.pm index c66db9de..742a4342 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -127,6 +127,7 @@ my %options_spec = ( 'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 }, 'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 }, 'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 }, + 'downgrade' => sub { $urpm->{options}{downgrade} = 1 }, 'parallel=s' => \$::parallel, 'metalink!' => sub { $urpm->{options}{metalink} = $_[1] }, @@ -98,6 +98,8 @@ usage: ") . N(" --clean - remove rpm from cache before anything else. ") . N(" --noclean - don't clean rpms from cache. ") . N(" --justdb - update only the rpm db, not the filesystem. +") . N(" --downgrade - dowgrade a package from the version currently installed + to the previously highest version ") . N(" --replacepkgs - force installing packages which are already installed. ") . N(" --force - force invocation even if some packages do not exist. ") . N(" --allow-nodeps - allow asking user to install packages without |