delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/31/09:02:20

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:cc:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=M1U8DNjiYFhRbXJZ
vmlLGIc3qh1Aw02JyFWgbYGEIN+gze9PZSM4ydg7P4qkQTNpUvcOKFcivnGbtk7l
fdFYjjH0DxGCCpx7lBuWm5whmyMV9q5HgA40uxuqwVJ4Kfjn+oG7QRNdeD+d0aup
I+T+P0zPqTBfym0XJeRGKNhmG+o=
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:cc:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=VIqifdVvGKv7iaZld/6S1X
I16V4=; b=Q+MAJsQNAtEw+EuLSSdlcBHL9Rd81N7aPRdqgFit1lP/7tuiVmGlGL
rUqS9UGAOpWDVpyJ+omL5zbZvtMXPcXNa/fhS29dVfP8RDo6Q7UUY7wwj20F4gwT
gTJ33TeZL+NtTnV49PPUm8YcXHUlifZ4hl4khSU6XMayoMZ4Lo9so=
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.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Daly, fergus, daly, Fergus
X-HELO: out3-smtp.messagingengine.com
X-ME-Sender: <xms:WcxxWv-4wR8xDcxe2ZnJMpQd_KvgGJqZC5nkh53GEQDzbSwX7O0p6g>
Subject: Re: setup takes a long time
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CAKqBF1igB-P_o__zbXwxKGtps_LaejHoQ_Qcp0OgUE2K5VjvUQ AT mail DOT gmail DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Cc: Fergus Daly <ugly DOT leper AT gmail DOT com>
Message-ID: <f3941c58-e05a-7803-17c9-683ba0a32ddb@dronecode.org.uk>
Date: Wed, 31 Jan 2018 14:01:59 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <CAKqBF1igB-P_o__zbXwxKGtps_LaejHoQ_Qcp0OgUE2K5VjvUQ@mail.gmail.com>

On 31/01/2018 06:18, Fergus Daly wrote:
> The setup program does seem to take a long time, even when it just
> means "update" and even when there's nothing to update. Here's what
> happens in unattended mode:
> 
[...]

Try this with 'ts' from moreutils, e.g:

> $ ./setup-2.884.x86_64.exe --local-install '\\necker\download\cygwin-packages' --no-admin --upgrade-also --quiet-mode --mirror-mode --no-shortcuts | ts -i
> 00:00:00 Starting cygwin install, version 2.884
> 00:00:00 User has NO backup/restore rights
> 00:00:00 Current Directory: \\necker\download\cygwin-packages
> 00:00:00 Could not open Service control manager
> 00:00:00 root: C:\cygwin64 user
> 00:00:00 Selected local directory: \\necker\download\cygwin-packages
> 00:00:13 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
> 00:01:40 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_texlive_prep.dash"
> 00:00:00 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
> 00:00:03 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_adwaita-icon-theme.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_desktop-file-utils.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_fontconfig_cache_1.sh"
> 00:00:14 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_glib2.0.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_gnome-themes-standard.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_gnome-themes.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_hicolor-icon-theme.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_man-db.sh"
> 00:00:02 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_mate-icon-theme.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_mate-themes.sh"
> 00:00:00 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_shared-mime-info.sh"
> 00:00:00 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_texlive_finish.dash"
> 00:00:02 Ending cygwin install
> I can kind of see the point of autorebase and update-info-dir, but why
> revisit texlive every time, and why all the zp stuff, every time? Why

These tasks are supposed to identify when they have no work to do, and 
do nothing quickly.  It seems that is not always the case.

> does setup explore McShield and McAfee? Incidentally note the switch
> -m. Without it, checking sha1sum's I guess provides some kind of
> protection, but it's incredibly time-consuming and seems quite
> unnecessarily to cover much more than the files downloaded, even the
> entire resource? In the presumably very rare event of a broken
> download, could the update not more simply just abort?

--local-install could indeed use some improvement.

Note that the scan is also used to filter the list of packages, so 
(without --mirror-mode) we don't offer for installation packages we 
don't have the archive for...

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