pkg install issue

Brandon J. Wandersee brandon.wandersee at
Tue Nov 3 17:46:33 UTC 2015

William A. Mahaffey III writes:

> I am trying to install valgrind to debug memory operations on in-house 
> code I develope. I tried the following w/ the observed results:
> [root at devbox, /etc, 9:23:59am] 437 % pkg install -y valgrind valgrind-devel
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> The following 2 package(s) will be affected (of 0 checked):
> New packages to be INSTALLED:
>          valgrind:,1
>          valgrind-devel:,1
> [SNIP]
> Conflicts with the existing packages have been found.

The instances where I've seen such errors are (a) when packages need to
be updated before installing a new package, as dependencies are out of
date; or (b) when two or more packages install the same file(s) to the
same location(s).

Looks like valgrind and valgrind-devel are two versions of the same
package. In fact, it looks like they're virtually, if not actually
identical--I'm not sure why both are in the ports tree. [1]

Short answer: You can only install one or the other, but you'd only need
one of them.


   		      :: Brandon Wandersee ::
                  :: brandon.wandersee at ::
'A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
                            			- Douglas Adams

More information about the freebsd-questions mailing list