Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2012 20:43:38 -0400
From:      Eitan Adler <lists@eitanadler.com>
To:        Darrel <levitch@iglou.com>
Cc:        current@freebsd.org
Subject:   Re: r2421600 amd64 /var/db/pkg
Message-ID:  <CAF6rxgkx6Z8p9oyJaRKkvREfqD4AOHXjgzxowR01iCMJ-G%2BfWw@mail.gmail.com>
In-Reply-To: <alpine.GSO.2.00.1211032029040.8181@shell1>
References:  <alpine.GSO.2.00.1211031554040.28225@shell1> <CAF6rxg=EUS20fnsVwFJzfmHo_c1iQLKFXJo5C0T3Q58qis402Q@mail.gmail.com> <alpine.GSO.2.00.1211032029040.8181@shell1>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 November 2012 20:37, Darrel <levitch@iglou.com> wrote:
>
>>> Is it possible to regenerate the package database or somehow start over?
>>> I
>>> am seeing errors like these:
>>>
>>> pkg_info: Don't use the pkg_ tools if you are using pkgng
>>> pkg_info: the package info for package 'ca_root_nss-3.14' is corrupt
>>
>>
>> have you run ever run pkg2ng ?
>>
>
> Hi, Eitan.
>
> It could be that I had a case of bad luck.  About an hour before the
> documentation was put into /usr/ports/UPDATING, I noticed that portmaster
> was not working and 'make deinstall' and 'make reinstall' and ticked
> 'pkgng'.  Then portmaster seemed to work alright.
>
> Then when the UPDATING entry 20121010 happened shortly after, I followed it
> exactly- so yes I ran pkg2ng.  Somehow my installation has both

The moment you run pkg2ng you lose any right to use pkg_* tools  -
this is what the first warning is telling you.
I have a patch awaiting approval which makes the error more clear.



-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkx6Z8p9oyJaRKkvREfqD4AOHXjgzxowR01iCMJ-G%2BfWw>