On 09/02/13 21:35, Thierry Vignaud wrote: > Hi > > Please let in perl-URPM-4.26 & urpmi-7.19 > I got rid of playing with rpm -Uvh --oldpackage foobar*rpm libfoobarX*rpm, > so I added basic support for --downgrade (mga#6655). > > What's supported is eg: > - enabling updates_testing > - installing foobar from updates_testing > - disabling updates_testing > - running "urpmi --downgrade foobar" which will revert > back to version from updates or release > > Thx > > eg: > # urpmi --downgrade null > The following package has to be removed for others to be upgraded: > null-9-22.mga3.x86_64 > (in order to install null-9-21.mga3.x86_64) (y/N) y > To satisfy dependencies, the following packages are going to be installed: > Package Version Release Arch > (medium "temp45") > lib64null1 9 21.mga3 x86_64 > null 9 21.mga3 x86_64 > 0B of additional disk space will be used. > 2.8KB of packages will be retrieved. > Proceed with the installation of the 2 packages? (Y/n) y > > > installing lib64null1-9-21.mga3.x86_64.rpm null-9-21.mga3.x86_64.rpm from > /home1 > Preparing... ############################################# > 1/2: lib64null1 ############################################# > 2/2: null ############################################# > csh sux > 1/1: removing null-1:9-22.mga3.x86_64 > ############################################# > > # urpme --auto-orphans > writing /var/lib/rpm/installed-through-deps.list > To satisfy dependencies, the following package will be removed (0B): > > (orphan package) > lib64null2-9-22.mga3.x86_64 > Remove 1 package? (y/N)
That will be really useful, thanks for adding it Thierry Claire
