From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62851 invoked by alias); 31 Jan 2018 19:06:36 -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 61929 invoked by uid 89); 31 Jan 2018 19:06:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=ssd, SSD, Hx-languages-length:2743, antivirus X-HELO: vsmx009.vodafonemail.xion.oxcs.net Received: from vsmx009.vodafonemail.xion.oxcs.net (HELO vsmx009.vodafonemail.xion.oxcs.net) (153.92.174.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 31 Jan 2018 19:06:33 +0000 Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 2959EC0838 for ; Wed, 31 Jan 2018 19:06:29 +0000 (UTC) Received: from Gertrud (unknown [91.47.49.116]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id F14E1300832 for ; Wed, 31 Jan 2018 19:06:26 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: setup takes a long time References: Date: Wed, 31 Jan 2018 19:06:00 -0000 In-Reply-To: (Fergus Daly's message of "Wed, 31 Jan 2018 06:18:35 +0000") Message-ID: <87fu6lhmq8.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-VADE-STATUS: LEGIT X-SW-Source: 2018-01/txt/msg00299.txt.bz2 Fergus Daly writes: > 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: [=E2=80=A6] Looks completely normal. Some of the scripts do need to look at quite a few files before deciding if there's real work to do, so a slow disk (spinning rust or network) can introduce noticeable delays. On an SSD it should be done in well under a minute. If not, you might need to check the settings on your antivirus solution to be less aggressive with read-ahead for things in the Cygwin directory. > 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? Because that's the way to make it work reliably even around corner cases and nobody has come up with something better yet. Now, if you look at /var/log/setup.log.full you might see something interesting that might need fixing. TeXLive in particular might have picked up some settings that trigger re-generation of many or even all formats each time you run the script (you can run it by hand and see what it does). Unless you are familiar with how the TeXLive configuration manager works, your best bet is a complete re-installation of all packages associated with TeXLive and then it should work as intended again (i.e. do nothing unless something has changed). > Why does setup explore McShield and McAfee? Some time in the past it would otherwise fail to successfully install Cygwin on systems that had this crapware installed. It might be possible to just remove that from setup now, I would personally be in favor of it. > 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? That check is there for an entirely different reason that will hopefully no longer be supported in the not-too-distant future. When that happens it can go away. > In the presumably very rare event of a broken download, could the > update not more simply just abort? No, it really was there originally to pick up files that you want to install, but have no entry in setup.ini for. If you never create your own packages or move files by hand in your mirror directory, you should _always_ use the -m switch. A broken download will be identified by a wrong SHA512 checksum (or a missing file, as it were). Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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