On Thu, May 10, 2007 at 05:29:14PM -0700, Darrin Chandler wrote: > Lately, mostly with ruby/RoR stuff I've manually installed some things > such as gems. Later, there were ports/packages for these things. Using > pkg_add then fails because files already exists. I've looked at various > -F options, but none that I've tried work for this situation. To be able > to install the package, I've had to go through the error output of > pkg_add and manually remove any "conflicting" files (ok, I scripted it). > > Is there an easier way that I'm overlooking? Would this be worth adding > another keyword for -F to just install the files even if they are there > (same md5, even!)? > > Yes, yes, I should be submitting ports instead of just installing > unported stuff. ;-P
Known issue. Grabbing stuff which has the same md5 is reasonable, wiping out stuff if it's not under pkg control as well... Right now, I'm rather into removing extra stuff from pkg_add. Then I'll probably add some more...