Pgk upgrade solver problems

Carl Johnson carlj at peak.org
Sat Dec 6 18:52:02 UTC 2014


Paul Pathiakis via freebsd-questions <freebsd-questions at freebsd.org>
writes:

> Carl,
>
> I had something like this and decided to regen the pkg database.
>
> pkg -Ba  (I think)
>
> It cleared most of this up.

Thanks for the reply, but that didn't seem to help my problem.  I assume
that you meant 'pkg check -Ba', but that just checks the database and
doesn't regenerate the database.  The pkg check did find some missing
files, so I forced the reinstall of two packages and that eliminated the
warnings from the check.  Unfortunately, I still got the same warnings
when I tried to upgrade, so I exited out again.

> On 12/05/2014 23:58, Carl Johnson wrote:
>> I have just tried to run a 'pkg upgrade', but I am getting a lot of 'SAT
>> solver' problems.  It appeared that it wants to remove the offending
>> packages, so I did a '^C' after the first few of them to abort any
>> operations.
>>
>> The program output looked normal at first and downloaded all of the
>> packages, but then I started getting errors like these (long lines):
>>
>>    pkg: Cannot solve problem using SAT solver:
>>    cannot install package p5-Locale-gettext~devel/p5-Locale-gettext, remove it from request? [Y/n]:
>>    cannot install package xfce~x11-wm/xfce4, remove it from request? [Y/n]:
>>    pkg: Cannot solve problem using SAT solver:
>>    cannot install package Thunar~x11-fm/thunar, remove it from request? [Y/n]:
>>    pkg: Cannot solve problem using SAT solver:
>>    cannot install package glib~devel/glib20, remove it from request? [Y/n]:
>>    cannot install package xfce4-desktop~x11-wm/xfce4-desktop, remove it from request? [Y/n]:
>>    pkg: Cannot solve problem using SAT solver:
>>    cannot install package libxfce4util~x11/libxfce4util, remove it from request? [Y/n]:
>>    cannot install package libreoffice~editors/libreoffice, remove it from request? [Y/n]:
>>
>> I can't figure out if these messages mean that it will not upgrade these
>> packages, or if it means that it will remove the packages.  I currently
>> have pkg version 1.3.8_3 and last upgraded all packages about a month
>> ago.  I also upgraded the base system from 10.0-RELEASE-p12 to
>> 10.1-RELEASE since then, but I didn't think that should effect the
>> packages.  Does anybody have any suggestions on what these errors mean,
>> and what I can do about them?
>>
>> Thanks for any suggestions.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>

-- 
Carl Johnson		carlj at peak.org


More information about the freebsd-questions mailing list