From owner-freebsd-ports@FreeBSD.ORG Wed Sep 17 22:34:58 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 25BF5FE6; Wed, 17 Sep 2014 22:34:58 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (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 D549827E; Wed, 17 Sep 2014 22:34:57 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id ar1so38509iec.7 for ; Wed, 17 Sep 2014 15:34:57 -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=aagTvP8PY5wsk1WgcFRJewOoYwE8S5I05JqwqhxLyfA=; b=fTNYzraD6IFTvA6c4+YACOKWv8nCYcE2OPXYlpGkifwC8q9IDTy9CUIVuuap9uttBR MNUT07YFC12zFGaRCblIEixLnuLzwsfu743HiCjVYwyqYr4QqYfgwBGnOyM9iTF2nwHJ CDEVUIPb2JUQ9u5MDY7hVlr0yx3yE+DSJHJcYYQHcBzFES5nfHhnoKl8Yto98tP4kDjS hu7GRYHOntYZA38ZB7BJZ5rdf2mv+YqrPwj6/7nLEjMuUTpQboN0jJ/ePwQoceL59AxL 51v2YLi5C739nY3IUCifBB1OwzXSFaQQICDd8trx+0Pk6RR1RotnpV3b1AV4w87jyX6A RNPw== MIME-Version: 1.0 X-Received: by 10.42.38.134 with SMTP id c6mr3321389ice.16.1410993297262; Wed, 17 Sep 2014 15:34:57 -0700 (PDT) Received: by 10.42.183.142 with HTTP; Wed, 17 Sep 2014 15:34:57 -0700 (PDT) In-Reply-To: <541A0B85.4010106@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> <541A0B85.4010106@FreeBSD.org> Date: Wed, 17 Sep 2014 19:34:57 -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 22:34:58 -0000 No way Bryan. The error still occurrs. [root@freebsd ~]# pkg check -Ba Checking all packages: 100% [root@freebsd ~]# yes | pkg install php5-snmp 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 3 packages will be affected (of 0 checked): New packages to be INSTALLED: php5-snmp: 5.4.32 pkg-devel: 1.4.0.p.a13 Installed packages to be REINSTALLED: pkg-1.3.7 (direct conflict changed) The process will require 18 MB more space. [1/3] Deleting pkg-1.3.7: 100%]: [1/3] Deleting pkg-1.3.7: 0% [2/3] Reinstalling pkg-1.3.7: 100% [3/3] Installing php5-snmp-5.4.32: 100% pkg: pkg-devel-1.4.0.p.a13 conflicts with pkg-1.3.7 (installs files into the same place). Problematic file: /usr/local/etc/bash_completion.d/_pkg.bash 2014-09-17 19:30 GMT-03:00 Bryan Drewery : > On 9/17/2014 3:11 PM, Lucas Willian Bocchi wrote: >> 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 >>> > > Erm, can you please try 'pkg check -Ba' and then your pkg > install/upgrade again? > > -- > Regards, > Bryan Drewery >