Bug#849509: Logs show popularity-contest installation indeed occurs after user says no

2019-04-02 Thread 積丹尼 Dan Jacobson
OK. The package is actually installed. It is just the message about that
being buffered until the next interaction probably.



Bug#849509: Logs show popularity-contest installation indeed occurs after user says no

2019-04-02 Thread Samuel Thibault
Hello,

積丹尼 Dan Jacobson, le mar. 02 avril 2019 21:21:31 +0800, a ecrit:
> Later examine the logs.
> You will see actual installation (and then removal) indeed occurs
> *after* the user has answered "no".
> 
> So the user's eyes didn't fool him after all.

Please read again. Taking the original log as instance:

Dec 25 23:38:10 in-target: Preconfiguring packages ...

  *there*

Dec 25 23:38:14 in-target: Selecting previously unselected package 
popularity-contest.
Dec 25 23:38:14 in-target: ^M
Dec 25 23:38:14 in-target: (Reading database ...
Dec 25 23:38:14 in-target: 15048 files and directories currently installed.)
Dec 25 23:38:14 in-target: Preparing to unpack 
.../popularity-contest_1.64_all.deb ...
Dec 25 23:38:14 in-target: Unpacking popularity-contest (1.64) ...^M
Dec 25 23:38:14 in-target: Setting up popularity-contest (1.64) ...
Dec 25 23:38:15 in-target: (Reading database ... 15073 files and directories 
currently installed.)
Dec 25 23:38:15 in-target: Removing popularity-contest (1.64) ...
Dec 25 23:38:15 in-target: Purging configuration files for popularity-contest 
(1.64) ...
Dec 25 23:38:16 pkgsel: starting tasksel
Dec 25 23:39:30 in-target: Reading package lists...


Questions are asked at the preconfigure stage, which is indeed before
installing the package. But preconfigure (thus the question) can't
happen without installing the package, even if only to remove it right
after that.

Samuel



Bug#849509: Logs show popularity-contest installation indeed occurs after user says no

2019-04-02 Thread Ben Hutchings
On Tue, 2019-04-02 at 21:21 +0800, 積丹尼 Dan Jacobson wrote:
> Actually try this:
> When you get to the popularity-contest question, wait a few moments,
> then answer "no".
> 
> Later examine the logs.
> You will see actual installation (and then removal) indeed occurs
> *after* the user has answered "no".
> 
> So the user's eyes didn't fool him after all.

I understand that this can be confusing and may lead to users
mistrusting Debian, and it would be good to avoid that.  But please
don't try to tell us how the installer works.  The question is part of
popularity-contest, so the package has to be installed in order to ask
the question.

Ben.

-- 
Ben Hutchings
Klipstein's 4th Law of Prototyping and Production:
   A fail-safe circuit will destroy others.




signature.asc
Description: This is a digitally signed message part


Bug#849509: Logs show popularity-contest installation indeed occurs after user says no

2019-04-02 Thread 積丹尼 Dan Jacobson
Actually try this:
When you get to the popularity-contest question, wait a few moments,
then answer "no".

Later examine the logs.
You will see actual installation (and then removal) indeed occurs
*after* the user has answered "no".

So the user's eyes didn't fool him after all.