pkg update breaks pkg system

Predrag Punosevac punosevac72 at
Wed Jan 6 22:24:02 PST 2021

Just a cautionary tale for people who actually run important stuff of
DragonFly BSD servers like me. 

pkg update appears still to be broken. Lua issue 

dfly# uname -a
DragonFly 5.8-RELEASE DragonFly v5.8.3-RELEASE
#29: Sun Sep 27 17:37:43 EDT 2020
root at  x86_64

dfly# openssl version
LibreSSL 2.9.1

dfly# pkg info openssl
pkg: No package(s) matching openssl

dfly# pkg which /usr/bin/openssl
/usr/bin/openssl was not found in the database

dfly# pkg info libressl

dfly# pkg info pkg

So yes I was able to upgrade pkg to 1.16.1 however due to the Lua error
I stayed without working pkg tool. The fix was "easy"

root at ........# cp /usr/local/etc/pkg/repos/df-latest.conf.sample


however now I am stuck with broken server

That garbage you guys see is due to the PHP 7.2 to PHP 7.4 upgrade. I
think PHP 7.4 issue is fixed by PmWiki upstream but the version of
PmWiki used by dports doesn't work with PHP 7.4. I was expected that the
potential issues would be taken care of by FreeBSD PmWiki maintainer but
apparently not.

Is there way to downgrade PHP to 7.3 until the issue is fixed or should
I go for a manual upgrade of PmWiki? 

I would appreciate any ideas at this point.


More information about the Users mailing list