pkg update breaks pkg system

Predrag Punosevac punosevac72 at gmail.com
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 dfly.int.bagdala2.net 5.8-RELEASE DragonFly v5.8.3-RELEASE
#29: Sun Sep 27 17:37:43 EDT 2020
root at dfly.int.bagdala2.net:/usr/obj/usr/src/sys/X86_64_GENERIC  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
libressl-3.2.3

dfly# pkg info pkg
pkg-1.16.1


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
/usr/local/etc/pkg/repos/df-latest.conf

per https://marc.info/?l=dragonfly-users&m=160949600225110&w=2

however now I am stuck with broken server 

http://www.bagdala2.net/cdynsys/

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.

Cheers,
Predrag



More information about the Users mailing list