> I am trying to get my head around IPS, and struggling a tad... I just > chose an arbitrary, but less run-of-the mill binary to locate > /usr/lib/labeld from TX, and did "pkg search labeld" on my 2008.05 > installation. The binary is on the system, but the above command > reported nothing. I then tried "pkg search -r labeld", and received four > reports, one for "5.11-0.75", one for "5.11-0.79", and confusingly two > for "5.11-0.86". I then did "pkg install SUNWts", and as expected, the > .86 version was installed; and my "pkg search labeld" now reports the > presence of the binary. > > The question is, why did my "pkg search" not report anything before the > "pkg install" was executed, even though the binary was present on the > system? And why is the ".86" version reported twice in the repository? > > What am I missing please? > > Thanks and regards... Sean.
You're not missing anything, you just did some checks (I suspect) in the wrong order. I assert that, when you say "The binary is on the system," that you looked for it AFTER you did the pkg install. On my 2008.05 system, I do not have SUNWts as part of my default installation: > % ls -l /usr/lib/labeld > ls: cannot access /usr/lib/labled: No such file or directory > % pkg search -l labeld > % That's really the only part of your note that doesn't completely make sense. The rest (finding the file action in a remote search, installing it, and then finding it in a local search) is all spot-on. As for multiple 86 packages, if you look at http://pkg.opensolaris.org/, you'll see that they have different timestamps: > pkg:/[EMAIL PROTECTED],5.11-0.86:20080426T180521Z > pkg:/[EMAIL PROTECTED],5.11-0.86:20080422T223257Z ...so for whatever reason, two different 5.11-0.86 packages were uploaded to the repository, one on April 22 and another on April 26. The timestamp isn't reported by pkg search, so you wouldn't see this in your command output. It's probably an artifact of a respin somewhere, but I'm not close enough to the work of populating the repository to speak more knowledgeably. --Mark _______________________________________________ opensolaris-discuss mailing list [email protected]
