跳过获取配置文件“main/binary-i3860/Packages”

跳过获取配置文件“main/binary-i3860/Packages”
root@debian:~# apt-get update
Ign:1 http://ftp.cz.debian.org/debian stretch InRelease
Hit:2 http://ftp.cz.debian.org/debian stretch-updates InRelease
Hit:3 http://ftp.cz.debian.org/debian stretch Release
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i3860/Packages' as repository 'http://ftp.cz.debian.org/debian stretch-updates InRelease' doesn't support architecture 'i3860'
N: Skipping acquire of configured file 'main/binary-i3860/Packages' as repository 'http://ftp.cz.debian.org/debian stretch InRelease' doesn't support architecture 'i3860'
N: Skipping acquire of configured file 'main/binary-i3860/Packages' as repository 'http://security.debian.org/debian-security stretch/updates InRelease' doesn't support architecture 'i3860'

root@debian:~# dpkg --print-foreign-architectures
i3860
root@debian:~# dpkg --print-architecture
amd64

我现在真的不知道该如何修复?我只遇到了 4 项服务,这是坏的还是好的?

文件夹 /etc/dpkg/dpkg.cfg.d 是空的。

答案1

i3860是所支持架构的错误名称。

  1. 修复它使用:

    dpkg --remove-architecture i3860
    dpkg --add-architecture i386
    
  2. 然后再次更新列表

    apt update
    

答案2

我的问题解决了。我的解决方案是删除(错误的)i3860 架构并添加(正确的)i386 架构。

root@debian:~# dpkg --remove-architecture i3860
root@debian:~# dpkg --add-architecture i386
root@debian:~# apt update
Ign:1 http://ftp.cz.debian.org/debian stretch InRelease
Hit:2 http://ftp.cz.debian.org/debian stretch-updates InRelease
Hit:3 http://ftp.cz.debian.org/debian stretch Release
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
Get:5 http://ftp.cz.debian.org/debian stretch-updates/main i386 Packages [5,156 B]
Get:7 http://ftp.cz.debian.org/debian stretch/main i386 Packages [7,078 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main i386 Packages [455 kB]
Fetched 7,539 kB in 2s (2,985 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@debian:~#

相关内容