postgres9.2/9.3 clash with pkg

Kubilay Kocak koobs at FreeBSD.org
Wed Jul 9 07:13:59 UTC 2014


On 9/07/2014 4:56 PM, Kevin Oberman wrote:
> On Tue, Jul 8, 2014 at 1:09 PM, Waitman Gobble <uzimac at da3m0n8t3r.com>
> wrote:
> 
>> Hi,
>>
>> I notice that many pkgs are dependent upon postgresql client 9.2. I have
>> 9.3 on this machine, when I try to install or upgrade packages which are
>> linked to 9.2, the process fails. All the errors are about documentation
>> files installed in same path.
>>
>> Simple example.
>>
>> # pkg install mapnik
>> The following 2 packages will be installed:
>>         Installing postgresql92-client: 9.2.8_1
>>         Installing mapnik: 2.2.0_7
>> pkg: WARNING: locally installed postgresql93-client-9.3.4 conflicts on
>> /usr/local/share/postgresql/psqlrc.sample with:
>>         - postgresql92-client-9.2.8_1
>>
>> Does anyone know the solution?
>>
>> Thank you,
>>
>> --
>> Waitman Gobble
>> San Jose California USA
>> +1.510-830-7975
>>
> 
> Packages are built with all dependencies at the time of the release for
> which they are built. If you update a dependency locally to a newer
> version, you will see this error. I thought I remembered that there was a
> way to tell pkg to ignore a dependency, but I can't seem to find it now.
> 
> Updates repositories are made available quarterly. You might find
> installing the package from the latest quarterly for your version of
> FreeBSD might deal with this problem, but likely does not. And, of course
> using a different dependency version might bite you with ABI
> incompatibilities.
> 
> The other option is to build ports using postgresql locally. But if a port
> requires a specific version of postgresql, this won't work. (I have not
> looked at the ports to see exactly what the dependencies are defined.) I
> suspect that this will work, though. Jut can't promise anything.
> --
> R. Kevin Oberman, Network Engineer, Retired
> E-mail: rkoberman at gmail.com
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

Might USES=uniquefiles be helpful here?

See mva@'s recent work here: /usr/ports/Mk/Uses/uniquefiles.mk


More information about the freebsd-ports mailing list