The following notice only applies to users running pkg gate development
bits on systems running a OpenSolaris build 106 version of pkg.depotd
(revision 848 / 048096a95369) or to users that have written their own
depot templates for older versions of the depot software.
The changes for revision 852 / 96c4a4dace99 fixed these issues:
5999 catalog.extract_matching_fmris - version filtering not correct
6010 packages page should show only latest version of packages by default
As a result of these changes, the server/api used for depot templates
changed incompatibly with previous versions. As such, if you attempt to
run a version of pkg.depotd after revision 848 on a system that has an
older version installed, you may see this error in the logs when
attempting to access depot pages:
VersionException: Incompatible API version '1' specified; expected: '2'.
The cause is that the newer development server is attempting to load the
older depot templates from the system's installed /usr/share/lib/pkg
directory.
To correct this, you must run the pkg.depotd process with
--content-root=/path/to/new/usr/share/lib/pkg; if you are running the
depot.py program from an the pkg gate src/ directory, you can do it this
way:
./depot.py --content-root=../proto/root_`uname -p`/usr/share/lib/pkg
...should work.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss