[Yum] problems with yum --allow-downgrade

Nikola Ciprich extmaillist at linuxbox.cz
Fri Aug 22 11:42:59 UTC 2008


Hi Seth,
sorry to bother, do You have some other idea why this is not working?

I tried a bit of debugging, and it seems that code in postresolve_hook
is not reached at all, even if I enable the allow-downgrade flag.

[root at vmnci06 yum-cli]# yum --showduplicates list util-linux
Loaded plugins: allowdowngrade, protectbase
enabling allowdowngrade!
93 packages excluded due to repository protections
Installed Packages
util-linux.x86_64                        2.13-0.47.el5          installed
Available Packages
util-linux.x86_64                        2.13-lb5.01            lbox-testing

[root at vmnci06 yum-cli]# yum --showduplicates --allow-downgrade install util-linux
Loaded plugins: allowdowngrade, protectbase
enabling allowdowngrade!
93 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Package matching util-linux-2.13-lb5.01.x86_64 already installed. Checking for update.
Nothing to do

Any ideas?

thanks in advance

with best regards
nik


On Tue, Aug 19, 2008 at 10:08:25AM -0400, Seth Vidal wrote:
> On Tue, 2008-08-19 at 11:18 +0200, Nikola Ciprich wrote:
> > Hi,
> > I'd like to use yum to downgrade packages, but I'm unable to get allowdowngrade plugin to work.
> > 
> > [root at hbtest2 lb5.x86_64]# rpm -q util-linux
> > util-linux-2.13-0.47.el5
> > 
> > [root at hbtest2 lb5.x86_64]# yum --allow-downgrade update util-linux-2.13-lb5.01.x86_64.rpm
> > Loaded plugins: allowdowngrade, protectbase
> > Excluding Packages in global exclude list
> > Finished
> > 90 packages excluded due to repository protections
> > Setting up Update Process
> > Examining util-linux-2.13-lb5.01.x86_64.rpm: util-linux-2.13-lb5.01.x86_64
> > util-linux-2.13-lb5.01.x86_64.rpm: does not update installed package.
> > No Packages marked for Update
> > [root at hbtest2 lb5.x86_64]#
> 
> try this:
> 
> yum --allow-downgrade install util-linux-2.13-lb5.01.x86_64.rpm
> 
> -sv
> 
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
> 

-- 
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------



More information about the Yum mailing list