'sudo apt-get update'收到警告

邦杜兰特

Ubuntu 16.4,运行“ sudo apt-get update”,此行最后显示

N:跳过获取配置文件'main / binary-i386 / Packages'作为存储库' http://dl.google.com/linux/earth/deb stable InRelease'不支持架构'i386'

有没有办法来解决这个问题?

当该PC用作32位时,存在一个较旧的Google Earth版本。切换到64位,Google Earth运行良好,但是注意到此错误(如果确实是错误)正在执行更新。

托马斯·沃德

这只是您可以忽略的警告消息。这就是说,如果您想解决此问题...

注意:为“进入”或“运行”指定的所有命令都将在命令行中运行。

进入您的/etc/apt/sources.list.d文件夹。运行grep -r 'dl.google.com',它将显示哪些文件包含该字符串。

编辑每个文件(sudo在命令行上在您选择的文本编辑器之前),并在deb各行开头看到的位置替换为,以deb [arch=amd64]使字符串如下所示:

deb [arch=amd64] http://dl.google.com/linux/earth/deb stable main

然后sudo apt-get update再次运行然后应以警告停止。

您还需要编辑/etc/cron.daily/google-earth-pro和编辑该行,REPOCONFIG="deb [arch=amd64] http://dl.google.com/linux/earth/deb stable main"否则该行将不起作用,并会覆盖所有内容。(感谢Heynnema提供该信息。)

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

在sudo apt-get update上找不到用于拉伸发行的Docker软件包

'sudo apt-get update'失败

使用sudo aptitude / apt-get update不起作用

Sudo apt-get update命令不起作用

运行命令sudo apt-get update时发出警告

sudo apt-get update在Linux Mint 17.1上不起作用

无法锁定管理目录(sudo apt-get upgrade和&apt-get update)

在执行sudo apt-get update时,我不断收到很多错误。而且需要很长时间才能完成

当我运行sudo apt-get update时出错

sudo apt-get update ubuntu 16.04的问题

sudo apt-get update不起作用无法连接到192.168.1.254:3128

Ubuntu在sudo apt-get update上仅检查5个链接

sudo apt-get update返回错误

Live USB无法运行sudo apt-get update

为什么使用“ sudo apt-get update”会收到错误消息?

sudo apt get update提供错误-程序包缓存文件已损坏

sudo apt-get update:无法连接到localhost:9999(127.0.0.1)。-连接(111:连接被拒绝)

尝试 sudo apt-get update 时出错 - Python 相关?

运行“sudo apt-get update”返回连接错误

“sudo apt-get update”有什么作用?

Sudo apt-get 更新

sudo apt-get update 返回警告

sudo apt-get 更新错误警告

在 Raspbian 上使用 apt-get update 时的警告

Hit and Get from sudo apt update 的长列表

何时运行“sudo apt update”,何时运行“sudo apt update && sudo apt upgrade”?

运行 sudo apt-get update 时如何修复此错误?

每次执行 sudo apt update 和 sudo apt upgrade 时都会收到 GPG 错误通知

我正在尝试安装 docker。每当我运行 sudo apt-get update 时,我都会收到此错误: