delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/17/18:21:21

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=E2tPdQ6KgmLC07sE
IMMzXsmgsdmMcddC84XtP1jIrZOCHR3R/Vakbac++szdy27Z8d9PtFEvTXujRc4R
uoWvy2WlpyPwMxRi8oSI/9n6m83St/dZPI34rvHtMl/cj1+uqHAD4JTUlU7bjzzx
cHV/oEazIhnksfQb8RJ3oK4xqGo=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=SxDyXflNOu46at1QuTZNX+
VqoGs=; b=mKCZ+JLmB327zqI67GPIhKxVHLMNaveCKPpuf3xQFKeieHnORctfh+
92QF1Jk0fGiOSd++3/C8YOq+ctXkWyD00c02Hem8847xNY1K5+CNw4xifJmbl00Y
0LaqHFMqVcMGPCq8cKSzX1q0Fy0jUK5gHjvV5aKJIJDbZRN7T7J+8=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.
To: cygwin AT cygwin DOT com
References: <CACoLpU-VJqaNv5VQo0sYfDkVLfK5wDw+Usvg29QsAS6M7BwitQ AT mail DOT gmail DOT com> <8737xawn6j DOT fsf AT Rainer DOT invalid> <56216C25 DOT 6090104 AT cornell DOT edu> <878u72eyy2 DOT fsf AT Rainer DOT invalid> <56223B5E DOT 50309 AT cornell DOT edu> <5622BA2F DOT 7040205 AT tiscali DOT co DOT uk>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <5622C9C6.40200@cornell.edu>
Date: Sat, 17 Oct 2015 18:20:54 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <5622BA2F.7040205@tiscali.co.uk>
X-IsSubscribed: yes

On 10/17/2015 5:14 PM, David Stacey wrote:
> On 17/10/15 13:13, Ken Brown wrote:
>> On 10/17/2015 3:28 AM, Achim Gratz wrote:
>>> Ken Brown writes:
>>>>> Could you check if the setup.ini.sig file is just not stored to disk and
>>>>> that setup would commence installing if you downloaded it manually and
>>>>> put alongside the setup.ini file?
>>>>
>>>> Is there a new requirement that a local repository has to have a
>>>> signature file?  And does it have to be setup.ini.sig (rather than,
>>>> for example, setup.bz2.sig)?
>>>
>>> You can always tell it to not check the signature (--no-verify / -X),
>>> but if the directory you set it upon looks like a mirror and has a setup
>>> file, then it will by default want to check the signature (belonging to
>>> the actual suffix used: .xz, .bz2 and lastly .ini).
>>
>> I maintain my own small repository at a remote site and mirror it on my local
>> machine.  It contains, for each architecture, setup.ini, setup.xz, and
>> setup.xz.sig.  Installation from the remote site works fine.  If I try to
>> install from my local mirror, setup complains that it can't find
>> setup.ini.sig.  I can install from the local mirror only if I add setup.ini.sig.
>
> Same here. I maintain a local mirror and use my own setup.ini files (created
> with genini); these do not have 'sig' files. Directory structure is as follows:
>
> cygwin-2015-10-16
>    /cygwin
>      /x86
>      /x86_64
>    /cygwinports
>      /noarch
>      /x86
>      /x86_64
>
> The 'setup.ini' files are located in the 'x86' and 'x86_64' directories; setup
> is pointed at the 'cygwin-2015-10-16' directory. Eventually managed to install
> using an older version of setup that I had downloaded previously.

Thanks for the confirmation, Dave.  Since Achim can't reproduce the problem, 
maybe we should temporarily forget about local mirrors and go back to the 
simpler situation reported by the OP.  I just reproduced that problem in a 
simpler form as follows:

1. Download setup-x86.exe from the Cygwin website, and put it in an empty 
directory c:/download-test.

2. Run setup-x86.exe.  Choose "Install from Internet".  Choose the nonexistent 
c:\cygwin-test as root directory.   Choose c:/download-test as local package 
directory.  Choose http://mirrors.kernel.org as the only download site. 
Repeatedly click "Next" while setup does a base install.

At this point, the download directory looks like this:

download-test
   setup-x86.exe
   http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f
     x86
       setup.ini
       release
         _autorebase
         ...

3. Run setup-x86.exe again, this time choosing "Install from Local Directory". 
setup complains that it can't get 
c:/download-test/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f//x86/setup.ini.sig 
from <localdir>.  [This is the first bug; if setup expects to find signature 
files in local directories, it should save the ones it downloads.]

4. Retry, this time using setup-x86.exe -X.  The "Select Packages" screen lists 
all the installed packages, but for each package the only options are "Keep" and 
"Uninstall".  [This is the second bug; setup has apparently failed to descend 
into http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f.]

5. Repeat, but this time change the local package directory from the default 
c:/download-test to 
c:/download-test/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f.  Now 
each package has the additional option "Reinstall" (which works).

Achim, can you reproduce this?  Please use the official setup-x86.exe rather 
than the one you built, in case your local setup repo is somehow different from 
the upstream repo.

Ken

--
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