2

我试图更新我的树莓派 4,我得到了这个结果。

$ sudo apt 更新

Hit:1 https://deb.nodesource.com/node_6.x xenial InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                                 
Hit:3 https://repos.influxdata.com/debian buster InRelease                                                   
Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]                                    
Hit:5 https://packages.grafana.com/oss/deb stable InRelease                   
Get:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Ign:6 https://download.rethinkdb.com/apt buster InRelease
Hit:8 https://download.rethinkdb.com/apt buster Release 
Fetched 13.0 MB in 50s (263 kB/s)                                                                            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://download.rethinkdb.com/apt buster InRelease' doesn't support architecture 'armhf'

$ lscpu

Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500.0000
CPU min MHz:         600.0000
BogoMIPS:            108.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

我是Linux的新手。我花了很多时间来解决这个问题,而且我无法运行 node-red 和 Grafana,因此我不知道。

4

1 回答 1

1

为了解决这个问题,

键入以下命令:

sudo cd /etc/apt/sources.list.d
ls -a 

进入 apt 源文件夹,查看它试图在 Internet 上发出的请求/点击并列出所有文件夹,以便您识别需要删除的文件夹的名称(rethinkdb 文件夹/文件)

sudo rm <folder/file that is causing the error, in this case, the rethinkdb>

clear 
sudo apt-get update

现在应该可以了。该错误是因为您尝试下载的 rethinkdb 模块与您的树莓派的架构不兼容;因此,每次您尝试更新 pi 时,它都会尝试从 Internet 下载该文件并发生错误。

于 2020-09-09T05:24:34.523 回答