pkg-static: pkg-1.4.0.p.a11 conflicts with pkg-1.3.7 (installs files into the same place).

Lucas Willian Bocchi lucas.bocchi at gmail.com
Wed Sep 17 20:00:48 UTC 2014


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)

The process will require 227 MB more space.

Proceed with this action? [y/N]: y
[1/4] Installing php5-snmp-5.4.32: 100%
[2/4] Deleting pkg-1.3.7: 100%
[3/4] Reinstalling pkg-1.3.7: 100%
[4/4] Installing observium-0.14.4.5229_1: 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 16:56 GMT-03:00 Bryan Drewery <bdrewery at freebsd.org>:
> On 9/17/2014 2:54 PM, Lucas Willian Bocchi wrote:
>> [root at freebsd ~]# pkg info | grep snmp
>> net-snmp-5.7.2_16              Extendable SNMP implementation
>
> I suspect that net-snmp is causing pkg-devel to be pulled in.
>
> Can you please pkg delete net-snmp, pkg upgrade, then pkg install
> net-snmp, then pkg upgrade again?
>
> Let us knows the results please.
>
>> php5-snmp-5.4.31_1             The snmp shared extension for php
>> [root at freebsd ~]#
>>
>> [root at freebsd ~]# pkg rquery %n ports-mgmt/pkg-devel
>> pkg-devel
>> [root at freebsd ~]# pkg rquery %n ports-mgmt/pkg
>> pkg
>> [root at freebsd ~]# pkg query %n pkg
>> pkg
>> [root at freebsd ~]# pkg query %n pkg-devel
>>
>> 2014-09-17 16:13 GMT-03:00 Bryan Drewery <bdrewery at freebsd.org>:
>>> On 9/17/2014 2:04 PM, Lucas Willian Bocchi wrote:
>>>> None of these solutions had worked. The conflict between pkg-devel and
>>>> pkg already exists.
>>>>
>>>> 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
>>>
>>> Let's start fresh here. I've seen several reports of this. For some
>>> reason 'pkg upgrade' is wanting to install pkg-devel when it should not.
>>>
>>> Can you please show me this information?
>>>
>>> Do you have net-snmp installed?
>>>
>>> pkg rquery %n ports-mgmt/pkg-devel
>>> pkg rquery %n ports-mgmt/pkg
>>> pkg query %n pkg
>>> pkg query %n pkg-devel
>>>
>>> --
>>> Regards,
>>> Bryan Drewery
>>>
>
>
> --
> Regards,
> Bryan Drewery
>


More information about the freebsd-ports mailing list