Solved [Solved] pkg: cannot solve job using SAT solver (php5-gd)

Hi,

Running FreeBSD 9.3, my web server needs the php5-gd module, but it doesn't want to install. It doesn't give me any error message of what is conflicting, just that it cannot solve the job or something.

Here's the output:

Code:
pkg install php5-gd
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
pkg: Cannot solve problem using SAT solver:
cannot install package php5-gd~graphics/php5-gd, remove it from request? [Y/n]: n
pkg: cannot solve job using SAT solver
Checking integrity... done (0 conflicting)
The most recent version of packages are already installed

Any idea?

Thanks!
 
Re: pkg: cannot solve job using SAT solver (php5-gd)

Maybe it has something to do with:

Code:
20140826:
  AFFECTS: users of ports-mgmt/pkg, ports-mgmt/pkg-devel
  AUTHOR: bdrewery@FreeBSD.org

  Pkg has been updated to 1.3.7. This fixes registration and tracking of
  shared libraries. All earlier versions of Pkg incorrectly marked some
  shared libraries and used the wrong name for some.

  Please note announcement for special instructions at:
    http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000086.html

  - Users need to run 'pkg update -f' and 'pkg check -Ba' after upgrading to
    pkg-1.3.7 and before updating any other packages. This avoids needing to
    reinstall anything not needed due to changed shlibs.
     For binary package users:
      # pkg install ports-mgmt/pkg
      # pkg update -f
      # pkg check -Ba
      # pkg upgrade
     For port users:
      # make -C /usr/ports/ports-mgmt/pkg build deinstall install clean
      # pkg check -Ba
  - People building packages for serving to other systems need to rebuild
    all packages with 1.3.7.
 
Re: pkg: cannot solve job using SAT solver (php5-gd)

talsamon said:
Maybe it has something to do with:

Code:
20140826:
  AFFECTS: users of ports-mgmt/pkg, ports-mgmt/pkg-devel
  AUTHOR: bdrewery@FreeBSD.org

  Pkg has been updated to 1.3.7. This fixes registration and tracking of
  shared libraries. All earlier versions of Pkg incorrectly marked some
  shared libraries and used the wrong name for some.

  Please note announcement for special instructions at:
    http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000086.html

  - Users need to run 'pkg update -f' and 'pkg check -Ba' after upgrading to
    pkg-1.3.7 and before updating any other packages. This avoids needing to
    reinstall anything not needed due to changed shlibs.
     For binary package users:
      # pkg install ports-mgmt/pkg
      # pkg update -f
      # pkg check -Ba
      # pkg upgrade
     For port users:
      # make -C /usr/ports/ports-mgmt/pkg build deinstall install clean
      # pkg check -Ba
  - People building packages for serving to other systems need to rebuild
    all packages with 1.3.7.

Such an easy fix, that did it! Thanks!
 
Back
Top