This was quite the random error I ran across this week and could not find anything similar or a solution. After years of faithfully building our FreeBSD pkg repository poudriere started reporting these weird errors and refused to build anything:

====>> Error: Invalid port origin '/usr/local/sbin/apxs' not found.
====>> Error: Invalid port origin '/usr/local/sbin/pkg' not found.
====>> Error: Invalid port origin '/usr/local/sbin/pkg' not found.
====>> Error: Invalid port origin '/usr/local/sbin/pkg' not found.
====>> Error: Invalid port origin '/usr/local/sbin/pkg' not found.

The fix? Update the poudriere package itself on the building system, that cleared it right up!

Call 1-828-376-0458 to Work With Professionals Who Truly Understand FreeBSD

A-Team Systems is a proud supporter of the FreeBSD Foundation and many of our administrators are direct project contributors.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.