octopkg seems to be doing everything alright but it freezes after applying all updates. Seems to be waiting for the 'pkg upgrade -y' process to terminate when it's already terminated. This issue started since upgraded to latest patch of FreeBSD 13.2 but persist in FreeBSD 14.0. I believe it may be related with pkg tool itself, maybe there was a change and it's giving unexpected results back to octopkg.
(In reply to rmomota from comment #0) Did you open a PR at upstream since it seems best suited for this error? https://github.com/aarnt/octopkg/issues
(In reply to Nuno Teixeira from comment #1) No because I'm an end user and not project developer or maintainer. It could be a pkg tool issue instead so I've no idea where the problem is.
(In reply to rmomota from comment #0) I've run tests on 15-CURRENT: install, reinstall, deinstall and upgrade went ok with no issues. Did you tried command `pkg upgrade` and check for any errors?
(In reply to Nuno Teixeira from comment #3) Yes I did try all commands in the shell and it works fine. But with octopkg after all upgrades are completed successfully the process seems to be waiting for something else and it gets stuck. The latest message is regarding the updating MIME cache.
Created attachment 247477 [details] evidence Here's an evidence of the reported issue. pkg process is no longer running but octopkg is still waiting for something. This time without that MIME message.
It doesn't happen when I uninstall or install a package. This issue only happens in "upgrade" operation.
I've opened an PR at upstream. Let's see what author says about it and how should we investigate further. https://github.com/aarnt/octopkg/issues/20
I think it may be related with the 'doas' command of the update.
(In reply to rmomota from comment #8) 1. Have you a doas.conf configured for your user? 2. Have you tried uninstall doas and run octopkg with sudo?
(In reply to Nuno Teixeira from comment #9) I don't even have 'doas' installed in the system, never had.
Latest updates the tool did just fine. I believe the problem is gone.