corupted database issue on user repository.
A few upgrades ago a problem started and it has only gotten worse. At first it was once in a blue moon, now its all the time. I run a repository for my unofficial Manjaro spins that can be found here https://osdn.net/users/kilz/pf/spins-by-kilz/dl/repository/stable/sbk-repo/x86_64/
I create the database files with these commands
cd /mnt/drive1/Spins/sbk-repo
rm ./sbk-repo.files
rm ./sbk-repo.db.tar.gz
rm ./sbk-repo.files.tar.gz
rm ./sbk-repo.db
repo-add sbk-repo.db.tar.gz *.pkg.tar.*
I then upload them to OSDN by sftp.
The entry in pacman.conf is this
[sbk-repo]
SigLevel = Optional
Server = https://osdn.net/users/kilz/pf/spins-by-kilz/dl/repository/stable/sbk-repo/x86_64/
When I try to install any package with pamac it first tries to refresh the repositories, and I get this error "invalid or corrupted database" if I refresh the databases with the pacmac menu the install will go through, but it only lasts until pamac is closed. I have checked the database files in /var/lib/pacman/sync with a md5sum hash and they are identical to the files I uploaded to OSDN both before and after starting pamac, trying to install, then refreshing. There is no problem if my repository is removed from pacman.conf.
Am I missing something, or is this a bug?