我在 Windows 10 系统中使用带有 Oracle VM 虚拟盒的 ubuntu 18.04 LTS。
执行此命令后
sudo apt-get update
我收到这个错误
E: The repository 'http://dl.google.com/linux/chrome/deb bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我该如何解决这个问题?
答案1
您的来源/etc/apt/sources.list.d/google-chrome.list
不正确。
bionic
文件中不应有提及。
原文应为:
### 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
当然,前两行是可选的。重要的是使用stable
而不是bionic
。