From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8327 invoked by alias); 31 Jan 2018 14:02:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8319 invoked by uid 89); 31 Jan 2018 14:02:09 -0000 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 Received: from out3-smtp.messagingengine.com (HELO out3-smtp.messagingengine.com) (66.111.4.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Jan 2018 14:02:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8FD3F20C2B; Wed, 31 Jan 2018 09:02:01 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 31 Jan 2018 09:02:01 -0500 X-ME-Sender: Received: from [192.168.1.102] (host86-173-196-20.range86-173.btcentralplus.com [86.173.196.20]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B929246A5; Wed, 31 Jan 2018 09:02:01 -0500 (EST) Subject: Re: setup takes a long time To: The Cygwin Mailing List References: From: Jon Turney Cc: Fergus Daly Message-ID: Date: Wed, 31 Jan 2018 14:02:00 -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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2018-01/txt/msg00294.txt.bz2 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