On Tue, May 26, 2009 at 02:59:24PM -0700, Rich Burridge wrote:

> RuntimeError: ['Duplicate actions', [(('dir', 'lib/svc'), 
> set([<pkg.actions.directory.DirectoryAction object at 0xab2988c>, 
> <pkg.actions.directory.DirectoryAction object at 0xab141ac>])), (('dir', 
> 'lib/svc/method'), set([<pkg.actions.directory.DirectoryAction object at 
> 0xab2998c>, <pkg.actions.directory.DirectoryAction object at 
> 0xab142ac>]))]]

The root cause is a busted set of SVr4 packages.  Though these duplicate
action errors are hard to read, the information is all there: the
directories "lib/svc" and "lib/svc/method" are duplicated.  Normally we
treat directories as duplicatable without consequence (though we may be
stricter in the future), but in this case the perms on the directories
differ (and inside the same package, no less), so it keels over, not
knowing what you want it to do.

As it turns out, SUNWsamfsr delivers the two directories with mode 0444
(which makes practically no sense for a directory) and SUNWsamfsu delivers
them with 0755, which is correct.  The two packages get imported into the
same pkg(5) package, and boom.

I'm not sure this can be fixed from the import script, though you can see
if excluding the ones from SUNWsamfsr would do the trick.  Regardless, this
should be fixed in the SVr4 package itself.

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

Reply via email to