Description of problem:
PackageKit does not exclude packages listed in /etc/yum.conf
Version-Release number of selected component (if applicable):
Add a package or packages to /etc/yum.conf:
exclude=dracut dracut-config-rescue dracut-network
Steps to Reproduce:
1. Downgrade packages, such as dracut, dracut-config-rescue dracut-network
2. Add those packages to yum.conf as excludes
4. as root, yum update. Excluded packages are not marked for update.
5. Apper (KDE front end to PackageKit) shows updates available, and will
actually update the unwanted packages unless one explicitly unchecks them.
If there are updates available to files listed as excluded in
/etc/yum.conf, the packages are updated.
Don't update packages that are excluded in /etc/yum.conf
I had to uninstall apper to stop the little gear icon from appearing all
the time on my panel,which means I have to remember to use yum from the
command line periodically to see what's new.
Unfortunately, starting with f21, PackageKit's new backend functions independantly of yum (and dnf).
In short, your expectations (that PackageKit should continue respect yum.conf) cannot be met any more.
So, how does PackageKit exclude packages to be updated?
That's a good question (I don't know), one better asked in a more appropriate venue (not a bug tracker):
What fortunately still works is if you place the exclude directive into individual .repo files under /etc/yum.repos.d/