Bug#224509: Don't require a TTY during maintainer script execution
Russ Allbery wrote:
> Vincent Danjean <Vincent.Danjean@ens-lyon.org> writes:
>> Russ Allbery wrote:
>
>>> I'm also not sure that I was right in my previous message about using
>>> the exit status of tty, since it still does make sense to prompt if run
>>> via ssh <host> aptitude upgrade. But I don't know how to detect that
>>> case as different from a truly non-interactive install.
>
>> I had issue with "ssh host apt-get dist-upgrade". Now, I add the "-t"
>> option to ssh so that apt-get got a tty
>
> Do you remember what package you ran into trouble with and what happened?
Not at all, sorry. It was at least a few month ago.
--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main
Reply to: