我尝试更新树莓派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,因此我一无所知。
答案 0 :(得分:0)
要解决此问题,
键入以下命令:
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模块与您的raspberry pi的体系结构不兼容。因此,每次您尝试更新pi时,它都会尝试从Internet下载该文件,并且会发生错误。