delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/03/20:51:25

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=NfIT1W5B93W2x8ApmjU/wrsnSjcKL
95sSp5tPW8y/iddwVNjthzQGgyfQLYASSBp1r4P05sudVzqWnYfjaErywgJ0maJU
bI9wqtDB2CYwk2h+mZjNaD33crzuIH9aUYnfJCwZMqSOVXKmsyUcKQPYQCTaer+g
fNXNf4JqIShIew=
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=VLOxHEBvSKTR3LB52FlDR7i+mC4=; b=bQl
aXZXrS+BO9NfjlK5Nks/7n7Mu7nR4B6lqrafqFC9Zfx38KufaSbVfBrVplb2mbvQ
BmVR3kz2m+LAKnT8Nbq8PkcO+664w3VmNrPqwzj02IXKkHMrTFzWOUNVjdTXfVma
lAxaWwVGJpBefVcE9c8GLvdGGLxML1nXCQQRzeq8=
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=Interestingly
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 01:51:13 +0000
Message-ID: <37fe41f9b3c140ba9464b2b59c9cba2d@merl.com>
References: <8571f617c5a740608e267364827e7733 AT merl DOT com>,<b0310640-2afa-1230-424d-a01be014eb90 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <b0310640-2afa-1230-424d-a01be014eb90@SystematicSw.ab.ca>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w241pN8Q032139

Hi Brian,

 Thanks for your quick reply.  The output of the two commands you asked for are:

> dir <CYGWIN-ROOT>\etc\setup\installed.db 
03/03/2018  20:33             2,499 installed.db

$ wc /etc/setup/installed.db
  70  209 2499 /etc/setup/installed.db

If I grep for one of the additional packages that I selected prior to download,
e.g. "bc" from the Math category, it is not listed in the installed.db file.
A directory for bc is present in the download directory, and it contains
the file bc-1.06.95-2.tar.xz.

Do you know if the ability to detect all available downloaded packages was
intentionally removed from setup, or might this be a bug?

Regards,
 Robert


From: cygwin-owner AT cygwin DOT com <cygwin-owner AT cygwin DOT com> on behalf of Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Sent: Saturday, March 3, 2018 18:54
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
    
On 2018-03-03 16:00, Robert Cohen wrote:
> Summary of problem:
> When installing Cygwin from a local directory, setup-x86_64.exe version 
> 2.889 doesn't list the packages that I additionally selected for download
> when previously downloading to that directory, and the top line of the GUI
> under Category view says "No packages found<->Default".
> Continuing the install only installs the packages preselected by setup.
> 
> Details:
> To install a fresh version of Cygwin, I usually do this: Run
> setup-x86_64.exe using "Download Without Installing", select some additional
> packages, and then after everything finished, I rerun setup-x86_64.exe using
> "Install from Local Directory", and then the GUI, under Category view, shows
> "All <-> Default", beneath which is a hierarchical list including the
> packages preselected by setup along with the additional ones that I selected 
> when downloading.
>> Here's the problem: I performed the above process using today's version of >
> setup-x86_64.exe from cygwin.com, which according to setup.ini is setup
> version 2.889, and the "Download Without Installing" setup worked as
> expected. However, when I next did "Install from Local Directory" using that
> directory, instead of showing "All<->Default", it showed "No packages
> found<->Default", and only the packages preselected by setup were not going
> to be skipped. I tried changing "Default" to "Install" at the top level of
> the list, but that then selected everything for install, not just the
> preselected packages and the additional ones I had downloaded. I repeated
> this process using a few different mirror sites for the download phase, but
> that made no difference.>
> Interestingly, if I copy an older version of setup-x86_64.exe into my 
> already-downloaded directory, e.g. setup-x86_64.exe version 2.880, the GUI is
> able to find the selected packages that I had already downloaded using setup
> version 2.889, after of course giving a few warnings about the current ini
> file being from a newer version of setup. In other words, if I download using
> setup v2.889, then when subsequently installing from that directory, setup
> v2.889 doesn't know what additional packages I had selected, whereas setup
> v2.880 does know.>
> I'm wondering if I'm not doing something correctly, or if there is an issue 
> with version 2.889 of setup-x86_64.exe not finding packages that were
> additionally selected for download.
> 
> Version details:
> The  beginning of setup.ini in my download directory includes this:
> release: cygwin
> arch: x86_64
> setup-timestamp: 1519974241
> setup-version: 2.889
> 
> This was done on Windows 10 pro, using  setup-x86_64.exe v2.889 downloaded
> on March 3, 2018 UTC from cygwin.com, which currently indicates that the most recent
> version of the Cygwin DLL is 2.10.0.

What's shown when you do:
        > dir <CYGWIN-ROOT>\etc\setup\installed.db
or
        $ wc /etc/setup/installed.db

May need a new setup selection for all downloaded/cached packages, unless there
is another way to select these, which the previous release used by default.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

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