Package: debconf-doc
Version: 1.4.30.13
Tags: patch, sarge
man 7 debconf gives an example of piping debconf database
information over ssh. The example refers to a DEBCONF_FRONTEND
environment variable that, best as I can tell, should be
DEBIAN_FRONTEND, as per the include patch below. Setting
DEBCONF_FRONTEND=noninteractive before any apt-get or aptitude
command still allows that command to behave interactively.
Alternately, this could be filed as a bug against debconf,
requesting that any instances of DEBIAN_ in the name of debconf
environment variables all be changed to DEBCONF_, but for now,
this seems like the more conservative fix, to be followed
perhaps by a wishlist item requesting a change to the name of
the variables.
Anyway, here is the patch, against an uncompressed version of
/usr/share/man/man7/debconf.7.gz:
--- debconf.7 2005-04-18 16:50:44.000000000 -0500
+++ debconf.7.dja 2005-04-18 16:51:03.000000000 -0500
@@ -220,7 +220,7 @@
use:
.P
cat /var/cache/debconf/config.dat | \\
- ssh [EMAIL PROTECTED] "DEBCONF_FRONTEND=noninteractive \\
+ ssh [EMAIL PROTECTED] "DEBIAN_FRONTEND=noninteractive \\
DEBCONF_DB_FALLBACK=Pipe apt-get upgrade"
.P
This makes the debconf on the remote host read in the data that is piped
--
D. Joe Anderson, Asst. Sci. 2252 Molecular Biology Bldg
Biochem, Biophys, & Mol Bio Iowa State Univ, Ames, IA 50010
How to help someone use a computer
http://polaris.gseis.ucla.edu/pagre/how-to-help.html
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]