core: Explain a bit the base/layered split mismatch issue

This is a very commonly hit issue in Fedora land. Add some explanation
so users aren't just confused, as well as the `cleanup -m` pointer. Also
link back to the main issue.

Closes: #1717
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-12-17 16:40:26 -05:00 committed by Atomic Bot
parent 9a3cd0782b
commit 514f4d2473

View File

@ -1610,6 +1610,11 @@ check_goal_solution (RpmOstreeContext *self,
dnf_package_get_nevra (old_pkg),
dnf_package_get_nevra (new_pkg), new_repo);
}
rpmostree_output_message ("This likely means that some of your layered packages "
"have requirements on newer or older versions of some "
"base packages. `rpm-ostree cleanup -m` may help. For "
"more details, see: "
"https://github.com/projectatomic/rpm-ostree/issues/415");
return glnx_throw (error, "Some base packages would be replaced");
}