Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 23:19:42 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Cc:        Jeremie Le Hen <jlh@FreeBSD.org>, freebsd-pkg@FreeBSD.org
Subject:   Re: pk error: cannot solve job using SAT solver
Message-ID:  <20150918171942.GA24497@admin.sibptus.tomsk.ru>
In-Reply-To: <20150918093001.31fd7cba@laptop.minsk.domain>
References:  <CAGSa5y0fEuY86oXd5LL9eMBXBtmHzvrSXf6ez=L5GsS1myo5TQ@mail.gmail.com> <20150918093001.31fd7cba@laptop.minsk.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey V. Dyatko wrote:
> > 
> > I wanted to upgrade my package and got the following error:
> > 
> > # pkg upgrade
> > Updating myserver repository catalogue...
> > myserver repository is up-to-date.
> > All repositories are up-to-date.
> > Checking for upgrades (92 candidates): 100%
> > Processing candidates (92 candidates): 100%
> > pkg: Cannot solve problem using SAT solver:
> > dependency rule: package mutt(l) depends on: tokyocabinet(r)tokyocabinet(l)
> > upgrade rule: upgrade local tokyocabinet-1.4.48 to remote tokyocabinet-1.4.48
> > cannot install package tokyocabinet, remove it from request? [Y/n]: y
> > pkg: cannot find tokyocabinet in the request
> > pkg: cannot solve job using SAT solver
> > 
> > 
> > Note that I have my own package repository that I build with poudriere.
> > I capture the debug output (-dd) of pkg in the following file:
> > http://people.freebsd.org/~jlh/typescript.pkg.txt
> > 
> 
> you may try to do following:
> 
> 1) pkg install jpeg-turbo 
> 2) pkg upgrade

Is this a manifestation of the same problem (see below)? What kind of
problem is it and why?


# pkg upgrade
Updating sibptus repository catalogue...
sibptus repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (84 candidates): 100%
Processing candidates (84 candidates): 100%
Checking integrity... done (1 conflicting)
pkg: Cannot solve problem using SAT solver:
upgrade rule: upgrade local php5-gd-5.4.43_1 to remote php5-gd-5.4.45
cannot install package php5-gd, remove it from request? [Y/n]: n
pkg: cannot solve job using SAT solver
Checking integrity... done (0 conflicting)
Your packages are up to date.
# !!
pkg upgrade
Updating sibptus repository catalogue...
sibptus repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (84 candidates): 100%
Processing candidates (84 candidates): 100%
Checking integrity... done (1 conflicting)
pkg: Cannot solve problem using SAT solver:
upgrade rule: upgrade local php5-gd-5.4.43_1 to remote php5-gd-5.4.45
cannot install package php5-gd, remove it from request? [Y/n]: y
pkg: cannot find php5-gd in the request
pkg: cannot solve job using SAT solver
Checking integrity... done (0 conflicting)
Your packages are up to date.
#

If I say "pkg install jpeg-turbo", it offers to REMOVE quite a lot,
why?

# pkg install jpeg-turbo
Updating sibptus repository catalogue...
sibptus repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 5 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        jpeg-8_6
        php5-gd-5.4.43_1
        php5-extensions-1.7
        pecl-pdflib-3.0.4

New packages to be INSTALLED:
        jpeg-turbo: 1.4.1

The operation will free 381 KiB.

Proceed with this action? [y/N]: n
# 

I don't want php5-extensions or php5-gd removed!


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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