Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2014 19:00:46 +0100
From:      Peter Harrison <four.harrisons@googlemail.com>
To:        doug@safeport.com
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Broken my pkg set up...
Message-ID:  <CAA3eX7aSbOKBJ24Mh2vcfKtneKJMmEBmLeSAWMdd-WUcFx8+9g@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.11.1409191836130.20140@fledge.watson.org>
References:  <CAA3eX7YHWO=A1C=pktJ4c3Q0YQ_M_sHGv2Ap0-obc_RUQpWRJw@mail.gmail.com> <alpine.BSF.2.11.1409191836130.20140@fledge.watson.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Peter Harrison
On 19 Sep 2014 23:43, "doug" <doug@fledge.watson.org> 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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAA3eX7aSbOKBJ24Mh2vcfKtneKJMmEBmLeSAWMdd-WUcFx8+9g>