I installed freebsd 13.1-RC3 and then changed from quarterly to latest and then run: pkg upgrade I get this error: 5/222] Upgrading grantleetheme from 21.12.3 to 22.04.0... [5/222] Extracting grantleetheme-22.04.0: 2% pkg: Fail to create temporary file: /usr/local/include/KF5/GrantleeTheme/GrantleeTheme/.pkgtemp.GenericFormatter.TkIBoTvuqU3K:Not a directory [5/222] Extracting grantleetheme-22.04.0: 100% I have kde5 installed, i.e.: pkg install kde5 If I do: pkg remove grantleetheme then pkg upgrade it succeeds after that.
Moin moin This is a known issue that occurs as that filesystem location changed from a file to a directory and the way pkg does the update. The fix is to do a pkg delete -f grantletheeme prior to the upgrade. mfg Tobias
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a90098e6b19316d1403ff8ba109a188df369036 commit 8a90098e6b19316d1403ff8ba109a188df369036 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-04-26 04:19:17 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-04-26 04:19:17 +0000 UPDATING: document issue with deskutils/grantleetheme PR: 263570 UPDATING | 13 +++++++++++++ 1 file changed, 13 insertions(+)
(In reply to Tobias C. Berner from comment #1) Thank you! That worked. Best regards!
Closed because `UPDATING` now addresses this issue directly.