fedarovich / qbittorrent-cli

Command line interface for QBittorrent
MIT License
291 stars 16 forks source link

apt-key is deprecated #108

Open hyperreal64 opened 1 month ago

hyperreal64 commented 1 month ago

For Debian installation, you can add the public key with this command:

curl -1sLf 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key' | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/qbittorrent-cli.gpg

Then you can run sudo apt update without getting apt-key deprecation warnings.

enoch85 commented 1 week ago

Another take on it:

curl -sL 'https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key'| sudo tee -a /etc/apt/keyrings/gpg.F8756541ADDA2B7D.key

(Noble for Ubuntu 24.04)

sudo echo "deb [signed-by=/etc/apt/keyrings/gpg.F8756541ADDA2B7D.key] noble main" > "/etc/apt/sources.list.d/qbittorrent-cli.list"