pkg install issue

Patrick Hess patrickhess at gmx.net
Tue Nov 3 16:28:23 UTC 2015


William A. Mahaffey III wrote:
> [root at devbox, /etc, 9:23:59am] 437 % pkg install -y valgrind valgrind-devel
> [...]
> New packages to be INSTALLED:
>          valgrind: 3.10.0.20150126_1,1
>          valgrind-devel: 3.10.0.20150126_1,1

Why are you trying to install *both* valgrind and valgrind-devel,
especially since (at least as of right now) they both provide the
exact same version of Valgrind?

> One more solver iteration is needed to resolve them.

If you were to run that same "pkg install ..." command line again,
pkg(8) should ideally tell you that you are trying to install two
conflicting packages. In this case, the conflict is caused by these
two packages installing files into the same places. In fact, the plists
for both ports are exactly the same:

http://svnweb.freebsd.org/ports/head/devel/valgrind/pkg-plist?revision=382021&view=markup
http://svnweb.freebsd.org/ports/head/devel/valgrind-devel/pkg-plist?revision=382021&view=markup

So you can't install both packages on your system. Pick just *one*.

Patrick



More information about the freebsd-questions mailing list