I dusted off a Pi 1, which is armv6, then installed Raspbian on it. The base OS works, but many of the packages I install won't even start- they say illegal instruction
. That's because the armhf binary packages are being installed, which isn't compatible with the Pi1.
Here's an example, looking at vim-common in apt show
:
...
Download-Size: 339 kB
APT-Manual-Installed: yes
APT-Sources: http://mirrordirector.raspbian.org/raspbian stable/main armhf Packages
Description: Vi IMproved - enhanced vi editor - compact version
Aside from installing an ancient kernel, how do I tell apt to not install the 'wrong' version of the binaries?
Here's what my sources.list contains (in part). Nowhere does it say armv6, armv7, armel, or armhf.
$ cat /etc/apt/sources.list.d/archive_raspbian_org_raspbian.list
deb https://archive.raspbian.org/raspbian jessie main contrib non-free
deb-src https://archive.raspbian.org/raspbian jessie main contrib non-free
armel
only, I think. To compare Pis, what doesdpkg --print-architecture
say on your Pi1B? – 300D7309EF17 Jul 25 '18 at 20:11:armhf
in the package name, the other 391 are not CPU specific, that leaves ZERO that are:armel
- similar results for a ZeroW - read https://www.raspberrypi.org/forums/viewtopic.php?t=80566 and you'll see all Pi grok armhf – Jaromanda X Jul 25 '18 at 23:40vim
... look here - absolutely noarmel
versions of vim even exist in the raspbian apt repository – Jaromanda X Jul 25 '18 at 23:47