[indiana-discuss] [pkg-discuss] pkg won't install older versions of packages
Shawn Walker
swalker at opensolaris.org
Wed Apr 22 13:48:25 PDT 2009
Danek Duvall wrote:
> On Wed, Apr 22, 2009 at 03:39:43PM -0500, Shawn Walker wrote:
>> Tom Mueller wrote:
>>> 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.
>
> Perhaps, but it does match the way dependencies work. It makes a lot of
> sense to me -- "install a 1.0 product, but if it's been patched up to ..4,
> then install that". Like "pkg install python at 2.4" gives you python at 2.4.4.
> Why not? We've talked about version syntax that would force an exact
> match, but in this case, it could simply be a flag to pkg install.
That would be fine too. Perhaps the exact match case is to start with
pkg:/ instead of adding a flag?
Cheers,
--
Shawn Walker
More information about the indiana-discuss
mailing list