delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/29/18:57:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <488FA04A.8080105@cygwin.com>
Date: Tue, 29 Jul 2008 18:57:14 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Remi/2.0.0.16-1.fc5.remi Lightning/0.8 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Download Cygwin once and intall it several times
References: <ff8e9dfe0807281359r5acc42f1tc65466f55f3f72c5 AT mail DOT gmail DOT com> <f9c8c1cc0807291148qacf8deeqd125630382b6ad2b AT mail DOT gmail DOT com> <488F6FCE DOT 4020407 AT cygwin 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>
In-Reply-To: <f9c8c1cc0807291530t1e11ad75l995f3833a1abea69@mail.gmail.com>
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

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/

- Raw text -


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