On Sat, May 13, 2017 at 02:44:05PM +0200, Martin Pieuchot wrote: > I'm always getting errors, I don't know how to help. I'm just a stupid > user of 'pkg_add -u' on a current machine. > > OpenBSD 6.1-current (GENERIC.MP) #52: Sun May 7 14:56:02 MDT 2017 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > cat /etc/installurl > https://ftp.fr.openbsd.org/pub/OpenBSD > > Fatal error: can't parse OpenBSD::RequiredBy: writing > /var/db/pkg/gnome-desktop-3.24.1/+REQUIRED_BY: No such file or directory at > /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30. > It's just the most evasive bug... the most frustrating part about it is that it's not even easily reproduceable.
I haven't been able to figure out where it happens, it's definitely something in the dependency caching or the tracker module, but so far I don't know where (and believe me, I've looked!) Work-around is to run pkg_check right after and rerun pkg_add.
