From owner-freebsd-ports@FreeBSD.ORG Wed Sep 17 20:11:17 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AADCE900; Wed, 17 Sep 2014 20:11:17 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AA7B1AD; Wed, 17 Sep 2014 20:11:17 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id a13so364726igq.1 for ; Wed, 17 Sep 2014 13:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Me0+xbzMQs1o00yCZpvE/aThw8SleV47+6d6ze7XHlc=; b=YTizm9dV8E4MreEAWB9E/DdxEo0nfCICooPn0dJQOsLyV5sRAkg6o8k15in0YkwTK6 Bh4++wFPCu3IZr0DATK6JWOFgG77IOaa9kljj4/LFlw1kXJhj+1qiJf+a6GRNa9baPcp xKyGg/ioXThDvLQ7qx5a947SPIkpM/uLPvghu9VHK2VNPGFVvkSzyob7Lm/wnV4BPclp 5TaA3zcpkRg+iLpdmVkZ0rd3S19Ep52ESkpUrhLkCr9q1d2sDcSNV+5xB7dO46KOSws7 9gVC0THPkvgM4GuZjdFuBa5R+IN1Iihlx6xQhDeg7HcQtsRoy0vKWg45a9/oiILa4V1N 3BFQ== MIME-Version: 1.0 X-Received: by 10.42.203.134 with SMTP id fi6mr7488596icb.36.1410984676731; Wed, 17 Sep 2014 13:11:16 -0700 (PDT) Received: by 10.42.183.142 with HTTP; Wed, 17 Sep 2014 13:11:16 -0700 (PDT) In-Reply-To: <5419EA50.6000202@FreeBSD.org> References: <5419CECF.8060704@gmx.de> <5419D773.8080707@gmx.de> <5419D839.2040609@FreeBSD.org> <5419DD3F.4030306@FreeBSD.org> <5419E75C.3020502@FreeBSD.org> <5419EA50.6000202@FreeBSD.org> Date: Wed, 17 Sep 2014 17:11:16 -0300 Message-ID: Subject: Re: [net-snmp] Re: pkg-static: pkg-1.4.0.p.a11 conflicts with pkg-1.3.7 (installs files into the same place). From: Lucas Willian Bocchi To: Bryan Drewery Content-Type: text/plain; charset=ISO-8859-1 Cc: Ports FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 20:11:17 -0000 Here the output is differente to me. One hundred times runned both commands, one hundred times the same output. [root@freebsd ~]# pkg rquery %B net-snmp libpkg.so libperl.so [root@freebsd ~]# pkg rquery %B php5-snmp libpkg.so.3 libnetsnmp.so.30 [root@freebsd ~]# 2014-09-17 17:08 GMT-03:00 Bryan Drewery : > On 9/17/2014 3:00 PM, Lucas Willian Bocchi wrote: >> No, the problem isn't with net-snmp. >> >> Are the observium package the problem >> >> I have observium net monitor installed on my freebsd. Deinstalling >> net-snmp deinstalls observium too. Running pkg update, pkg upgrade, >> all ok. Installing net-snmp, running pkg update, pkg upgrade, all ok >> too. But, when I try to reinstall observium: >> >> pkg install observium >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> Checking integrity... done (1 conflicting) >> New version of pkg detected; it needs to be installed first. >> Checking integrity... done (0 conflicting) >> The following 4 packages will be affected (of 0 checked): >> >> New packages to be INSTALLED: >> observium: 0.14.4.5229_1 >> php5-snmp: 5.4.32 >> pkg-devel: 1.4.0.p.a13 >> >> Installed packages to be REINSTALLED: >> pkg-1.3.7 (direct conflict changed) >> > > Well it is really both net-snmp and php5-snmp. They both depend on > libpkg.so.3 (with both pkg and pkg-devel provide). > > # pkg rquery %B php5-snmp > libpkg.so.3 > libnetsnmp.so.30 > # pkg rquery %B net-snmp > libpkg.so.3 > libperl.so > > I believe it is randomly deciding to pull in pkg-devel to satisfy this > dependency. Keep trying to install php5-snmp a few times. It probably > will eventually let you, given it let you install net-snmp already. > > There's no good fix or workaround for this. It is a bug in Pkg. If you > flip over to using pkg-devel it will just propose to flip back again. > > -- > Regards, > Bryan Drewery >