According to some googling that message indicates the zypper cache is corrupted.
Renaming/deleting it and doing a pkcon refresh
should help.
I can’t say at the moment where that cache is, either /var/cache/zypp
or somewhere in /home/.foo
(NOT /home/user/.foo
!).
See this post for detailed instructions, but probably without the symlinking.
Someone please confirm.