sudo apt-get update时遇到以下问题
来源:互联网 发布:php修改密码代码 编辑:程序博客网 时间:2024/06/08 06:37
问题:
sudo apt-get update时遇到以下问题
W: 以下 ID 的密钥没有可用的公钥:
1397BC53640DB551
W: GPG 错误:http://archive.ubuntukylin.com:10006 xenial InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 8D5A09DC9B929006
W: 无法下载 http://dl.google.com/Linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘non-free/binary-amd64/Packages’ in Release file (Wrong sources.list entry or malformed file)
解决方法
1、对于第一个问题:
这个是chrome仓库自己的问题,
wget -q -O - http://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
即可解决
2、对于第二个问题: GPG 错误,安装了uk-keyring后错误消失
[html] view plain copy
$sudo apt-get install uk-keyring
或者输入
[html] view plain copy
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8D5A09DC9B929006
3、对于第三个问题,找到/etc/apt/sources.list.d/google-chrome.list进行修改后错误消失
[html] view plain copy
$gedit /etc/apt/sources.list.d/google-chrome.list
以下是文件显示内容
THIS FILE IS AUTOMATICALLY CONFIGURED
You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main
修改最后一句
THIS FILE IS AUTOMATICALLY CONFIGURED
You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
保存退出,重新suod apt-get update错误消失
- sudo apt-get update时遇到以下问题
- sudo apt-get update时遇到以下问题
- sudo apt-get update遇到的问题
- sudo apt-get update 问题
- linux sudo apt-get update问题
- sudo apt-get update
- sudo apt-get update
- sudo apt-get update
- Ubuntu16.04终端执行`sudo apt-get update`遇到appstream问题
- sudo apt-get update 简介
- sudo apt-get update错误
- linux-sudo apt-get update
- sudo apt-get update error
- sudo apt-get update出错!
- 关于ubuntu更新sudo apt-get update和sudo apt-get upgrade下载缓慢的问题
- apt-get update遇到的问题
- ubuntu 源更新失败问题(sudo apt-get update)
- #发现#用sudo apt-get update更新失败的问题
- Eclipse SDK与 IDE 有什么区别,是什么意思?
- python3的爬虫算法(1)--获取网页数据
- 回文数的判断-Python
- 算法练习笔记(二)
- 设计模式 建造者模式
- sudo apt-get update时遇到以下问题
- 分治算法(一)241Different Ways to Add Parentheses【middle】03-02
- hdu 1203 01背包变形。。。一道很诡异的水题。。
- [面试][算法] 常见10种算法 java 实现
- 安卓开发好网址收集
- 【每天一个Linux命令】A -apmd
- 虚机操作之migrate日志跟踪
- 【PMP】Head First PMP 学习笔记 第七章 成本管理
- 关于渲染帧率(FPS)的问题