Skip to content

Commit

Permalink
core: Explain a bit the base/layered split mismatch issue
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jlebon authored and rh-atomic-bot committed Dec 19, 2018
1 parent 9a3cd07 commit 514f4d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libpriv/rpmostree-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 514f4d2

Please sign in to comment.