If you upgrade pkg on your system, it may start erroring out. This is because the default config will confuse the newer version. To fix this, you can copy over a working config and the problem will go away. I expect this may only be a problem until the next release.
4 Replies to “A fix for sudden Lua errors in pkg”
Comments are closed.
This issue is caused by the inconsistency between DPorts (freebsd ports as well) and pkg(8).
When upgrade pkg from 1.14.x to 1.15.x or 1.16.x, pkg will first remove the df-latest.conf if it’s the same as df-latest.conf.sample, and after installing the new version, pkg will recreate the df-latest.conf from df-latest.conf.sample, but this step fails due to the Lua error. So the final symptom is that df-latest.conf gets wiped.
After upgrading to pkg 1.15.x or 1.16.x, this Lua error won’t occur.
When is the next release?
Eric – when we have an update for DRM, though I haven’t talked to Francois recently to see how it is going.
(I am making some assumptions here)