This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: setup; Requires (RE: bug with setup.exe: saw tetex-beta even though I did not selectprev)
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,"Hannu E K Nevalainen \(garbage mail\)" <garbage_collector at telia dot com>
- Date: Tue, 8 Apr 2003 20:45:52 +0100
- Subject: Re: setup; Requires (RE: bug with setup.exe: saw tetex-beta even though I did not selectprev)
- References: <NGBBLLIAMFLGJEOAJCCEKEPLCNAA.garbage_collector@telia.com>
- Reply-to: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
> > From: cygwin-owner at cygwin dot com [mailto:cygwin-owner at cygwin dot com]On Behalf
> > Of Jan Nieuwenhuizen
> --8<--
> > It looks like packages were deselected, or something went wrong with
> > the dependencies; I think that when there's a typo in the `requires:',
> > subsequent dependencies do not get istalled.
> --8<--
>
> Came to think of it; Is there a tool/utility that can show how
dependencies
> have been setup?
IIRC, no. But it wouldn't be hard. Something like this would do the trick
(very cheap):
--- CUT HERE ---
#!/bin/sh
#
# Script to 'wget' a setup.hint file for a given package
pkg=$1
mirror=$2
if [ "x$pkg" = "x" ]; then
echo "usage: $(basename $0) [package name] [optional mirror]"
exit 1
fi
if [ "x$mirror" = "x" ]; then
mirror="http://www.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release/
"
fi
cd /tmp
[ -e setup.hint ] && rm -f setup.hint
wget $mirror$pkg/setup.hint >/dev/null 2>&1
fgrep 'requires' setup.hint
--- CUT HERE ---
Very dirty actally. But after adding an option or two this would do the
trick. You could also use your local cache with setup.ini .
Regards,
Elfyn McBratney
elfyn at exposure dot org dot uk
www.exposure.org.uk
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/