How to list the version of installed packages in repository?

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Sat Jul 5 11:29:02 UTC 2008


On Sat, 5 Jul 2008 19:03:48 +0800, Yuan Yijun wrote:

> Hi,
> 
> I just enabled updates-testing repo and tried some packages, now I
> want to revert (downgrade) to release version. How should I do this? I
> have installed "allow downgrade" plugin, but it requires package
> versions to be specified on command line (since there is only one
> choice, why should it ask for this?)
> 
> I cannot find package versions easily, "yum list available" returns
> nothing since the package is already "installed", and "yum list all"
> can only return the "installed" records. Plain "yum list" can return
> everything, though it is so hard to use.

Disable updates-testing and run

  yum list extras

to list the packages which are not found in the enable repos.
Then run

  yum --showduplicates list available PKGNAME

or

  yum --showduplicates list all | grep PKGNAME

to list the other package versions available in the repos. What this
option does is explained in the manual.




More information about the fedora-test-list mailing list