
安装 Google Chrome 后出现错误。
当我尝试执行此操作时sudo apt-get update
出现此错误:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Bad header line [IP: 37.29.1.44 80]
答案1
添加此行
/etc/apt/sources.list
sudo echo "deb http://dl.google.com/linux/deb/ stable main" >> /etc/apt/sources.list
下载并安装密钥
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A040830F7FAC5991
更新仓库
sudo apt-get update