pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgin conflict with same package



JFYI: pkg_install had been resolved the issue over 4 years ago.
  http://mail-index.netbsd.org/pkgsrc-changes/2009/02/13/msg018399.html

On Fri, 17 May 2013 15:24:35 +0900, iMil <imil%home.imil.net@localhost> wrote:


mysql-client-5.0.96nb2 (to be installed) conflicts with installed
package mysql-client-5.0.96.
proceed ? [y/N]


Why would it conflict with itself? Shouldn't it just upgrade without
this warning?

I'm glad you ask, this situation happens for quite some packages, and is due
to only one thing:

CONFLICTS=      {mysql-server-[0-9]*,mysql3-server-[0-9]*}

This line exists for every MySQL server package, and as pkgin does take
CONFLICTS into account, it will warn you with that conflict that actually
matches.

I am really not sure it's pkgin's duty to handle those too-generic CONFLICTS
values. What do you think?

------------------------------------------------------------------
Emile `iMil' Heitor .°. <imil@{home.imil.net,NetBSD.org,gcu.info}>
                                                                 _
               | http://imil.net        | ASCII ribbon campaign ( )
               | http://www.NetBSD.org  |  - against HTML email  X
               | http://gcu.info        |              & vCards / \




--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index