【问题标题】:Can't not sudo apt-get update on my raspberry pi [closed]不能在我的树莓派上使用 sudo apt-get update [关闭]
【发布时间】:2020-04-12 10:04:58
【问题描述】:

sudo apt-get update我在我的树莓派上尝试了这段代码,它刚刚弹出

Err:1 http://archive.raspberrypi.org/debian buster InRelease 
Temporary failure resolving 'archive.raspberrypi.org'

Err:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Temporary failure resolving 'raspbian.raspberrypi.org' 

Reading package lists... Done`

W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease  Temporary failure resolving 'raspbian.raspberrypi.org'`
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease  Temporary failure resolving 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

【问题讨论】:

  • 你能检查一下是否可以连接到互联网吗?

标签: linux raspberry-pi debian apt-get


【解决方案1】:

您应该检查您的网络设置。

使用:ip地址

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000

并检查您的卡是否有分配的 IP 地址并且已启动。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-12
    • 2022-01-11
    • 1970-01-01
    • 1970-01-01
    • 2023-03-12
    相关资源
    最近更新 更多