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.

On Fri, 17 May 2013 15:24:35 +0900, iMil <> 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

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@{,,}>
               |        | ASCII ribbon campaign ( )
               |  |  - against HTML email  X
               |        |              & vCards / \

OBATA Akio /

Home | Main Index | Thread Index | Old Index