From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 18:48:46 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD4F0AF for ; Tue, 9 Dec 2014 18:48:46 +0000 (UTC) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49AC422A for ; Tue, 9 Dec 2014 18:48:46 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id b13so1654829wgh.3 for ; Tue, 09 Dec 2014 10:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4TOLOkfCZJRh6sim+lO/S9Cur2jxqq6084BbIFJzqE4=; b=lj/aPt3hn4vH2xkRdSlOlXt+QIGSS2ETWXQKM2PZy8b8Fy3DN+wRsuiuDuheqYRVOg EQfSGxejgSud0SjZl8Vgxy8ESBmpeTkRZk6StulXGg3nnzhXgYzvlszQa8r+Mt9Dvamv 67Yb6s+1mwOsnZc9ZgD+AdF+4OQuDzRKKIVRLvqlEK6Wl5O+Q8KgutNOOxLolruHTODS lrD26tqko5Wj8gB4WsiijJn3Dw32J8do+mywipBoKKyGVLIdC+wa9dgQrHFMSMqnImrI 4Rn6dg5Q4zxI1HDSdxhre+a77a0vsQyfMqPwBaT82lsIXu75VGcgiUi8KsrDC+kAqpek fpTw== MIME-Version: 1.0 X-Received: by 10.181.28.3 with SMTP id jk3mr6794811wid.16.1418150924225; Tue, 09 Dec 2014 10:48:44 -0800 (PST) Received: by 10.216.73.2 with HTTP; Tue, 9 Dec 2014 10:48:44 -0800 (PST) In-Reply-To: <5486F232.5080004@qeng-ho.org> References: <5486F232.5080004@qeng-ho.org> Date: Tue, 9 Dec 2014 18:48:44 +0000 Message-ID: Subject: Re: Pkg upgrade 'SAT solver' problem From: Peter Harrison To: Arthur Chance Content-Type: text/plain; charset=UTF-8 Cc: pete wright , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 18:48:46 -0000 On 9 December 2014 at 12:59, Arthur Chance wrote: > On 08/12/2014 21:59, Peter Harrison wrote: >> >> On 8 December 2014 at 21:28, pete wright wrote: >>> >>> On Mon, Dec 8, 2014 at 12:18 PM, Peter Harrison >>> wrote: >>>> >>>> Can someone help with a pkg upgrade problem please? >>>> >>>> I've been relying solely on binary pkg for a while now without problem. >>>> However, on doing the latest upgrade I get: >>>> >>>> root@thinkpad:/home/peter # pkg upgrade >>>> Updating FreeBSD repository catalogue... >>>> FreeBSD repository is up-to-date. >>>> All repositories are up-to-date. >>>> Checking for upgrades (377 candidates): 100% >>>> Checking integrity... done (1 conflicting) >>>> pkg: Cannot solve problem using SAT solver: >>>> cannot install package libxfce4util~x11/libxfce4util, remove it from >>>> request? [Y/n]: n >>>> pkg: cannot solve job using SAT solver >>>> >>>> If I answer 'y' I get a much longer sequence of similar errors and the >>>> upgrade still bombs. >>> >>> >>> is this related to the upgrade of gettext? As per /usr/ports/UPDATING: >>> >>> "20141130: >>> AFFECTS: users of devel/gettext (close to everyone) >>> AUTHOR: tijl@FreeBSD.org >>> >>> The devel/gettext port has been split up in devel/gettext-runtime, a >>> lightweight package containing runtime libraries, and >>> devel/gettext-tools, >>> a package containing developer tools. The devel/gettext port still >>> exists >>> as a metaport. >>> >>> You must first delete the existing installation of gettext and then >>> reinstall it. This will break sudo, so you *must* do this in a root >>> shell (sudo -i) if you use sudo. >>> " >>> >>> I did an upgrade last week and this package pretty much broke >>> everything (including most of xfce4) causing me to do a pretty big >>> uninstall/reinstall dance. Of course if I read /usr/ports/UPDATING >>> first I would have saved myself some drama :) >>> >>> Cheers, >>> -pete >>> >>> -- >>> pete wright >>> www.nycbug.org >>> @nomadlogicLA >> >> >> Thanks - sounds about right but... >> >> root@thinkpad:/home/peter # pkg delete -f gettext >> Checking integrity... done (0 conflicting) >> Deinstallation has been requested for the following 1 packages (of 0 >> packages in the universe): >> >> Installed packages to be REMOVED: >> gettext-0.19.3 >> >> Proceed with deinstalling packages? [y/N]: y >> [1/1] Deleting gettext-0.19.3: 100% >> root@thinkpad:/home/peter # pkg upgrade >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> Checking for upgrades (377 candidates): 100% >> Checking integrity... done (1 conflicting) >> pkg: Cannot solve problem using SAT solver: >> cannot install package libxfce4util~x11/libxfce4util, remove it from >> request? [Y/n]: >> >> >> Still no dice. Any ideas? > > > When was your previous upgrade? If it was before 2014-11-26 you may have > been caught by the switch from perl 5.16 to 5.18. That required a > > pkg upgrade -f > > although that's time consuming and can't be done under sudo (see > devel/gettext note). > > Alternatively trying "pkg check -Ba" and "pkg check -da" might shake > something loose. > > -- > Those who do not learn from computing history are doomed to > GOTO 1 Bingo! That was it. All sorted now - thanks for the pointer. In my defence, "pkg updating" didn't show me anything about Perl (although now you've mentioned it I can see it in /usr/ports/UPDATING). Is that a bug in pkg? Thanks for your help. Peter Harrison.