修复Ubuntu在更新时‘Requires installation of untrusted packages’ 问题

How to Fix ‘Requires installation of untrusted packages’ error in Ubuntu 10.10 Maverick Meerkat

This morning I tried to update my Ubuntu machine and got this error massage ‘Requires installation of unstrusted packages’ and couldn’t figure out why. I later found out that I was missing some GPG keys. If you find yourself in this same situation and need help with it, I’m going show you how to quickly resolve it in Ubuntu Lucid or Maverick.

 

 

The error screen below is what you’ll get when you try to update your system via Update  Manager.

 

untrusted_mav  

 

To fix it, go to Applications –> Accessories’ –> Terminal . and run the command below:

sudo apt-get update

untrusted_mav_1

 

Then take notes of all the numbers (keys) after ‘NO_PUBKEY’. I have underlined my missing keys in the image above.

 

To install the missing public keys, run the command below for each missing key. Replace XXXXXX with the key shown

sudo apt-key


 adv --recv


-key


 --keyserver keyserver.ubuntu.com XXXXXXXXX

untrusted_mav_2

 

After that, type the command below to update your package repository with the missing key:

sudo apt-get update

untrusted_mav_4

 

Next, try updating your system again, and this time it should work.

 

untrusted_mav_3

 

Thanks for reading and please come back soon.

 

 

/*********************************************************************************************************************************************/

There's  an other way to try

apt-get install debian-keyring
gpg --keyserver pgp.mit.edu --recv-keys 1F41B907
gpg --armor --export 1F41B907 | sudo apt-key add -

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值