[indiana-discuss] [pkg-discuss] pkg won't install older versions of packages
Shawn Walker
swalker at opensolaris.org
Wed Apr 22 13:39:43 PDT 2009
Tom Mueller wrote:
> Shawn Walker wrote:
>> pkg install foo at 1.0
>> -- installs the latest build_release, branch and timestamp for a 1.0
>> release of foo and fails if it cannot
> If the repository has foo at 1.0, foo at 1.0.1, foo at 1.0.2, foo at 1.1, and
> foo at 2.0, I think I'd like to have
>
> pkg install foo at 1.0
>
> give me foo at 1.0.2. If I really want foo at 1.0 in this case, I'd like to
> specify more information, possibly including the timestamp.
I'm not certain.
That seems like "fuzzy matching" on a version component, and lacks clear
intent on the part of the user.
If it did as you suggested above, the user would then never have a way
to install *1.0* specifically of the package without fully specifying
the next version component. It would also seem inconsistent since
foo at 1.0,5.11-0.101 could then logically install either build 101 or
build 1010 of a package :)
pkg install foo at 1.0* or foo at 1.0.* would more clearly express the intent
of the user.
Cheers,
--
Shawn Walker
More information about the indiana-discuss
mailing list