> If i have a local copy of the packages in pkg.opensolaris.org, I can
> install packages directly from a local disk, without needed to be
> connected to the internet (and this is fast). To make that I can do:
> pkg set-authority -P -O http://localhost:10000 localhost

In this case, I'm assuming that you're running a package depot on your
local machine.  Otherwise, this wouldn't work.

> Now I can choose in packagemanager between these two repositories.
> Let's assume I have a local copy of pkg-x.y.z-timestamp1 and this
> package is now called pkg-x.y.z-timestamp2. If I install
> pkg-x.y.z-timestamp2 from the localhost repository, it never tells me
> later on when on pkg.opensolaris.org will be a newer version of pkg.

That's because the depot on localhost isn't talking to the depot on
pkg.opensolaris.org.  Your client [pkg(1)] can look at both
repositories; however, I have no idea how the GUI works.

> Also if I choose the pkg.opensolaris.org repository and select the
> pkg-x.y.z-timestamp1 it do not tells me that there is already a version
> of that.

What do you mean by "already a version of that"?

> I assume the reason for that is because the packages are called the
> same, but comming from different authorities.

Potentially.  We have some additional design issues to iron out with the
package namespace and multiple authorities.  The existing code was
written with one set of assumptions, while the namespace design doc was
written differently.  We need to make the two match, but that hasn't
happened yet.

> Is that in any case possible (or will be) that I can install from
> localhost-repository, but it is seen from packagemanager as coming from
> a different (origin) authority to get newer version from this remote site ?

Maybe, but this question is unclear.  Once we have a unified namespace,
some of these issues will go away.  It also sounds like you're
asking for depot replication.  This is done manually today.  It may be a
while before we decide to write any code to perform more complicated
replica operations.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to