|
From: | Bas van der Vlies |
Subject: | Re: [Cfengine] shellcommands: 3: Bad file descriptor] |
Date: | Fri, 16 Sep 2005 15:01:03 +0200 |
User-agent: | Mozilla Thunderbird 1.0.6 (Windows/20050716) |
Michael Chesterton wrote:
Hello, I'm trying to install a deb package through shellcommands: the apt-get install command is dying with /var/lib/dpkg/info/nullmailer.postinst: line 31: 3: Bad file descriptor line 31 is a debconf function which does echo STOP >&3 above that is exec 3>&1 1>&2 I'm completely lost, any ideas?What's also confusing me isecho "$@" >&3 is run multiple times before the echo STOP with no error message.
Which version do you use? I am using the following setup: debconf (non-interactive) dpkg-reconfigure -f dialog -p medium debconf Upgrade_debian script: ================================================= #!/bin/sh export DEBIAN_FRONTEND="noninteractive" apt-get update apt-get -y upgrade apt-get clean -- ******************************************************************** * * * Bas van der Vlies e-mail: basv@sara.nl * * SARA - Academic Computing Services phone: +31 20 592 8012 * * Kruislaan 415 fax: +31 20 6683167 * * 1098 SJ Amsterdam * * * ********************************************************************
[Prev in Thread] | Current Thread | [Next in Thread] |