【问题标题】:Skipping acquire of configured file '.. doesn't support architecture 'arm64'跳过获取配置文件'..不支持架构'arm64'
【发布时间】:2021-12-04 17:15:32
【问题描述】:

每当我做sudo apt-get update时,这个输出就会出现

$ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'contrib/binary-arm64/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'non-free/binary-arm64/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'rpi/binary-arm64/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'arm64'

还有>N: Skipping acquire of configured file这行很烦人,虽然这些行不影响性能,但我的意思是我仍然可以更新或升级包,甚至安装包都没有问题。

所以问题是,我怎样才能删除那些>N: Skipping acquire of configures file 消息

【问题讨论】:

  • 这是原始的 32 位 raspbian 还是 64 位 beta?
  • 我不知道,我该如何检查?
  • 在 shell 中输入 uname -m。如果它说 ARMv7 是 32 位,如果它说 ARMv8 是 64 位。
  • 它说“armv7l”所以我认为它是 32 位
  • 那么您似乎安装了不正确和/或损坏的包源。检查文件/etc/apt/sources.list。不应该有任何说 arm64 的东西。

标签: raspberry-pi debian repository raspberry-pi3


【解决方案1】:

我遇到了同样的问题。我通过输入以下命令修复了它:

sudo dpkg --remove-architecture arm64

我怀疑我可能在早些时候错误地添加了arm64 架构。标准的32-bit Raspberry Pi OS(又名Raspbian)不支持64-bit 应用程序。

【讨论】:

    猜你喜欢
    • 2019-02-24
    • 1970-01-01
    • 2019-05-19
    • 1970-01-01
    • 2021-08-08
    • 2020-08-14
    • 1970-01-01
    • 2013-02-16
    • 2014-04-18
    相关资源
    最近更新 更多