man/rpm-ostree: Tweak install/uninstall docs

Minor tweaks to try to clarify that the `install` and `uninstall`
commands are for managing an overlay. This should hopefully make it less
likely that someone tries `uninstall` when really they want
`override remove`.

Also drop the paragraph about having to specify NEVRAs for removing
local RPMs since that's no longer necessary.

Closes: #1418
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-06-15 16:14:09 -04:00 committed by Atomic Bot
parent 57475e5cc7
commit 096b0554f0
2 changed files with 6 additions and 9 deletions

View File

@ -222,7 +222,9 @@ Boston, MA 02111-1307, USA.
fetched from the enabled repositories in
<filename>/etc/yum.repos.d/</filename> and are overlayed on
top of a new deployment. It is also possible to specify a
local package that resides on the host.
local RPM package that resides on the host. Overlayed
packages can later be removed with the
<command>uninstall</command> command.
</para>
<para>
@ -284,11 +286,6 @@ Boston, MA 02111-1307, USA.
top of a new deployment.
</para>
<para>When trying to uninstall a package that was installed
from a local RPM (i.e. not from a repository), you must
specify the full NEVRA of the package.
</para>
<para>
<command>--reboot</command> or <command>-r</command> to
initiate a reboot after the deployment is prepared.

View File

@ -79,13 +79,13 @@ static RpmOstreeCommand commands[] = {
"Enable or disable local initramfs regeneration",
rpmostree_builtin_initramfs },
{ "install", 0,
"Download and install layered RPM packages",
"Overlay additional packages",
rpmostree_builtin_install },
{ "uninstall", 0,
"Remove one or more overlay packages",
"Remove overlayed additional packages",
rpmostree_builtin_uninstall },
{ "override", RPM_OSTREE_BUILTIN_FLAG_LOCAL_CMD,
"Manage base overrides", rpmostree_builtin_override },
"Manage base package overrides", rpmostree_builtin_override },
{ "refresh-md", 0,
"Generate rpm repo metadata",
rpmostree_builtin_refresh_md },