NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 9.2: pkgin packages do not register pkg_info
Hi Greg
Greg Troxel wrote:
> I don't either, but my advice is to *always* set PKG_DBDIR explicitly in
> btoh mk.conf and pkg_install.conf. Check if you have the split brain
> situation, or something else:
>
> https://pkgsrc.org/pkgdb-change/
I tried to perform the split migration according to the cited mail
http://mail-index.netbsd.org/pkgsrc-users/2020/12/30/msg032987.html
I got some warnings and I don't think it went totally well:
localhost# pkg_admin check
.........................................................pkg_admin:
can't open /usr/pkg/pkgdb/dirs/+CONTENTS: No such file or directory
localhost# pkg_admin rebuild-tree
pkg_admin: Cannot read +CONTENTS of package dirs
I fear this "dirs" come from this step:
In /var/db/pkg.refcount
tar cf - . | (cd /usr/pkg/pkgdb && tar xfv -)
since pkg.refcount contained "dirs"
ls /usr/pkg/pkgdb/dirs/
etc usr var
is it out of place?
Riccardo
Home |
Main Index |
Thread Index |
Old Index