r2421600 amd64 /var/db/pkg

Eitan Adler lists at eitanadler.com
Sun Nov 4 00:44:11 UTC 2012


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


More information about the freebsd-current mailing list