delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/03/23:02:10

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=KFib6YPacfvP2MmGQxgCaqFQQ5i0Y
MTBkBZUMoy6LAHgS4SgM3TQ/mda6A2d/wuBtx38EdxiRyDVpYlr/RNBc18gqnoOq
20w68MzzTtIGCHwXU24dbrMSytw6cLiuQYMrVHd5yLKgA9L4Rbku4slB5ZEnFzBi
biTrETleIzHIJo=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=GYbRQncKDuNikNW3yzNvOH0XcJw=; b=Jey
0UgEZZ221wxKUB51gIiwU1cSnAk9UiHBiFey6rb6+IU0In3yramagRbfPdKyClBQ
7s817Qn9QgmjJfc8ulfTvPaQhVrc8/sf7WgRLOSEoneSmOp+qBBnu1LqP0EdgF0u
PvbA/CAYzBkUsJLuQgCATi0S5iSIl1pkd1phclVg=
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=2.1 required=5.0 tests=BAYES_00,CYGWIN_OWNER_BODY,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=logfiles, Hx-languages-length:3542, rights, our
X-HELO: ns1.merl.com
From: Robert Cohen <cohen AT merl DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory
Date: Sun, 4 Mar 2018 04:01:43 +0000
Message-ID: <b09ca8edbac840fb802ed788558bfc3b@merl.com>
References: <8571f617c5a740608e267364827e7733 AT merl DOT com> <b8340451-be30-a288-6c04-34416f0de960 AT cornell DOT edu> <b47383e7257c45f8901ec83d05cdbceb AT merl DOT com>,<2c572dc7-9043-9290-c915-5d06625bf7f1 AT cornell DOT edu>
In-Reply-To: <2c572dc7-9043-9290-c915-5d06625bf7f1@cornell.edu>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w24428Zq007945

>From: cygwin-owner AT cygwin DOT com <cygwin-owner AT cygwin DOT com> on behalf of Ken Brown <kbrown AT cornell DOT edu>
>Sent: Saturday, March 3, 2018 22:11
>To: cygwin AT cygwin DOT com
>Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory
>[Please don't top-post on this list.]
>
>On 3/3/2018 10:01 PM, Robert Cohen wrote:
>>   Thanks for finding that. However, I am using the same "Local Package Directory" that I used
>> when I ran it to do the download. For example, here's where things were for all the steps:
>> 
>> 1. Directory C:\Updates\cygwin_download, containing setup-x86_64.exe and nothing else
>> 2. Ran setup, "Download without installing", specifying C:\Updates\cygwin_download as
>>       the local package directory, then selected additional packages and performed the download.
>> 
>> at this point, C:\Updates\cygwin_download contained setup-x86_64.exe and a
>> subdirectory for the mirror site. The setup.ini file was in a x64_64 subdirectory
>> under the mirror site subdirectory.
>> 
>> 3. Then I ran setup again, "Install from local directory", with C:\cygwin64 as the root directory
>>       and C:\Updates\cygwin_download as the local package directory.
>> 
>> Should I have specified something differently for it to detect the additional packages that I
>> selected for download? I looked in setup.ini and it does list the additional packages that
>> I had selected.
>
>No.  Based on what you said, I don't know what the problem was.  Does 
>/var/log/setup.log.full give any clues?
>
>Ken

I checked the log file, and it appears to have found the .ini file, and then it ran a solver. Here's a portion of setup.log.full:

...
2018/03/03 22:13:47 Selected local directory: C:\Updates\cygwin_download
Found ini file - C:\Updates\cygwin_download/http%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/setup.ini
.ini setup_version is 2.889, our setup_version is 2.889
2018/03/03 22:13:49 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 No such file or directory
2018/03/03 22:14:16 solving: 36 tasks, update: yes, use test packages: no
libsolv: solver started
...

Later it said "libsolv: 69 installed packages:", which appeared just to be the default preselected packages.
The log mentions nothing about my additionally selected packages.

I also looked at the logfile on another computer which used the older setup 2.880. In that log,
after finding the .ini file, it added some dependencies and checked the SHA512 for some files,
and those files included the extra ones that I had selected. The 2.880 setup file had no messages from
libsolver.

One other difference I noticed was right at the beginning of the logfiles:

2018/03/03 22:13:12 Starting cygwin install, version 2.889
2018/03/03 22:13:12 User has backup/restore rights
2018/03/03 22:13:12 Current Directory: C:\Updates\cygwin_download\http%3a%2f%2fcygwin.mirror.constant.com%2f\x86_64

vs.

2017/06/20 18:42:33 Starting cygwin install, version 2.880
2017/06/20 18:42:33 User has backup/restore rights
2017/06/20 18:42:33 Current Directory: E:\Updates\cygwin_install

In both cases, I ran the setup executable from C:\Updates\cygwin_download, yet the "Current Directory"
reported by the logfiles differ. 

Could the problem be related to the difference in "Current Directory", or perhaps related to the solver 
or to whatever in the new setup program parses the setup.ini file once it's found?

Regards,
 Robert



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