Re: r2421600 amd64 /var/db/pkg

From: Eitan Adler <lists_at_eitanadler.com>
Date: Sat, 3 Nov 2012 20:43:38 -0400
On 3 November 2012 20:37, Darrel <levitch_at_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
Received on Sat Nov 03 2012 - 23:44:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC