pkgsrc-Users archive

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

Re: duplicate PKGBASE entries



* On 2025-11-04 at 19:13 GMT, Andries Annema wrote:

Running pkgsrc on OmniOS. In one zone ("container") I see some errors in the log, where the main culprit seems to be:

pkg_admin: corrupt pkgdb, duplicate PKGBASE entries:
    pkg_install-20250417
    pkg_install-20201218

This sounds like you've unpacked a bootstrap kit over the top of an existing install, and ended up with two conflicting directories in the pkgdb. If you use an OmniOS 'pkgsrc' zone you don't need to install the bootstrap kit, one is already provided.

Any pointers on how to get rid of this mess are much appreciated. Tnx!

You should be able to remove /opt/local/pkg/pkg_install-20201218 and then run pkgin -f update.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index