我无法在 ubuntu 20.10 中安装任何软件

我无法在 ubuntu 20.10 中安装任何软件

我无法安装任何软件 :( 我的软件中心消失了
,当我使用 apt 之类的软件包时,例如当我想安装 vlc 时

sudo apt install vlc

我收到这个错误

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vlc

sudo apt-update我尝试在安装之前添加

Hit:1 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu groovy InRelease        
Err:2 https://dl.google.com/linux/chrome/deb stable InRelease                  
  Cannot initiate the connection to dl.google.com:443 (2a00:1450:4019:805::200e). - connect (101: Network is unreachable) Could not connect to dl.google.com:443 (216.58.208.238), connection timed out
Err:3 http://packages.microsoft.com/repos/code stable InRelease                
  Connection failed [IP: 104.214.230.139 80]
Err:4 http://us.archive.ubuntu.com/ubuntu groovy InRelease
  Connection failed [IP: 91.189.91.38 80]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/groovy/InRelease  Connection failed [IP: 91.189.91.38 80]
W: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease  Cannot initiate the connection to dl.google.com:443 (2a00:1450:4019:805::200e). - connect (101: Network is unreachable) Could not connect to dl.google.com:443 (216.58.208.238), connection timed out
W: Failed to fetch http://packages.microsoft.com/repos/code/dists/stable/InRelease  Connection failed [IP: 104.214.230.139 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

我尝试过很多方法如果你遇到同样的错误请帮助我

答案1

检查你的 Ubuntu 机器是否真的可以访问互联网,即适当的网络接口是否已启用并正确配置、电缆是否已插入、wifi 热点是否可用等。因为这个错误消息connect (101: Network is unreachable)表明你由于某种原因无法访问互联网。

相关内容