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.
  • Loading branch information
jlebon committed Dec 17, 2018
1 parent 5202ce0 commit 47295df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libpriv/rpmostree-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1610,8 +1610,12 @@ 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.");

return glnx_throw (error, "Some base packages would be replaced");
return glnx_throw (error, "Some base packages would be replaced. Upstream issue: "
"https://github.com/projectatomic/rpm-ostree/issues/415");
}
}

Expand Down

0 comments on commit 47295df

Please sign in to comment.