This is because they have messed up in their documentation. If you look closely at current key installation commands (Debian 11 for example):
sudo wget https://linux-clients.seafile.com/seafile.asc -O /etc/apt/trusted.gpg.d/seafile-keyring.asc
sudo bash -c "echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/bullseye/ stable main' > /etc/apt/sources.list.d/seafile.list"
you will see that the asc is saved to:
/etc/apt/trusted.gpg.d/seafile-keyring.asc
but the âsigned-byâ in the repo installation is trying to reference the key from:
/usr/share/keyrings/seafile-keyring.asc
Hence it doesnât work. To fix this, just change the path to the asc in the second command, i.e. for Debian 11 it should be:
sudo bash -c "echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/seafile-keyring.asc] https://linux-clients.seafile.com/seafile-deb/bullseye/ stable main' > /etc/apt/sources.list.d/seafile.list"
This applies to other distros and they should really update docs for all of them.