Re: problems with yum --allow-downgrade

Nikola Ciprich <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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@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@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@hbtest2 lb5.x86_64]# rpm -q util-linux
> > util-linux-2.13-0.47.el5
> > 
> > [root@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@hbtest2 lb5.x86_64]#
> 
> try this:
> 
> yum --allow-downgrade install util-linux-2.13-lb5.01.x86_64.rpm
> 
> -sv
> 
> 
> _______________________________________________
> Yum mailing list
> [email protected]
> 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: [email protected]
-------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.