delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/31/09:07:31

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=KVEKi1CduCBMgTBQCwpuFa7K7XSLK7
I6YXRn6GhI1L1rtxdWY9BeVccsPseJK8P9Sgp36Yw3pyn1ABKykqFGi9Z+0GQqkE
rGXal5DhR/LnOMWi01wowmWrW7VJ2fkZWXrOSkmdfWOeQ37wK8l8jUsikGacEZGQ
rf1Qz59me1t84=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=IQmINJ5ePXj+xjLo4uuqszq1/z4=; b=qs4s
tN7j+QBG1o1uG3iXVy0tgefjupUoZnu1+evjokOyxM/+4v6ZI3BXBumUnyd7Ut2U
Bz7rBvwJEsGQ00T+Vn3e6XA/5sgxpEY0YgVglL1ZtSxsyTO1qQSVKt0Q/+R/1YIc
dnnWYkHnuxmwYdTpbulgmp5Nx5ShIkvL4iGLFqk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 spammy=Mar, mar, volume, Wolff
X-HELO: mx4.rus.uni-stuttgart.de
Date: Fri, 31 Jan 2020 15:06:22 +0100
From: Ulli Horlacher <framstag AT rus DOT uni-stuttgart DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Is there a way to clone-install Cygwin?
Message-ID: <20200131140622.GB6676@tik.uni-stuttgart.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <SN6PR09MB2877F202738BF6B7029538F3A50D0 AT SN6PR09MB2877 DOT namprd09 DOT prod DOT outlook DOT com> <16fc5b76c50 DOT 2780 DOT a1382e26d1292f71ec6ef0cd03d49346 AT pdc DOT ca> <20200131102434 DOT GB5074 AT tik DOT uni-stuttgart DOT de> <20200131112904 DOT GC5074 AT tik DOT uni-stuttgart DOT de> <5cc67e71-0edf-90a2-3601-50affd5c14da AT towo DOT net>
MIME-Version: 1.0
In-Reply-To: <5cc67e71-0edf-90a2-3601-50affd5c14da@towo.net>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

On Fri 2020-01-31 (13:54), Thomas Wolff wrote:
> 
> On 31.01.2020 12:29, Ulli Horlacher wrote:
> 
> > On Fri 2020-01-31 (11:24), Ulli Horlacher wrote:
> >
> >> On Mon 2020-01-20 (19:28), Brent Epp wrote:
> >>
> >>> Cygwin is totally portable! You can simply copy the installation folder to
> >>> another PC, copy the shortcut (edit target if needed) and it will work.
> >> How do you copy it?
> >> Which archive container do you use?
> 
> On the source system, within cygwin, zip up everything you want, with 
> option -y:
> cd /; zip -ry cygwin . -x home
> or
> cd /cygdrive/c; zip -ry cygwin cygwin64 -x ...

Ok, I did that.
But:


> On the target system, install a minimal cygwin unzipping environment:
> copy files unzip.exe, cygwin1.dll, cygbz2-1.dll into a subdirectory 
> called bin
> 
> Use that unzip to unpack your zip file. Voilą!

This is way to complicated for my users, they cannot handle it.

I tried to write an installer.bat which uses the Windows bsdtar, but it
fails with:



C:\>dir
 Volume in drive C has no label.
 Volume Serial Number is EC42-8D26

 Directory of C:\

31 Jan 2020  12:45        84.340.162 cygwin64.tgz
31 Jan 2020  14:38        91.960.715 cygwin64.zip
31 Jan 2020  12:45                45 cygwin64_addons.tgz
19 Mar 2019  05:52    <DIR>          PerfLogs
13 Jan 2020  13:12    <DIR>          Program Files
15 Jan 2020  17:32    <DIR>          Program Files (x86)
13 Jan 2020  13:12    <DIR>          Users
13 Jan 2020  14:46    <DIR>          Windows
31 Jan 2020  13:59    <DIR>          xx
31 Jan 2020  14:43        91.960.889 xxx_20200131_144048.zip
               4 File(s)    268.261.811 bytes
               6 Dir(s)  45.442.043.904 bytes free

C:\>tar -xf cygwin64.zip
cygwin64/bin/apropos: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\apropos'
cygwin64/bin/awk: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\awk'
cygwin64/bin/bzcmp: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzcmp'
cygwin64/bin/bzegrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzegrep'
cygwin64/bin/bzfgrep: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzfgrep'
cygwin64/bin/bzless: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\bzless'
cygwin64/bin/captoinfo: Can't create '\\\\?\\C:\\\\cygwin64\\bin\\captoinfo'
^C
C:\>

(I run it as administrator).

Any idea what went wrong and how I can fix it?



-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher AT tik DOT uni-stuttgart DOT de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<5cc67e71-0edf-90a2-3601-50affd5c14da AT towo DOT net>

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

- Raw text -


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