Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00c801c4860a$adcd62d0$78d96f83@robinson.cam.ac.uk> From: "Max Bowsher" To: , "Christopher Cobb" References: Subject: Re: installing packages using setup.exe from the command line (e.g., remotely) Date: Thu, 19 Aug 2004 17:36:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-IsSubscribed: yes Note-from-DJ: This may be spam Christopher Cobb wrote: > I've found snipets of information, such as this: > > http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html > > What I would like is an example of how to use setup.exe from the command > line > (e.g., via ssh) to install a package remotely. > > I've tried this: > > setup -D -s ftp://mirrors.kernel.org -R $CYGWIN_HOME -q -n wget > > which does not produce any errors, but it also doesn't seem to download or > install the package. setup isn't really designed for use from the command line. It doesn't take package names as arguments, for example. You could, I suppose, munge /etc/setup/installed.db to fool setup into thinking that a really old (e.g. version 0) version of a package is installed, so that it would updated - it's a messy way to do it, but there is no better way. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/