X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Andrew Schulman <schulman.andrew@epamail.epa.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
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

