Thanks I was trying to do that and figured out that I need to specify a regex 
so that it doesn't tell me 
about issues in the solaris repository.   I have something that seems to work .

bursrotst07 #:  pkglint -v -c /var/tmp/  -r 
http://ipkg.us.oracle.com/solaris11/dev/ -p '.*jre-7.*' jre.i386.manifest 
demo.i386.manifest jdk.i386.manifest 
Lint engine setup...
Loading module pkg.lint.pkglint_action
Loading module pkg.lint.pkglint_manifest
Loading module pkg.lint.opensolaris
                               
PHASE                                          ITEMS
Ignoring -r option, existing image found.  3599/4002 
Seeding reference action dictionaries.
Seeding lint action dictionaries.
Seeding local action dictionaries.
Seeding reference action duplicates dictionaries.
6                                                1/4Seeding lint action 
duplicates dictionaries.
Seeding local action duplicates dictionaries.
Seeding reference manifest duplicates dictionaries.
8                                                1/4Seeding lint manifest 
duplicates dictionaries.
Starting lint run...

Total number of checks found: 25
DEBUG pkglint001.3                Checking 
pkg://java-nightly/library/java/[email protected],5.11-0.164
DEBUG pkglint001.3                Checking 
pkg://java-nightly/runtime/java/[email protected],5.11-0.164
DEBUG pkglint001.3                Checking 
pkg://java-nightly/developer/java/[email protected],5.11-0.164


What is the recommended way to lint only the provided manifests?

Rinaldo



On May 15, 2011, at 1:29 PM, Alan Coopersmith wrote:

> On 05/14/11 05:39 PM, Rinaldo DiGiorgio wrote:
>> WARNING pkglint.action005.1       obsolete dependency check skipped: unable 
>> to find dependency pkg:/system/library/c++/[email protected] for 
>> pkg://java-nightly/library/java/[email protected],5.11-0.166
> 
> That's not saying they are obsolete - read it again.  The check to see if it's
> obsolete had to be skipped because it couldn't find that package in either
> your repo (the one specified with the -l flag) or a repo you provided to
> reference with a -r flag.
> 
> Try adding "-r http://ipkg.us.oracle.com/solaris11/dev/"; to your pkglint 
> flags.
> 
> -- 
>       -Alan Coopersmith-        [email protected]
>        Oracle Solaris Platform Engineering: X Window System
> 

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

Reply via email to