pkg install issue

Brandon J. Wandersee brandon.wandersee at gmail.com
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: 3.10.0.20150126_1,1
>          valgrind-devel: 3.10.0.20150126_1,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.

[1]: https://www.freshports.org/search.php?query=valgrind&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive

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


More information about the freebsd-questions mailing list