I am usingWait, are you attempting to upgrade as an unprivileged user?
sudo pkg update
A bit of a bruteforce solution:rm -rf /usr/local/include/KF5/GrantleeTheme
sudo pkg update
Thank you very much, it helped.If you still get the error then there's probably something wrong with that specific port and we'll need to investigate further.
I thought it was related mainly to installations through ports.Please make it habit to check UPDATING files.
Thanks for the advice. I just couldn't figure out how to do it.You can add the Solved prefix – thanks.