delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/08/04:53:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
In-Reply-To: <47FB23DE.1E04F317@dessent.net>
Subject: Re: 1.5.25-11 Bash? Problem installing unattended on Server 2008
To: cygwin AT cygwin DOT com
X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006
Message-ID: <OF71784CCA.4CE0CE60-ONC1257425.003077F2-C1257425.0030BFE2@de.ibm.com>
From: Christoph Herdeg <CHERDEG AT de DOT ibm DOT com>
Date: Tue, 8 Apr 2008 10:52:30 +0200
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Yep - that did it...the results look a lot more promising:

      +
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem
      + export PATH
      + MANPATH=/usr/local/man:/usr/share/man:/usr/man:
      + export MANPATH
      + INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
      + export INFOPATH
      ++ id -un
      + USER=Administrator
      + export USER
      + '[' '!' -d /home/Administrator ']'
      + mkdir -p /home/Administrator
      + echo 'Copying skeleton files.'
      Copying skeleton files.
      + echo 'These files are for the user to personalise'
      These files are for the user to personalise
      + echo 'their cygwin experience.'
      their cygwin experience.
      + echo

      + echo 'These will never be overwritten.'
      These will never be overwritten.
      + echo

      + cd /etc/skel
      + /bin/find . -type f
      + read f
      ++ echo ./.bashrc
      ++ sed -e 's/^\.//g'
      + fDest=/.bashrc
      + '[' '!' -e /home/Administrator/.bashrc -a '!' -L
/home/Administrator/.bashrc ']'
      + /usr/bin/install -D -p -v ./.bashrc
/home/Administrator//.bashrc`./.bashrc' -> `/home/Administrator//.bashrc'
      + read f
      ++ echo ./.bash_profile
      ++ sed -e 's/^\.//g'
      + fDest=/.bash_profile
      + '[' '!' -e /home/Administrator/.bash_profile -a '!' -L
/home/Administrator/.bash_profile ']'
      + /usr/bin/install -D -p -v ./.bash_profile
/home/Administrator//.bash_profile`./.bash_profile' ->
`/home/Administrator//.bash_profile'
      + read f
      ++ echo ./.inputrc
      ++ sed -e 's/^\.//g'
      + fDest=/.inputrc
      + '[' '!' -e /home/Administrator/.inputrc -a '!' -L
/home/Administrator/.inputrc ']'+ /usr/bin/install -D -p -v ./.inputrc
/home/Administrator//.inputrc`./.inputrc' ->
`/home/Administrator//.inputrc'
      + read f
      + chmod 1777 /tmp
      + MAKE_MODE=unix
      + export MAKE_MODE
      + CVS_RSH=/bin/ssh
      + export CVS_RSH
      + case "`echo "_$0" | /usr/bin/tr '[:upper:]' '[:lower:]' |
/usr/bin/sed -e 's/^_//'`" in
      ++ echo _bash
      ++ /usr/bin/tr '[:upper:]' '[:lower:]'
      ++ /usr/bin/sed -e 's/^_//'
      ++ hostname
      + HOSTNAME=W2K8_test_cherdeg
      + export HOSTNAME
      + PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
      + export PS1
      + '[' -d /etc/profile.d ']'
      bash: cannot create temp file for here document: Bad address
      + umask 022
      + PRINTER=
      $
      ++ uname -s
      ++ regtool -q get '\user\Software\Microsoft\Windows
NT\CurrentVersion\Windows\Device'
      ++ sed 's/,.*$//'
      + PRINTER='Microsoft XPS Document Writer'
      + export PRINTER
      + '[' '!' -z '' ']'
      + cd /home/Administrator
      + case `id -ng` in
      ++ id -ng
      + '[' -e /etc/bash.bashrc ']'
      + source /etc/bash.bashrc
      + '[' -e /home/Administrator/.bashrc ']'
      + source /home/Administrator/.bashrc

Regards, Chris




                                                                           
             Brian Dessent                                                 
             <brian AT dessent DOT ne                                             
             t>                                                         To 
             Sent by:                  cygwin AT cygwin DOT com                   
             cygwin-owner AT cygw                                          cc 
             in.com                                                        
                                                                   Subject 
                                       Re: 1.5.25-11 Bash? Problem         
             08.04.2008 09:50          installing unattended on Server     
                                       2008                                
                                                                           
             Please respond to                                             
             cygwin AT cygwin DOT com                                             
                                                                           
                                                                           
                                                                           




Christoph Herdeg wrote:

> I'm sorry, but I don't seem to be able to correctly update
> "\release\base-files\base-files-3.7-1.tar.bz2" with the new "profile":
> "setup.exe" won't extract the package I create and I end up with a bash
not
> even knowing ls or cp. I tried using 7-Zip and editing with Notepad++ on
> Windows as well as "tar xjvf base-files-3.7-1.tar.bz2", "vi
> etc/defaults/etc/profile" and "tar cjvf base-files-3.7-1.tar.bz2 etc
usr".
> Do I have to set a certain signature or something?

Yes, setup.ini contains a size and md5sum of each .tar.bz2 and if it
doesn't match the file on disk setup won't install it.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019