Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jul 2014 17:13:45 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Kevin Oberman <rkoberman@gmail.com>,  Waitman Gobble <uzimac@da3m0n8t3r.com>
Cc:        "mva >> Marcus von Appen" <mva@FreeBSD.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: postgres9.2/9.3 clash with pkg
Message-ID:  <53BCEBA9.7090509@FreeBSD.org>
In-Reply-To: <CAN6yY1vVXyy=zB4dFOSHQmK0v-Cji5EUKoesQZ-9a5jrODwDFw@mail.gmail.com>
References:  <df0e5dd9542920f74e344a1b3531aca0.squirrel@mx.waitman.net> <CAN6yY1vVXyy=zB4dFOSHQmK0v-Cji5EUKoesQZ-9a5jrODwDFw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/07/2014 4:56 PM, Kevin Oberman wrote:
> On Tue, Jul 8, 2014 at 1:09 PM, Waitman Gobble <uzimac@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@gmail.com
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 

Might USES=uniquefiles be helpful here?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53BCEBA9.7090509>