sujin190
V2EX  ›  Raspberry Pi

想问树莓派 3apt-update 这个有人知道是什么问题呢?分明有这个文件的啊

By sujin190 at 2018 年 3 月 17 日 · 6338 次点击

W: 无法下载 http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease 在 Release 文件中找不到期望的条目 main/binary-armel/Packages ( sources.list 条目有误,或者文件有误)

W: 无法下载 http://archive.raspberrypi.org/debian/dists/jessie/InRelease 在 Release 文件中找不到期望的条目 main/binary-armel/Packages ( sources.list 条目有误,或者文件有误)

E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

Ubuntu 怎么老是这个问题啊,还各种调不好。。

第 1 条附言  ·  2018 年 3 月 17 日
原来是以前安装某个软件的时候不注意添加了一个 foreign-architectures (异构,比如 64 机器支持 32 程序) armel 的支持,Raspbian 8 自己源并不支持 armel
sudo apt-get purge ".*:armel"
sudo dpkg --remove-architecture armel
卸载软件,然后移除 armel 就可以了
8 条回复  •  2018-03-17 23:16:35 +08:00
twoyuan
   1
twoyuan  
   2018 年 3 月 17 日   ❤️ 1
dpkg --print-architecture 看下

RPI 应该是 armhf 不是 armel 吧?
sujin190
   2
sujin190  
OP
   2018 年 3 月 17 日
@twoyuan #1

pi@raspberrypi:~ $ dpkg --print-architecture
armhf

输出了这个,这是怎么回事啊?源上确实没有 armel
GG668v26Fd55CP5W
   3
GG668v26Fd55CP5W  
   2018 年 3 月 17 日 via iPhone   ❤️ 1
rapsbian 的版本号对不?

还有这个系统不叫 ubuntu😅
GG668v26Fd55CP5W
   4
GG668v26Fd55CP5W  
   2018 年 3 月 17 日 via iPhone   ❤️ 1
@falcon05 rapsbian > raspbian
sujin190
   5
sujin190  
OP
   2018 年 3 月 17 日
@falcon05 #4
pi@raspberrypi:/etc/apt/apt.conf.d $ cat /etc/issue
Raspbian GNU/Linux 8 \n \l

树莓派 3 是 8,应该没错吧

其实是用 Ubuntu 的时候最近一直老是 apt 错误,各种依赖错误啥的,烦死了。。
sujin190
   6
sujin190  
OP
   2018 年 3 月 17 日
@twoyuan

pi@raspberrypi:/etc/apt/apt.conf.d $ dpkg --print-foreign-architectures
armel

发现 foreign 的时候输出可这个。。这两者有什么区别的啊?
iceheart
   7
iceheart  
   2018 年 3 月 17 日 via Android
64 位的推荐 opensuse,32 位的推荐 centos
sujin190
   8
sujin190  
OP
   2018 年 3 月 17 日
@twoyuan #1
@falcon05 #3
已解决,原来是以前安装某个软件的时候不注意添加了一个 foreign-architectures (异构,比如 64 机器支持 32 程序) armel 的支持,Raspbian 8 自己源并不支持 armel
sudo apt-get purge ".*:armel"
sudo dpkg --remove-architecture armel
卸载软件,然后移除 armel 就可以了

感谢感谢
© 2026 V2EX · 28ms · 3.9.8.5