NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Necessity of rebuilding pkgsrc after updating the system



Pongthep Kulkrisada <ptkrisada%gmail.com@localhost> writes:

> Thank you very much, Eric.
>
> pkg_chk -g to create the list (/usr/pkgsrc/pkgchk.conf).
> pkg_delete \* to remove everything.
> Rebuild pkg_chk itself
> pkg_chk -a -s
>
> Those work pretty fine.

I would add:

"pkg_admin check" before you start

after pkg_delete \*, verify that /usr/pkg is empty except for etc and
other things that should persist

check that /var/db/pkg has no subdirs (or pkg_info shows none)

Attachment: pgp1VvfAXE1DK.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index