On Wed, May 13, 2009 at 10:24:01AM +0200, Klas Heggemann wrote:

> That's a pity. Then then the only way is to get the source or spec-files
> and rebuild the package in out current environment.

That may be the simplest.  You could also image-update to the latest
version of the OS and copy the executables from that image to the one
you're running, as long as you're sure that doing so won't break other
things on your system.  That's equally unsupported, but may be a bit easier
for you.  Alternately, you could use pkgrecv to download the package bits
and suss out which files should be installed where.  There are ways around
the problem, but nothing directly supported yet.

> For this to work smooth, there should be a way to aquire source and/or
> spec-files for any given package, but unfortunatly I have not found n
> easy way to do this.

The way that much of OpenSolaris is built, this isn't possible, as hundreds
of packages are wadded together in a single bundle of source (such as ON).
For others, the stumbling block is that although the source is in discrete
chunks, the build system is not (such as SFW).  For others, though, this
would be possible (JDS).  We do have some metadata tags defined which can
point to the source used to build the component, but nothing publishes that
metadata yet.  That's all part of the long-term plan, but it's not a high
priority for the pkg(5) team.

Danek

Reply via email to