AZTCOFWCYBER SECURITY SOLUTIONS
Knowledge baseChange logDocumentation in English
Knowledge base/Repository Metadata Version Errors

AZTCOFW / TECHNICAL GUIDE

Repository Metadata Version Errors

Troubleshooting UpgradesTroubleshooting

If pkg is unable to update and complains about the repository metadata version, the pkg utility may need to be updated manually to version 1.13.x or later.

Example metadata version error:

>>> Updating repositories metadata… Updating AZTCO-FW-core repository catalogue…
pkg-static: repository meta /var/db/pkg/AZTCO-FW-core.meta has wrong version 2
pkg-static: Repository AZTCO-FW-core load error: meta cannot be loaded No error: 0

To correct the problem, manually bootstrap pkg from an ssh or console shell:

# pkg-static bootstrap -f

Warning: Do not run the above command from Diagnostics > Command as it requires interactive input. If ssh and console shells are unavailable, use this variation instead:

env ASSUME_ALWAYS_YES=yes pkg-static bootstrap -f

Imported from the AZTCOFW knowledge base on 2026-09-05. Historical guidance may refer to older software versions. Confirm applicability before changing a production system.

Original source ↗
Privacy policy ↗

Search

Search website content and the English knowledge base.

Start with a product, topic or question.