You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 16.04无法安装Chrome且系统更新失败,执行sudo apt-get update异常求助

Fixing Ubuntu 16.04 Update & Chrome Installation Issues

Hey there, let's work through your Ubuntu 16.04 update and Chrome installation problem together. First off, Ubuntu 16.04 reached its end-of-life (EOL) in April 2021, so the default official repositories are no longer active—that's probably why your sudo apt-get update is failing. Here's how to fix this step by step:

Step 1: Fix System Update Issues

Backup Your Current Sources List

First, let's make a backup of your existing sources list so you can revert if needed:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

Switch to Old Releases Repository

Since 16.04 is EOL, we need to point your system to the old-releases archive. You can do this quickly with sed commands:

sudo sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

Alternatively, you can manually edit /etc/apt/sources.list with a text editor like nano and replace every instance of archive.ubuntu.com or security.ubuntu.com with old-releases.ubuntu.com.

Run Update Again

Now try updating your package lists once more:

sudo apt-get update

This should complete without errors now. If you still see issues, check for any third-party repositories in /etc/apt/sources.list.d/ that might be broken and comment them out temporarily.

Step 2: Install Google Chrome

Once your system updates are working, let's install Chrome. Note that Chrome only supports 64-bit systems, so first confirm your architecture:

dpkg --print-architecture

If the output is amd64, proceed with these steps:

Add Chrome's GPG Key

This ensures your system trusts the Chrome packages:

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Add Chrome's Repository

Add the official Chrome repository to your system:

echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list

Install Chrome

Update your package lists again and install Chrome:

sudo apt-get update
sudo apt-get install google-chrome-stable

Troubleshooting Dependencies

If you run into dependency errors during installation, try fixing broken packages with:

sudo apt-get -f install

内容的提问来源于stack exchange,提问作者Shreya

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:42:19