On Thu 19 Feb 2009 at 10:30PM, Danek Duvall wrote:
> On Fri, Feb 20, 2009 at 04:13:17PM +1000, Joshua Hogendorn wrote:
>
> > sorry, im a bit of a newbie to solaris so you might have to elaborate, i
> > tried :
> >
> > devi...@saito:~$ pfexec pkgrm -R SUNWevolution
> > Install_root (-R option) requires an absolute pathname:
> > <SUNWevolution>
> > pkgrm: ERROR: Command line install root contends with environment.
>
> So, two things. One, I said use "-r", not "-R". Two, you're using the old
> packaging system. If you're actually running OpenSolaris, that's not
> likely to work terribly well, and you should use "pkg uninstall" instead.
> See the manpage for pkg(1): "man -s1 pkg".
Thinking wild thoughts-- Could we somehow leverage our legacy actions,
etc. to create some sort of wrapper-script replacement for pkgadd/pkgrm
which would error out? That is to say, if I do:
$ pkg install SUNWfoobar
...
$
$ pkgrm SUNWfoobar
ERROR: SUNWfoobar is managed by the pkg(5) packaging system.
See pkg(1) and pkg(5).
and/or
$ pkgrm SUNWcsu
ERROR: SUNWcsu is a legacy package descriptor. It or its
replacement are managed by the pkg(5) packaging system.
Thanks,
-dp
--
Daniel Price, Solaris Kernel Engineering http://blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss