如何用一个不好使的源安装好用的东西

1.

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/dukto.list"
sudo apt-get update
sudo apt-get install dukto

2.

W: GPG error: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E3757B8E0D988D6E
W: The repository 'http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04  Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: There is no public key available for the following key IDs:
E3757B8E0D988D6E


3.

You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). To add the key, run:

wget -nv https://download.opensuse.org/repositories/home:colomboem/xUbuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update

4.

W: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/Release.gpg: Signature by key 1A2E38D61775C3963A039A87E3757B8E0D988D6E uses weak digest algorithm (SHA1)
W: GPG error: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1537363118
W: The repository 'http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04  Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.


5.

 grep -iR opensuse /etc/apt/sources.list*

sudo sed -i '/opensuse/ s/^/#/' /etc/apt/sources.list.d/*.list


6. OK

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值