Sorry, this is my mistake. You’ll need to elevate to root first using devel-su
(either entered on its own line before you run the other commands, or prefixing each command with it).
devel-su
pkcon refresh
pkcon install libsailfishsecrets
Although, having said that, your output does suggest something else. You should at least try this first, but it may not help.