SUPERSEDES and pkg_add

View: New views
2 Messages — Rating Filter:   Alert me  

SUPERSEDES and pkg_add

by OBATA Akio-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Is there a chance that pkg_add uses SUPERSEDES?
(and now, who uses SUPRESEDES?)

ex.
  p5-XML-LibXML-1.69 and p5-XML-LibXML-Common-0.13nb7 are installed,
  p5-XML-LibXML-1.70 is SUPERSEDES=p5-XML-LibXML-Common<=0.13nb7,
  then
    pkg_add -u p5-XML-LibXML-1.70
  replace both p5-XML-LibXML-1.69 and p5-XML-LibXML-Common-0.13nb7.

--
"Of course I love NetBSD":-)
OBATA Akio / obache@...

Re: SUPERSEDES and pkg_add

by Jens Rehsack-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/29 OBATA Akio <obache@...>:

> Hi!
>
> Is there a chance that pkg_add uses SUPERSEDES?
> (and now, who uses SUPRESEDES?)
>
> ex.
>  p5-XML-LibXML-1.69 and p5-XML-LibXML-Common-0.13nb7 are installed,
>  p5-XML-LibXML-1.70 is SUPERSEDES=p5-XML-LibXML-Common<=0.13nb7,
>  then
>   pkg_add -u p5-XML-LibXML-1.70
>  replace both p5-XML-LibXML-1.69 and p5-XML-LibXML-Common-0.13nb7.

If I understood that correctly, pkg_rr should recognize this and replace
p5-XML-LibXML-1.69 and p5-XML-LibXML-Common-0.13nb7 using p5-XML-LibXML-1.70.
That worked for me on NetBSD and failed on FreeBSD and OpenSolaris.
I don't know whether pkgin of pkg_add -u supports this.

So I'm not sure, but I was told ;-) to use this.

/Jens