Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.
Ken Brown
kbrown@cornell.edu
Sat Oct 17 22:20:00 GMT 2015
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
More information about the Cygwin
mailing list