On 10/ 6/10 07:46 PM, Lincoln Yeoh wrote:
But why do the "fake" version strings differ depending on the tool used? Is there a translation/conversion I should use for them?
The only version string that's "fake" is the one from "pkginfo". It differs because it's just placeholder information to satisfy SVR4 package dependencies.
Is it correct then to say that on OpenSolaris I should only use: pkg and NOT use pkginfo at all? And pkg will show all the SVR4 stuff with the correct versions etc?
If it is for an SVR4 package, you must use 'pkginfo' to obtain package information. Otherwise, you must use 'pkg info'.
If the above is not true, then if there are some SVR4 packages installed in an OpenSolaris system, what is the correct method to get a complete (SVR4 and IPS) list of software packages installed and avoiding or removing duplicates.
There's no easy way to get a list of all installed packages for both IPS + SVR4 that avoids duplicates.
Unless SVR4 packages have been installed, there's no reason to use 'pkginfo', and so the output of 'pkg list' should be sufficient.
-Shawn _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org