Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 18:42:58 -0400 (EDT)
From:      doug <doug@fledge.watson.org>
To:        Peter Harrison <four.harrisons@googlemail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Broken my pkg set up...
Message-ID:  <alpine.BSF.2.11.1409191836130.20140@fledge.watson.org>
In-Reply-To: <CAA3eX7YHWO=A1C=pktJ4c3Q0YQ_M_sHGv2Ap0-obc_RUQpWRJw@mail.gmail.com>
References:  <CAA3eX7YHWO=A1C=pktJ4c3Q0YQ_M_sHGv2Ap0-obc_RUQpWRJw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1409191836130.20140>