Product SiteDocumentation Site

5.13. Show duplicates

In normal operation, yum only considers the latest version of a given package. To view previous versions, you must enable the list of duplicates:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
gpgcheck=1
plugins=1
# Mostrar duplicados 
showdupesfromrepos=1
An example of the results follows.
showdupesfromrepos=0
# su -c "yum list available vorbis-tools"
...
Available Packages
vorbis-tools.i686                    1:1.2.0-8.fc12                     updates
showdupesfromrepos=1
# su -c "yum list available vorbis-tools"
...
Available Packages
vorbis-tools.i686                    1:1.2.0-6.fc12                     fedora 
vorbis-tools.i686                    1:1.2.0-8.fc12                     updates
It is also possible to only enable it on the go with --showduplicates option.
# su -c "yum list available vorbis-tools --showduplicates"
...
Available Packages
vorbis-tools.x86_64                  1:1.2.0-7.fc13                   fedora 
vorbis-tools.x86_64                  1:1.2.0-8.fc13                   updates