Hi there,

I'm doing a bit of spring (er, winter) cleaning and found that I hadn't putback this wad.

We originally talked about it here:

http://mail.opensolaris.org/pipermail/pkg-discuss/2011-September/027917.html

and it got a LGTM at the time.

There was a question as to why it was an error to rename to an obsolete package. This would spot the following (somewhat zany) case, where we try to do a fresh install of a now-renamed package, and that renamed package erroneously depended on an obsolete package:

$ pkg -R image install an-old-name
Creating Plan -
pkg install: No matching version of an-old-name can be installed:
Reject: pkg://opensolaris.org/[email protected],5.11-0.141:20120627T021008Z Reason: All acceptable versions of 'require' dependency on pkg:/system/obsolete are obsolete


working around 7180019, pkglint would spot this as:

$ pkglint mf\-rename mf\-obsolete
Lint engine setup...
Starting lint run...
ERROR pkglint.manifest002.5 package pkg://opensolaris.org/[email protected],5.11-0.141 was renamed to an obsolete package pkg://opensolaris.org/system/[email protected],5.11

The webrev hasn't changed at all since we looked at it originally, I've just merged and migrated the bugid - that's at:

https://cr.opensolaris.org/action/browse/pkg/timf/pkglint_fix_dep_obsolete/webrev

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

Reply via email to