Red Hat Bugzilla – Bug 437650
'yum list extras' gives spurious results with yum-priorities enabled
Last modified: 2014-01-21 18:02:05 EST
Description of problem:
When run with yum-priorities enabled and various repos set to different
priorities, 'yum list extras' returns package names for all packages from
low-priority repos, even though the packages are in fact still available. If
run without yum-priorities, the list of "extra" packages shrinks to the expected
output (i.e., only packages which are actually no longer available from any
configured repo). Same goes for 'package-cleanup --orphans' from yum-utils.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install above packages;
2. Configure repo priorities;
3. Run 'yum list extras' or 'package-cleanup --orphans'
4. Observe list of packages.
Any package from low-priority repo(s) is flagged as "extra". Note that most of
the packages are in fact prerequisites for other packages.
Only packages which are obsolete and/or no longer available from any repo(s)
should be flagged as "extra".
uname -a: Linux micron-pc-rb.localdomain 184.108.40.206-12.fc8 #1 SMP Tue Feb 26
14:58:29 EST 2008 i686 i686 i386 GNU/Linux
on a Micron.pc ClientPro CN
That is a expected behavior, the way priorities work is to exclude all
low-priority packages from the yum package list, so from yum's point of view,
then packages don't exist, so installed packages from low pri repo, will be
flagged as extras.
There is a number of issues with priorities and other plugins there does
something like it.
it is not something we can do anything to fix.