Description of problem:
Since upgrading to Fedora 28, daily yum-cron updates fail with the following message:
Failed to build transaction: slick-greeter-1.1.5-0.4.20180309gitfc13bd0.fc28.x86_64 requires (slick-greeter-cinnamon = 1.1.5-0.4.20180309gitfc13bd0.fc28 if cinnamon)
After "yum group upgrade "MATE Desktop"", yum-cron now fails with the message:
Updates failed to install with the following error message:
Invalid version flag: if
I believe the "if" it's referring to is the one at the end of the first message above.
Version-Release number of selected component (if applicable):
Extremely. All 6 of my Fedora 28 boxes are exhibiting the same behavior. They are all running MATE Desktop.
Steps to Reproduce:
1. dnf upgrade a MATE Desktop system from Fedora 27 to 28
2. run yum-cron
yum-cron fails with "Failed to build transaction: slick-greeter-1.1.5-0.4.20180309gitfc13bd0.fc28.x86_64 requires (slick-greeter-cinnamon = 1.1.5-0.4.20180309gitfc13bd0.fc28 if cinnamon)"
List of successfully updated packages.
If you choose to use obsolete yum you can expect issues like this as it can't handle recent rpm changes.
yum-cron is also orphaned so no one is going to fix this non issue.
The solution is to transition from yum-cron to dnf-automatic like so:
sudo dnf install dnf-automatic
sudo $EDITOR /etc/dnf/automatic.conf
for action in status enable start status ; do
sudo systemctl $action dnf-automatic-install.timer
sudo dnf erase yum-cron
yum has been using dnf on the back end for some time. I didn't realize that yum-cron wasn't doing the same. yum-cron is fresh-built for F28, distributed, but doomed-to-fail package.
Thanks for the clues. Maybe someone else will find the above useful.