Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 2015 10:01:56 -0600
From:      Brandon J. Wandersee <brandon.wandersee@gmail.com>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: pkg install issue
Message-ID:  <86mvuvoyvf.fsf@WorkBox.Home>
In-Reply-To: <5638D17E.70502@hiwaay.net>
References:  <5638D17E.70502@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@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
==================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mvuvoyvf.fsf>