Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Dec 2014 15:06:28 -0800
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Pgk upgrade solver problems
Message-ID:  <87h9x8v0nf.fsf@elk.localnet>
In-Reply-To: <87lhmkv4kx.fsf@elk.localnet> (Carl Johnson's message of "Sat, 06 Dec 2014 13:41:34 -0800")
References:  <87wq65v0gx.fsf@elk.localnet> <5482A11B.3030600@yahoo.com> <87ppbwvcfu.fsf@elk.localnet> <548365A7.4070306@yahoo.com> <87lhmkv4kx.fsf@elk.localnet>

next in thread | previous in thread | raw e-mail | index | archive | help
Carl Johnson <carlj@peak.org> writes:

> Paul Pathiakis via freebsd-questions <freebsd-questions@freebsd.org>
> writes:
>
>> I was hoping that it would clear it all like it did on one of my machines.
>>
>> However, on  the other.... well, I deinstalled all the questionable
>> packages and reinstalled them.  I believe it's a problem with pkg, as
>> the other machine was PCBSD.
>>
>> Let me check the thread....
>>
>> Ok... found it.  It was between myself and another guy.
>>
>> pkg upgrade -f
>>
>> Let me know.  Remember, it's the *BSD community, everyone is here to help.
>
> I was hoping to avoid that, but there are no other suggestions, so I
> guess I will have to.
>
> Thanks for the help.

I ended up just upgrading without the -f and letting it remove all of
the packages it wanted to and then adding them back in.  It was about 30
packages, which wasn't too bad.

>> It did clean up a lot at that point, but there were still 1 or 2.
>> On 12/06/2014 13:51, Carl Johnson wrote:
>>> 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"
>>>>
>>>>
>>
>> _______________________________________________
>> 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?87h9x8v0nf.fsf>