Solved Error when executing pkg update

FreeBSD-13.0-RELEASE-p11 amd64 guest on VirtualBox 6.1.34

The
Code:
pkg update
command generates an error and stops the update –

1651484601010.png


Running the command again has no result.
 
A bit of a bruteforce solution: rm -rf /usr/local/include/KF5/GrantleeTheme
 
Yeah, I'm aware this was an option, as this particular context was just missing ;) Well then, follow SirDice's advice. Maybe it also helps to remove the package first.
 
Yes, it removes that directory. Apparently something didn't quite go according to plan and you have some file there when it should have been a directory. Just clean up those files, then run the upgrade. The install of the new version of grantleetheme will recreate those files anyway.

If you still get the error then there's probably something wrong with that specific port and we'll need to investigate further.
 
Back
Top