perl version woe

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Apr 17 09:27:31 UTC 2015


On 2015/04/17 04:52, Victor Sudakov wrote:
> However, could you please explain what is happening below and how I
> should fix this:
> 
> [dd]
> Fetching postgresql92-client-9.2.10_1.txz: 100%  991 MiB 146.2kB/s    00:36 ETA
> Fetching php5-pdo_pgsql-5.4.39.txz: 100%   17 KiB  17.6kB/s    00:01
> Checking integrity... done (2 conflicting)
> pkg: Cannot solve problem using SAT solver:
> dependency rule: package php5-extensions(r) depends on: php5-ldap(r)php5-ldap(l)
> dependency rule: package php5-extensions(l) depends on: php5-ldap(r)php5-ldap(l)
> upgrade rule: upgrade local php5-ldap-5.4.39 to remote php5-ldap-5.4.39
> cannot install package php5-ldap, remove it from request? [Y/n]: pkg: cannot find php5-ldap in the request
> pkg: cannot solve job using SAT solver
> Checking integrity... done (0 conflicting)
> Conflicts with the existing packages have been found.
> One more solver iteration is needed to resolve them.
> [root at gw /]

Yes, that does seem pretty bizarre.  At a guess the local and remote
versions of the package, while having the same name and version number
have different sets of dependencies (maybe different LDAP versions or
LDAP with and without SASL?)  If you're particularly unlucky you've got
some other packages that require conflicting versions of the php5-ldap
package, but that seems unlikely given what php5-ldap is.

To solve the problem you can try forcing a re-install of php5-ldap:

    pkg upgrade -f php5-ldap

and then retry your general upgrade again.

Hmmm....

Do you have more than one pkg repository configured?  'pkg -vv' will
show the current state.  If so, then it may be the case that pkg is
choosing a version from a repository with a different set of
dependencies compiled in than what you want.  To solve that, be sure to
upgrade to pkg-1.5.1 as that has CONSERVATIVE_UPGRADE enabled now,
meaning go back to the same repository the package was originally
installed from.

	Cheers,

	Matthew




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20150417/9a32db8e/attachment.sig>


More information about the freebsd-pkg mailing list