Re: problems with yum --allow-downgrade

Nikola Ciprich <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hi David,
I do have it enabled, but I don't see the package in listing.
Example (util-linux now in lbox-testing repo)

[root@hbtest2 lb5.x86_64]# yum --allow-downgrade --disablerepo=* --enablerepo=lbox-testing list util-linux\*
Loaded plugins: allowdowngrade, protectbase
Excluding Packages in global exclude list
Finished
0 packages excluded due to repository protections
Installed Packages
util-linux.x86_64                        2.13-0.47.el5          installed

[root@hbtest2 lb5.x86_64]# yum --allow-downgrade --disablerepo=* --enablerepo=lbox-testing install util-linux\*
Loaded plugins: allowdowngrade, protectbase
Excluding Packages in global exclude list
Finished
0 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

n.


On Tue, Aug 19, 2008 at 10:31:36PM +1000, David Timms wrote:
> Nikola Ciprich wrote:
>> oops,
>> I forgot to mention versions I'm using:
>> yum-3.2.18
>> yum-allowdowngrade-1.1.15
>> cheers
>> nik
>>
>> On Tue, Aug 19, 2008 at 11:18:42AM +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
> Is that rpm in your configured enabled repos:
> yum list util-lin*
>
> I think by default only the newest will be shown.
>
> eg: on F9
> $ yum --disablerepo=* --enablerepo=fedora list kernel
> Loaded plugins: allowdowngrade, downloadonly, presto, refresh-packagekit
> Setting up and reading Presto delta metadata
> No Presto metadata available for fedora
> Installed Packages
> kernel.i686                              2.6.25.11-97.fc9 installed
> kernel.i686                              2.6.27-0.215.rc1.git4.  
> installed
> Available Packages
> kernel.i586                              2.6.25-14.fc9          fedora
>
> # yum --allow-downgrade update kernel-2.6.25-14.fc9.i686
>
> DaveT.
> _______________________________________________
> 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.