添加源时出错:
add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
ERROR: '~qbittorrent-team' user or team does not exist.
确认ppa用户名没错后用curl测试http获取是否正常,提示证书无效:
curl 'https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable'
curl: (60) SSL certificate problem: certificate is not yet valid
安装证书后再试:
apt-get install ca-certificates
依旧出现错误,查看系统时间不对,通过ntp更新时间解决:
ntpdate ntp.ubuntu.com
或查看Technical details about this PPA,手工添加源和gpg key。
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 401E8827DA4E93E44C7D01E6D35164147CA69FC4
cat <<EOF > /etc/apt/sources.list.d/qbittorrent-ppa.list
deb https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu `lsb_release -c -s` main
deb-src https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu `lsb_release -c -s` main
EOF
标签:qbittorrent, ppa