From 587856eb89a02f0324acb62aa3c76e2334c61c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Sun, 27 Jun 2021 19:16:03 -0300 Subject: [PATCH] xbps-install.1: improve description for -y. It is a common confusion that --yes should also accept new signing keys; it really shouldn't, so document that explicitly. Also explain how to tell XBPS about trusted keys. --- bin/xbps-install/xbps-install.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/xbps-install/xbps-install.1 b/bin/xbps-install/xbps-install.1 index 3c146bad..95695756 100644 --- a/bin/xbps-install/xbps-install.1 +++ b/bin/xbps-install/xbps-install.1 @@ -171,7 +171,12 @@ versions that were found in repositories. .It Fl v , Fl -verbose Enables verbose messages. .It Fl y , Fl -yes -Assume yes to all questions and avoid interactive questions. +Assume yes to most questions and avoid interactive questions. +A prompt will still be shown if the transaction requires trusting +a new signing key for packages. +If you need to automate new installations, +it is necessary to add these keys to the system before installation, see +.Sx FILES . .It Fl V , Fl -version Show the version information. .El @@ -251,6 +256,8 @@ Default system configuration directory. Package files metadata. .It Ar /var/db/xbps/pkgdb-0.38.plist Default package database (0.38 format). Keeps track of installed packages and properties. +.It Ar /var/db/xbps/keys +Default trusted keys directory. .It Ar /var/cache/xbps Default cache directory to store downloaded binary packages. .El