delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/09/07/22:55:32

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
Message-ID: <cfc958de-d0a2-28f2-1e55-0d25990f4858@cs.umass.edu>
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
From: Eliot Moss <moss AT cs DOT umass DOT edu>
To: cygwin <cygwin AT cygwin DOT com>
Subject: How to get setup to *re*install a package from the command line
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: moss AT cs DOT umass DOT edu
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019