I have some local VMs running OpenBSD 7.1 stable, amd64 as well as some remote VMs running the same.
When I did pkg_add -u today two of my three local machines updated PHP to versions 7.4.32, 8.0.24 and 8.1.11 as expected. However the remote machines and a very basic local machine, while seeing the exact same quirks version, did not update PHP. quirks-5.5 signed on 2022-10-06T09:54:45Z pkg_info -d php-7.4.32, etc. shows correct info on the affected machines though. I have never encountered such strange behavior before. I kind of suspect some weird cache issue but I don’t understand the underpinnings of pkg_add enough to figure this out. Does pkg_add use some sort of local cache that I could clear? Any clues on what could cause this and how to resolve this issue? All machines have: # cat /etc/installurl https://cdn.openbsd.org/pub/OpenBSD # Manually trying to install/update PHP like this worked: # pkg_add php-7.4.32 quirks-5.5 signed on 2022-10-06T09:54:45Z php-7.4.30->7.4.32: ok Read shared items: ok New and changed readme(s): /usr/local/share/doc/pkg-readmes/php-7.4 --- -php-7.4.30 ------------------- You should also run rm -f /etc/php-7.4.sample/* You should also run rm -f /etc/php-fpm.d/* # php-7.4 -v PHP 7.4.32 (cli) (built: Oct 5 2022 08:55:36) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies # So why would pkg_add -u fail where pkg_add php-7.4.32 works? And why only on some of the machines? Thanks Mike