Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Dec 2014 10:51:49 -0800
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Pgk upgrade solver problems
Message-ID:  <87ppbwvcfu.fsf@elk.localnet>
In-Reply-To: <5482A11B.3030600@yahoo.com> (Paul Pathiakis via freebsd-questions's message of "Sat, 06 Dec 2014 01:24:27 -0500")
References:  <87wq65v0gx.fsf@elk.localnet> <5482A11B.3030600@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Pathiakis via freebsd-questions <freebsd-questions@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>

-- 
Carl Johnson		carlj@peak.org



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