Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 17:30:29 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Lucas Willian Bocchi <lucas.bocchi@gmail.com>
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:  <541A0B85.4010106@FreeBSD.org>
In-Reply-To: <CA%2Bm52=eacDRoTx6akz1PtS1Hq-vCjxii3dN-KBZvF=yc_8sJuA@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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--4VJHdM77pP2J6djk8NAIuJW0jGhtqSMCR
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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 outp=
ut.
>=20
> [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 ~]#
>=20
> 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?

--=20
Regards,
Bryan Drewery


--4VJHdM77pP2J6djk8NAIuJW0jGhtqSMCR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJUGguJAAoJEDXXcbtuRpfPRwgIALja6z3EW4Kcdq8QjEPntp9X
ZdFd0q0yeQxo36KSPaxFkLtpJJ0QnT60do6Wla+dHKsrMvuNamxFAECDxjO5vXXA
kigzWAF+wZeiY8PCAEm66IQV8vr+hnbmfCkJJSdiyCBi8gPbIfX4HmRdGG14RgV2
wQobztIERxuPVEhQgVBXwov7118BKMMoVpMLwnD0cRx0U8QRhuyialfb7DHA1Clp
YrrjJWEMcajJXRCpvXZAInoI8GDtg49G8YMW4IcdMzIJlOO6TWJRnXRG7QbO2kqF
L+FiB6hiEMRztoljUfK2mdqowy1nE5QM0oZlLNbIjaqkWceTJMITU/MgP7GP62Y=
=1DGj
-----END PGP SIGNATURE-----

--4VJHdM77pP2J6djk8NAIuJW0jGhtqSMCR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541A0B85.4010106>