Frankly, that I do not know. Your system appears broken in ways that confuse and confuddle me.
But, can you confirm if .local is in the list of files when you run ls -la ~/?
If you can conform that, the next command I'd want you to run would be ls -la ~/.local. In that case, you'd be looking...