如何给ubuntu添加deepin的源

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

参照 https://mirrors.aliyun.com/ 尝试给ubuntu添加deepin的源,添加一个文件在 /etc/apt/sources.list.d/deepin-ubuntu-dde-bionic.list 在里面添加上内容

deb https://mirrors.aliyun.com/deepin/ panda main contrib non-free
deb-src https://mirrors.aliyun.com/deepin/ panda main contrib non-free

添加mirror以后使用update遇到错误 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 425956BB3E31DF5 命令:

wget https://mirrors.aliyun.com/deepin/project/deepin-keyring.gpg
gpg --import deepin-keyring.gpg
sudo gpg --export --armor 209088E7 | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 425956BB3E31DF51

完事以后,可以使用

sudo apt update 
sudo apt upgrade -y

之后就可以安装deepin的应用了

转载于:https://my.oschina.net/saintknight/blog/3042308

你可能感兴趣的:(如何给ubuntu添加deepin的源)