Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2003 10:42:21 -0800
From:      Tim Kientzle <kientzle@acm.org>
To:        clemens fischer <ino-qc@spotteswoode.de.eu.org>
Cc:        Yury Tarasievich <grog@grsu.by>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Making pkg_XXX tools smarter about file types...
Message-ID:  <3E46A10D.6090409@acm.org>
References:  <3E42C148.4050807@acm.org> <3E440393.3080506@grsu.by> <smuxs891.fsf@ID-23066.news.dfncis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
clemens fischer wrote:

> Yury Tarasievich <grog@grsu.by>:
>>I'd like to see in dependencies not only like "was built with
>>-1.9_2abc, so wants it", but also something like -1.5+ (obviously
>>1.5.0 and newer), -* (any version will do).
> 
> ... sometimes newer versions aren't backwards
> compatible, which you can't know back in the past.


A better approach might be to simply fob it
off on the user, i.e.,

# pkg_install foo-1.5
Warning: foo-1.5 requires bar-2.3, you have bar-1.7 installed.
Proceed? [Y/n]

Eventually, someone should teach pkg_install
about fetch, so it could offer the option of
downloading and installing the dependency.
IIRC, Debian's package system handled this pretty
elegantly---it even upgraded installed packages
automatically---although their curses-based
UI was ... erm .... "quirky." ;-)

Tim Kientzle


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E46A10D.6090409>