delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/07/08/10:47:23

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92669398B8BB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1625755642;
bh=Uz1mVfyug6j5KdRisil5kdS8WveyfTQdz86ra2si8f0=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=WqlppB2JDCYqsFS1Z8zH2p/RHly0uKtrpVN0Poh1ENHs2/1pGmioNV4X/RXdz1iwX
TkvZXrF/xFHH43fRag31kBoPgXV8W8bsZNf6GE9bHp95duZf4gjOjPDaxwqcLYsWv6
dYPK41vaaX+CZs72NmdT0hmGgV5LA08q60ljTGY4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C58DF386197D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=3/kvpD7YOO7Osq/eAV0ibfzosS7YzGiLGFOgIiMNtg4=;
b=lbcLOx8a4NRN2WCy5LXeh83GMQzgqurdCH0FiqdwH/V/8QQrYZmRRjhK+52t4e2reL
tuw4xwZwU5ulEVZmifGAOoiyB1vr1bTt1FDvfxVl2cXE8pYAbIGLw9BTrpCisFv/0PR7
veWIPJMqfNkipJobawN4xGAYinBJPBNZLQ2N8QZRE2WT4+mg06a1uncR1pwDeHCZuo+p
EhNr/T3aCpQtrbHm9AinmQnBobBlbCM5Brxni/WxAu0qd0RdQHaL0SDXv4Ie8vvWt3/d
VizTvCWFr8sBwy1J9X0S/4k5SLVb4a8VMwCTQiYKjeteunt+oCP5inikDTx1HQ4gFITy
u2hQ==
X-Gm-Message-State: AOAM5319u5ujJw30JGgoPRD5OzV7Jf9SDEUrFFnA90vRhnDBTkndg45v
UWx8XSQk99k6lbUsswVQyrWjghfkJKPllw==
X-Google-Smtp-Source: ABdhPJzDlZybsylsVySu4bPFye5mTlq0sbEngK4Z9Ybbk3oTtnMGixf8zzrXcXDI5KRM46kxBLzM/Q==
X-Received: by 2002:a7b:cc08:: with SMTP id f8mr33658371wmh.58.1625755568851;
Thu, 08 Jul 2021 07:46:08 -0700 (PDT)
Subject: Re: search and install packages via bash?
To: cygwin AT cygwin DOT com
References: <20210708084556 DOT GA7359 AT tik DOT uni-stuttgart DOT de>
<bf14fb2b-ddf5-8618-0da3-9ea5531c5877 AT dronecode DOT org DOT uk>
<20210708135324 DOT GA20639 AT tik DOT uni-stuttgart DOT de>
Message-ID: <ee7dae60-6b16-8576-5777-537a4b7c8697@gmail.com>
Date: Thu, 8 Jul 2021 16:46:06 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <20210708135324.GA20639@tik.uni-stuttgart.de>
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 08.07.2021 15:53, Ulli Horlacher wrote:
> On Thu 2021-07-08 (13:13), Jon Turney wrote:
>> On 08/07/2021 09:45, Ulli Horlacher wrote:
>>
>>> Is it possible from an interactive bash to search for cygwin packages (by
>>> substring match) and install them?
>>>
>>> I tried "/setup-x86_64.exe -h" but cannot see any options for it.
>>
>> This feature doesn't exist (yet).
>>
>> You could possibly build something equivalent using 'cygcheck -p' and
>> then processing it's output
> 
> This is the easy part, but how do I install a package via bash?
> I tried it this way:
> 
> 
> W10dev:/usr/local: /setup-x86_64.exe  -M -B -R "$CYGWIN_ROOT" -l "$CYGWIN_ROOT/.pkg-cache" -s https://ftp.fau.de/cygwin -P mksh

try without the
    -l "$CYGWIN_ROOT/.pkg-cache"


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