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



Riccardo Mottola <riccardo.mottola%libero.it@localhost> writes:

> 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/
>
> oh, I fear I have split. But, permit me, this is bad: I have a
> super-fresh install; I used pkg_add to instappl pkgin and nothing more!
> So what went wrong?
>
> localhost$ /usr/sbin/pkg_add -V
> 20201218
> localhost$ /usr/pkg/sbin/pkg_add -V
> 20210410
>
> The versions are exactly the two which are cited as "good"!

A good question.  I'm not really sure, but would be good to check the
config files and the compiled in default (by checking behavior and
'strings').
>
> I will follow the script... but it is bad to land this way without
> actually "doing" an upgrade... should we migrate essentially wth the
> script a clean 9.2 install?

I would expect 9.2 to be ok.

Where did you get pkgin from?

> in
> /usr/pkg/pkgdb
>
> I essentially only have pkgin -> the one which I added with pkg_add

So the pkg_add you used was ok.

> in /var/db/pkg I have all the packages installed with the said pkgin!

That surprises me.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index