From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailsrv.cs.umass.edu (mailsrv.cs.umass.edu [128.119.240.136]) by sourceware.org (Postfix) with ESMTPS id 2329B3858D1E for ; Thu, 8 Sep 2022 02:54:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2329B3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.umass.edu Received: from [192.168.50.148] (c-24-62-201-179.hsd1.ma.comcast.net [24.62.201.179]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id 7A7184040064; Wed, 7 Sep 2022 22:54:11 -0400 (EDT) Message-ID: Date: Wed, 7 Sep 2022 22:54:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Reply-To: moss@cs.umass.edu Content-Language: en-US From: Eliot Moss To: cygwin Subject: How to get setup to *re*install a package from the command line Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Dear Cygwiners - I've not been able to find a way to get setup, when used from the command line, to *re*install an existing package, so as to repair any brokenness. For context, I had my disk get trashed and restored from a cloud backup. However, that tool is not entirely competent about everything, e.g., links. Most programs work ok, but others clearly are not quite right. So I want to try re-installing all installed packages. But there does not seem to be any way to get command line setup to Reinstall something that is already installed, though the GUI tool can certainly do it. I have used cygcheck to get a list of the installed packages and want to do this in a giant batch. I have a lot of packages installed (though not the entire universe!) so using the GUI to select things one at a time would be very tedious. Is the only alternative to do one run uninstalling all the packages, and then another installing them? Regards - Eliot