From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 22:43:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D40B2139 for ; Fri, 19 Sep 2014 22:43:05 +0000 (UTC) Received: from cyrus.watson.org (cyrus.watson.org [198.74.231.69]) by mx1.freebsd.org (Postfix) with ESMTP id A6321607 for ; Fri, 19 Sep 2014 22:43:05 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 4BD3346B0C; Fri, 19 Sep 2014 18:42:59 -0400 (EDT) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.8/8.14.8) with ESMTP id s8JMgxEA079708; Fri, 19 Sep 2014 18:42:59 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.8/8.14.8/Submit) with ESMTP id s8JMgwN5079705; Fri, 19 Sep 2014 18:42:58 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Fri, 19 Sep 2014 18:42:58 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: Peter Harrison Subject: Re: Broken my pkg set up... In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (fledge.watson.org [127.0.0.1]); Fri, 19 Sep 2014 18:42:59 -0400 (EDT) Cc: FreeBSD Mailing List 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: Fri, 19 Sep 2014 22:43:05 -0000 On Fri, 19 Sep 2014, Peter Harrison wrote: > Dear list, > > I seem to have broken my pkg beyond all repair (that I can find at least). > > The problem seems to stem from having used postmaster to update chromium > (and a couple of other ports) when there was a bit of a delay in the > official repository being update. > > pkg now refuses to update those ports. > > I get: > > "pkg: Cannot solve problem using SAT solver" > > Consistently for those ports which were updated by hand. > > I've gone so far as to delete all ports (pkg delete -a), verify that the > pkg database is empty (pkg info) run pkg check -Ba. But on reinstall I get > the exact same message on the exact same ports - including slim, xfce4, and > chromium. > > What am I doing wrong? > > This is on 10-RELEASE i386 > This is shooting in the dark because you did not list what errors you were getting: 1) check your version of pkg, it should be [at least] 1.3.7 2) somewhere between 1.1.4 and the current version the format of pkg.conf changed. This keeps pkg from updating. pkg.conf.sample should be okay. Rename it and update pkg if that is your issue. 3) Various threads have talked about deleting old meta data. I have never used pkg in a way to have the directories and/or files discussed on my system. 4) Make sure to set make.conf: WITH_PKGNG=yes Given that you have cleared everything and still get the problem, make sure what version you have. I had my problems on a 9.2 system, so your issue is probably not what I had. However seeing if you have the latest version of pkg and updating to that version if not, is a good place to start. Post the command and the errors you are getting.