delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/05/12:01:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: setup.exe: force installation of specific package versions?
Date: Wed, 05 Oct 2011 12:00:43 -0400
Lines: 23
Message-ID: <b7vo87pjjdlpkqqi52e6lbid591ro7m81q@4ax.com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I run setup unattended as e.g.

setup.exe --quiet-mode --packages aria2,atool,autoconf,...

This works great, except for one thing:  There are some packages for which
the "current" versions are broken, at least for me, so I want to keep the
"prev" or some other already-installed version of the package.  Is there a
way to specify in the setup invocation that I want a particular version of
a particular package?

For example, I'd like to write

setup.exe --quiet-mode --packages bzr=2.3.1-1,openssh=prev,...

I've tried to run that, but it doesn't work - everything between the = and
the next comma is ignored.  So the current versions of those packages
always get installed.

Is there a way to do this that's not documented yet?  If not, is there any
inclination to add it?

Thanks,
Andrew.


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

- Raw text -


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