pkgutil failing to install specific version of a package dependency

Peter Bonivart bonivart at opencsw.org
Sat Jul 1 10:54:52 CEST 2017


I only remember us using "latest is greatest" as principle. If I
remember correctly GAR produces depend files without version and it's
probably because of Antoine including version that pkgutil sees two
versions, it was never intended to end up with that. If it's a
standard Solaris thing it should handle it without fault at least but
I'm not sure of the benefit of complete support of it. First time in
10 years (?) it has surfaced.

I'm on the road so I can't take a look at this for at least a week.

On Fri, Jun 30, 2017 at 5:28 PM, Maciej Bliziński <maciej at opencsw.org> wrote:
> Hi Anotine,
>
> On Fri, Jun 30, 2017 at 01:41:31PM +0000, ALLARD Antoine via users wrote:
>> The depend documentation<https://docs.oracle.com/cd/E26505_01/html/816-5174/depend-4.html#REFMAN4depend-4> says that the version should be specified on a new line starting with some whitespace but it did not work in my case (it ended taking the latest revision).
>> What is the correct way to specify the revision of a package dependency?
>
> The ability to depend on a specific version of a package is news to me. All of
> the OpenCSW packages are built with the assumption that this is not possible.
>
> I tried to determine when was this introduced. I found the previous version of
> this document for Solaris 8 and 9:
>
> Solaris 8
> http://docs.oracle.com/cd/E19455-01/806-0633/6j9vn6q35/index.html
>
> Solaris 9
> http://docs.oracle.com/cd/E19683-01/816-0219/6m6njqb78/index.html
>
> Both documents refer to the same file format, which includes the package
> version.
>
> Perhaps it's just the OpenCSW tooling that doesn't allow for that? In any case,
> it's likely that pkgutil wasn't designed or tested for this feature.
>
> I don't know how much effort would it take to make it work. Maybe Peter
> Bonivart can write more about this?
>
> Maciej


More information about the users mailing list