From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 18:00:49 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFAD36B1 for ; Sat, 20 Sep 2014 18:00:48 +0000 (UTC) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) (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 7B00279A for ; Sat, 20 Sep 2014 18:00:48 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id u56so1102434wes.11 for ; Sat, 20 Sep 2014 11:00:46 -0700 (PDT) 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=hsCPS4gguVF8eGm32zXw8+UHPJvQCfMQrjOeOuCT3YM=; b=cFpIxCPdCNseES5d5Sw182mdXzWjYJADzf9zLCd+eKtGKdsUHP3hDpKYO262sssOcg bfd45nKBwXs1ZBcvezYFx+yk5gOkhV+Onipo2qwzUBKReC00W7Krvmg6QyF3nmJImSOh mJFC1NVpZUFlhHTiQj4KEYg9xiQw0Wa+G6wBOqDkD8Me92nWXmxajKYW3bu1WkgkCQxp 56mrFOL8pcxNkh6iQudc9N7W1GedXfB23WluPGVGqDK6nw3rhxmGgYXmJ++Nl+rK+Fyg pdr3UbCUtiGoGHhHA7BxnyNLKduZWP5tW1WTBkZ4wKV5fiQ6wYdRXUIgTM7FALl6fEbl nuWA== MIME-Version: 1.0 X-Received: by 10.194.78.243 with SMTP id e19mr3254145wjx.119.1411236046751; Sat, 20 Sep 2014 11:00:46 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Sat, 20 Sep 2014 11:00:46 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Sat, 20 Sep 2014 11:00:46 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Sep 2014 19:00:46 +0100 Message-ID: Subject: Re: Broken my pkg set up... From: Peter Harrison To: doug@safeport.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 20 Sep 2014 18:00:49 -0000 Peter Harrison On 19 Sep 2014 23:43, "doug" wrote: > > 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. Thanks. I managed to resolve the problem by forcibly deleting all ports, including pkg; deleting /var/db/pkg/; then reinstalling pkg and all subsequent pkgs. I have encountered another problem but I'll cover that in another mail. Cheers. Peter.