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:
parent
57475e5cc7
commit
096b0554f0
@ -222,7 +222,9 @@ Boston, MA 02111-1307, USA.
|
|||||||
fetched from the enabled repositories in
|
fetched from the enabled repositories in
|
||||||
<filename>/etc/yum.repos.d/</filename> and are overlayed on
|
<filename>/etc/yum.repos.d/</filename> and are overlayed on
|
||||||
top of a new deployment. It is also possible to specify a
|
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>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -284,11 +286,6 @@ Boston, MA 02111-1307, USA.
|
|||||||
top of a new deployment.
|
top of a new deployment.
|
||||||
</para>
|
</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>
|
<para>
|
||||||
<command>--reboot</command> or <command>-r</command> to
|
<command>--reboot</command> or <command>-r</command> to
|
||||||
initiate a reboot after the deployment is prepared.
|
initiate a reboot after the deployment is prepared.
|
||||||
|
@ -79,13 +79,13 @@ static RpmOstreeCommand commands[] = {
|
|||||||
"Enable or disable local initramfs regeneration",
|
"Enable or disable local initramfs regeneration",
|
||||||
rpmostree_builtin_initramfs },
|
rpmostree_builtin_initramfs },
|
||||||
{ "install", 0,
|
{ "install", 0,
|
||||||
"Download and install layered RPM packages",
|
"Overlay additional packages",
|
||||||
rpmostree_builtin_install },
|
rpmostree_builtin_install },
|
||||||
{ "uninstall", 0,
|
{ "uninstall", 0,
|
||||||
"Remove one or more overlay packages",
|
"Remove overlayed additional packages",
|
||||||
rpmostree_builtin_uninstall },
|
rpmostree_builtin_uninstall },
|
||||||
{ "override", RPM_OSTREE_BUILTIN_FLAG_LOCAL_CMD,
|
{ "override", RPM_OSTREE_BUILTIN_FLAG_LOCAL_CMD,
|
||||||
"Manage base overrides", rpmostree_builtin_override },
|
"Manage base package overrides", rpmostree_builtin_override },
|
||||||
{ "refresh-md", 0,
|
{ "refresh-md", 0,
|
||||||
"Generate rpm repo metadata",
|
"Generate rpm repo metadata",
|
||||||
rpmostree_builtin_refresh_md },
|
rpmostree_builtin_refresh_md },
|
||||||
|
Loading…
Reference in New Issue
Block a user