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 就可以了
sudo apt-get purge ".*:armel"
sudo dpkg --remove-architecture armel
卸载软件,然后移除 armel 就可以了
8 条回复 • 2018-03-17 23:16:35 +08:00
|
1
twoyuan 2018 年 3 月 17 日 dpkg --print-architecture 看下
RPI 应该是 armhf 不是 armel 吧? |
|
2
sujin190 OP |
|
3
GG668v26Fd55CP5W 2018 年 3 月 17 日 via iPhone rapsbian 的版本号对不?
还有这个系统不叫 ubuntu😅 |
|
4
GG668v26Fd55CP5W 2018 年 3 月 17 日 via iPhone @falcon05 rapsbian > raspbian
|
|
5
sujin190 OP @falcon05 #4
pi@raspberrypi:/etc/apt/apt.conf.d $ cat /etc/issue Raspbian GNU/Linux 8 \n \l 树莓派 3 是 8,应该没错吧 其实是用 Ubuntu 的时候最近一直老是 apt 错误,各种依赖错误啥的,烦死了。。 |
|
6
sujin190 OP @twoyuan
pi@raspberrypi:/etc/apt/apt.conf.d $ dpkg --print-foreign-architectures armel 发现 foreign 的时候输出可这个。。这两者有什么区别的啊? |
|
7
iceheart 2018 年 3 月 17 日 via Android
64 位的推荐 opensuse,32 位的推荐 centos
|
|
8
sujin190 OP |