delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/30/05:12:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <f9c8c1cc0807300211o24855101g791525194741f5e8@mail.gmail.com>
Date: Wed, 30 Jul 2008 11:11:29 +0200
From: peterpan1616 <peterpan1616 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Download Cygwin once and intall it several times
In-Reply-To: <488FA04A.8080105@cygwin.com>
MIME-Version: 1.0
References: <ff8e9dfe0807281359r5acc42f1tc65466f55f3f72c5 AT mail DOT gmail DOT com> <20080729203923 DOT GB10044 AT ednor DOT casa DOT cgf DOT cx> <f9c8c1cc0807291346i24d80f4fv3cbe1cf797117ca1 AT mail DOT gmail DOT com> <488F8431 DOT 7060507 AT cygwin DOT com> <f9c8c1cc0807291405t42c7b8fmaa5dc6a48cac7d58 AT mail DOT gmail DOT com> <488F8C96 DOT 2020809 AT cygwin DOT com> <f9c8c1cc0807291457n2174120eqa4876d6455cfe670 AT mail DOT gmail DOT com> <488F958D DOT 6000207 AT cygwin DOT com> <f9c8c1cc0807291530t1e11ad75l995f3833a1abea69 AT mail DOT gmail DOT com> <488FA04A DOT 8080105 AT cygwin DOT com>
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

Thanks for clarifications.
The problems is the use of setup.exe to download the distribution.

I tired to use wget pointing the same mirror site (heanet.ie) but i
download only the directory structures reported in index.html files.
Could you suggest me right options to wget (like installation of
cygwin in the past wget running well now no???).

PS: _Add_  in cygwin, like "other  distributions",  a  iso file with
the last release to download once is a wrong approach?

On Wed, Jul 30, 2008 at 12:57 AM, Larry Hall (Cygwin)
<reply-to-list-only-lh AT cygwin DOT com> wrote:
> peterpan1616 wrote:
>>
>> I'm a bit confuse.
>> I was thinking that setup.exe was a sort of wizard able to download
>> what you want and selecting the options 'install' he download ALL.
>> Now I'm not sure. If I use a program like wget, I obtain all from the
>> repository but how match the dependency?
>> If I download cygwin today on this machine and tomorrow I download
>> again from the same mirror in another location, if I choose 'install',
>> setup could download exactly the same things.
>> Or setup make a check in the directory root where cygwin is installed.
>> In this case, setup have to finish with NO DOWNLOAD.
>> For me make confusion that today download  same package and tomorrow
>> others.
>> Where is the bug?
>
> 'setup.exe' uses '/etc/setup/installed.db' to figure out what's already been
> installed on the machine you're running 'setup.exe' from.  If you installed
> everything yesterday, run it again today, and no packages have been updated
> on the repository, nothing will happen.  That's what you expect.  And this
> is exactly the functionality that makes the current implementation of
> 'setup.exe' "not a mirroring tool" as I've stated.
>
> You described a scenario where you use 'setup.exe' to _download_ packages
> to your local directory (repository) and then want to use that set of
> packages to install on another computer (i.e. you're using it like a
> mirroring tool).  Downloading is not the same as installing and the fact
> that 'setup.exe' will download packages for you (either as part of the
> install task or as a separately initiated download task) doesn't mean it
> doesn't pay attention to what's already installed on the machine your
> using.  If you plan to use 'setup.exe' as a mirroring tool, you'll have
> to refrain from installing Cygwin on the machine you want to use "setup
> as a mirroring tool" on (or be willing to rename '/etc/setup/installed.db'
> every time you want to use it in this way).  In general, you're probably
> better off with a good mirroring tool that will download what you want
> the way you want it without mucking around with bookkeeping files that
> 'setup.exe' uses.  Of course, the choice is yours.
>
> No matter _how_ you choose to download the Cygwin packages, you still
> want 'setup.exe' to _install_ them.  Using 'setup.exe' and pointing to
> you local repository will allow you to select the packages you want
> and it will handle the dependencies.  Your problem has been that your
> local repository doesn't contain some of the packages that are required
> to make a working installation ('ash' for example).  If you're missing
> required packages, it doesn't matter whether you want to install
> everything from your local repository or just a portion.  The result
> will be a broken installation - as you've seen.
>
>
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 216 Dalton Rd.                          (508) 893-9889 - FAX
> Holliston, MA 01746
>
> _____________________________________________________________________
>
> A: Yes.
>> Q: Are you sure?
>>> A: Because it reverses the logical flow of conversation.
>>>> Q: Why is top posting annoying in email?
>
> --
> 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