On Sun, 6 Oct 2013 17:24:32 +0200 Vincent Lefevre wrote:

[...]
> On 2013-10-06 13:07:21 +0200, Francesco Poli wrote:
[...]
> > Maybe the apt-listbugs(1) man page may be clarified further, but I am
> > afraid it would become a little bit too verbose...
> 
> I think this can be done without too verbose.
[...]

What about the following change?
Do you think it clarifies?



EXIT STATUS

  0    If the program ran successfully and (when in apt mode) you
       decided to continue with the installation/upgrade.

  1    If an error occurred.

  10   If the program ran successfully in apt mode, but you decided to
       abort the installation/upgrade.

  130  If a SIGINT was received (for instance because you pressed
       [Ctrl+C]).

N.B.: When the program is invoked by APT, any non-zero exit status will
cause the installation/upgrade to be aborted.


> 
> BTW, above in the man page:
> 
>     · -y, --force-yes Assumes that you select yes for all questions.
> 
>     · -n, --force-no Assumes that you select no for  all  questions.
>     This option is assumed if stdout is not a terminal.
> 
> But if the man page doesn't say which kind of question is asked (like
> "Do you want to continue?" or the opposite "Do you want to abort?"),
> this is not very helpful. Is
> 
>   Are you sure you want to install/upgrade the above packages?
> 
> the only question?

The questions that may be answered automatically are
"Are you sure you want to install/upgrade the above packages?"
or
"Retry downloading bug information?" and
"Continue the installation anyway?" (in case of network errors).


Hence a possible clarification may be the following.
Please let me know what you think about it.


  · -y, --force-yes Assumes that you select yes for all questions. When
  in apt mode, this implies that you accept to continue with the
  installation/upgrade, even when bugs are found or errors occur.

  · -n, --force-no Assumes that you select no for all questions. When
  in apt mode, this implies that you want to abort the
  installation/upgrade, as soon as bugs are found or errors occur. This
  option is assumed if stdout is not a terminal.





-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgp3v1lEdfsrF.pgp
Description: PGP signature

Reply via email to