'buildpkg.sh' for OpenSSH - non-interactive install?
Darren Tucker
dtucker at zip.com.au
Thu Jul 18 11:51:10 EST 2002
Kenneth Lareau wrote:
[non-interactive pkgadd failure]
> pkgadd: ERROR: freopen(/dev/tty, "a", stdout) failed, errno=6
> pkgadd: ERROR: preinstall script did not complete successfully
This is a bug in pkgadd (Sun bug ID 1143634). I use the following
workaround:
pkgadd -a openssh.admin -n \
-r openssh.response \
-d "OpenSSH-SunOS-`uname -r`.pkg" OpenSSH \
>/tmp/ssh.txt 2>&1
cat /tmp/ssh.txt
--
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list