Date: Wed, 17 Sep 2014 21:01:08 -0300 From: Lucas Willian Bocchi <lucas.bocchi@gmail.com> To: Bryan Drewery <bdrewery@freebsd.org> Cc: Ports FreeBSD <freebsd-ports@freebsd.org> 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). Message-ID: <CA%2Bm52=f3QLSyMNpo8UtZuFX2p60aOGz7ZcUBFcsnURg=O7yBQA@mail.gmail.com> In-Reply-To: <CA%2Bm52=eRx3YhzipxCRaur8tT1Agkf9UhTKSpY90gpHQR%2Bu3g7g@mail.gmail.com> References: <CA%2Bm52=fUd5PoMDA57rfSLXYK7jvo-is9iOo8S-aYJDnEuj5Hog@mail.gmail.com> <5419CECF.8060704@gmx.de> <CA%2Bm52=eZM32WR3Wg8yw8gwKd3JjZ7V00dKoxV9rgvRowZtBOzQ@mail.gmail.com> <5419D773.8080707@gmx.de> <5419D839.2040609@FreeBSD.org> <CA%2Bm52=cDTVg9eW5Nav%2BboT1C78k4UQZxLY3kwRiycXMjoDcO7w@mail.gmail.com> <5419DD3F.4030306@FreeBSD.org> <CA%2Bm52=eFE6Rm-F00J-6dSuMBrMryHwqYFnfqBoOPa4gGTMLOwg@mail.gmail.com> <5419E75C.3020502@FreeBSD.org> <CA%2Bm52=chffg5ZbZfEZED4Gjw%2BnuRpCwFF4TUN%2BA_puzqVAt4Hw@mail.gmail.com> <5419EA50.6000202@FreeBSD.org> <CA%2Bm52=eacDRoTx6akz1PtS1Hq-vCjxii3dN-KBZvF=yc_8sJuA@mail.gmail.com> <541A0B85.4010106@FreeBSD.org> <CA%2Bm52=eRx3YhzipxCRaur8tT1Agkf9UhTKSpY90gpHQR%2Bu3g7g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At these nigth Bryan, I do an update without problem. But when talk to install the php5-snmp the problem continues. See my commands: [root@freebsd ~]# pkg update Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 944 B 0.9k/s 00:01 Fetching digests.txz: 100% 2 MB 144.9k/s 00:14 Fetching packagesite.txz: 100% 5 MB 154.2k/s 00:34 Removing expired repository entries: 100% Processing new repository entries: 100%g FreeBSD repository update completed. 23330 packages processed: 11003 updated, 63 removed and 97 added. [root@freebsd ~]# pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (38 candidates): 100% The following 15 packages will be affected (of 0 checked): Installed packages to be UPGRADED: t1lib: 5.1.2_3,1 -> 5.1.2_4,1 cairo: 1.10.2_10,2 -> 1.12.16_1,2 freeglut: 2.8.1_2 -> 2.8.1_3 libGL: 7.6.1_4 -> 7.6.1_5 python27: 2.7.8_4 -> 2.7.8_5 p5-Net-SSLeay: 1.65 -> 1.66 p5-IO-Socket-IP: 0.31 -> 0.32 ruby: 1.9.3.547_2,1 -> 1.9.3.547_3,1 ImageMagick: 6.8.9.4_3,1 -> 6.8.9.4_4,1 liblqr-1: 0.4.1_7 -> 0.4.1_8 openldap-client: 2.4.39_1 -> 2.4.39_2 curl: 7.37.1_4 -> 7.38.0_1 subversion: 1.8.10_1 -> 1.8.10_2 pciids: 20140830 -> 20140911 libGLU: 9.0.0_1 -> 9.0.0_2 The process will require 1 MB more space. 27 MB to be downloaded. Proceed with this action? [y/N]: y Fetching t1lib-5.1.2_4,1.txz: 100% 740 KB 126.4k/s 00:06 Fetching cairo-1.12.16_1,2.txz: 100% 749 KB 191.7k/s 00:04 Fetching freeglut-2.8.1_3.txz: 100% 191 KB 65.0k/s 00:03 Fetching libGL-7.6.1_5.txz: 100% 233 KB 119.4k/s 00:02 Fetching python27-2.7.8_5.txz: 100% 8 MB 198.0k/s 00:45 Fetching p5-Net-SSLeay-1.66.txz: 100% 232 KB 119.0k/s 00:02 Fetching p5-IO-Socket-IP-0.32.txz: 100% 28 KB 28.9k/s 00:01 Fetching ruby-1.9.3.547_3,1.txz: 100% 5 MB 173.9k/s 00:32 Fetching ImageMagick-6.8.9.4_4,1.txz: 100% 6 MB 197.7k/s 00:34 Fetching liblqr-1-0.4.1_8.txz: 100% 37 KB 38.2k/s 00:01 Fetching openldap-client-2.4.39_2.txz: 100% 995 KB 169.7k/s 00:06 Fetching curl-7.38.0_1.txz: 100% 1 MB 219.4k/s 00:06 Fetching subversion-1.8.10_2.txz: 100% 2 MB 118.2k/s 00:21 Fetching pciids-20140911.txz: 100% 184 KB 188.9k/s 00:01 Fetching libGLU-9.0.0_2.txz: 100% 178 KB 182.3k/s 00:01 Checking integrity... done (0 conflicting) [1/15] Upgrading python27 from 2.7.8_4 to 2.7.8_5: 100% [2/15] Upgrading cairo from 1.10.2_10,2 to 1.12.16_1,2: 100% [3/15] Upgrading pciids from 20140830 to 20140911: 100% [4/15] Upgrading libGL from 7.6.1_4 to 7.6.1_5: 100% [5/15] Upgrading liblqr-1 from 0.4.1_7 to 0.4.1_8: 100% [6/15] Upgrading libGLU from 9.0.0_1 to 9.0.0_2: 100% [7/15] Upgrading t1lib from 5.1.2_3,1 to 5.1.2_4,1: 100% [8/15] Upgrading freeglut from 2.8.1_2 to 2.8.1_3: 100% [9/15] Upgrading p5-Net-SSLeay from 1.65 to 1.66: 100% [10/15] Upgrading p5-IO-Socket-IP from 0.31 to 0.32: 100% [11/15] Upgrading ruby from 1.9.3.547_2,1 to 1.9.3.547_3,1: 100% [12/15] Upgrading ImageMagick from 6.8.9.4_3,1 to 6.8.9.4_4,1: 100% [13/15] Upgrading openldap-client from 2.4.39_1 to 2.4.39_2: 100% [14/15] Upgrading curl from 7.37.1_4 to 7.38.0_1: 100% [15/15] Upgrading subversion from 1.8.10_1 to 1.8.10_2: 100% [root@freebsd ~]# pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking for upgrades (23 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. [root@freebsd ~]# [root@freebsd ~]# yes | pkg install php5-snmp Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 2 packages will be affected (of 0 checked): New packages to be INSTALLED: php5-snmp: 5.4.32 pkg-devel: 1.4.0.p.a15 The process will require 17 MB more space. 3 MB to be downloaded. Fetching pkg-devel-1.4.0.p.a15.txz: 100% 3 MB 163.4k/s 00:20 0% Checking integrity... done (1 conflicting) New version of pkg detected; it needs to be installed first. Checking integrity... done (0 conflicting) Conflicts with the existing packages have been found. One more solver iteration is needed to resolve them. The following 4 packages will be affected (of 0 checked): New packages to be INSTALLED: php5-snmp: 5.4.32 pkg-devel: 1.4.0.p.a15 Installed packages to be REINSTALLED: pkg-1.3.7 (direct conflict changed) The process will require 17 MB more space. [1/4] Deleting pkg-1.3.7: 100%]: [1/4] Deleting pkg-1.3.7: 0% [2/4] Reinstalling pkg-1.3.7: 100% [3/4] Installing php5-snmp-5.4.32: 100% pkg: pkg-devel-1.4.0.p.a15 conflicts with pkg-1.3.7 (installs files into the same place). Problematic file: /usr/local/etc/bash_completion.d/_pkg.bash [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.a15 Installed packages to be REINSTALLED: pkg-1.3.7 (direct conflict changed) The process will require 17 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.a15 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:34 GMT-03:00 Lucas Willian Bocchi <lucas.bocchi@gmail.com>: > 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 <bdrewery@freebsd.org>: >> 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 <bdrewery@freebsd.org>: >>>> 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 >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bm52=f3QLSyMNpo8UtZuFX2p60aOGz7ZcUBFcsnURg=O7yBQA>