Ubuntu 22.04で久々にapt updateやったら
W: https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_22.04/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
なんぞと出ます。https://askubuntu.com/questions/1398344/apt-key-deprecation-warning-when-updating-system-key-is-stored-in-legacy-trust を参考にして、
apt-key export E94E7B37 | sudo gpg –dearmour -o /usr/share/keyrings/owncloud.gpg
とした後、/etc/apt/sources.list.d/owncloud.list を
deb [arch=amd64 signed-by=/usr/share/keyrings/owncloud.gpg] https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_22.04/ /
と書き換えることによって解決。