seif Posted February 3, 2017 Share Posted February 3, 2017 Then sudo apt-get update gives: [..] W: Failed to fetch http://apt.armbian.com/dists/jessie/InRelease Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead Am I doing something wrong? Please, how can I fix that? cat /etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=orangepipc BOARD_NAME="Orange Pi PC" VERSION=5.25 LINUXFAMILY=sun8i BRANCH=default ARCH=arm IMAGE_TYPE=stable Link to comment Share on other sites More sharing options...
zador.blood.stained Posted February 3, 2017 Share Posted February 3, 2017 Am I doing something wrong? Please, how can I fix that? We don't provide any packages for the armel architecture. You can disable this warning by adding [arch=armhf] to /etc/apt/sources.list.d/armbian.list like this: deb [arch=armhf] http://apt.armbian.com jessie main utils jessie-desktop Link to comment Share on other sites More sharing options...
Blars Posted February 3, 2017 Share Posted February 3, 2017 Why would you want armel anyway? It's only for old hardware that can't support armhf, (v4t to v6) and the upcoming Debian release will be its last. Link to comment Share on other sites More sharing options...
zador.blood.stained Posted February 3, 2017 Share Posted February 3, 2017 Why would you want armel anyway? It's only for old hardware that can't support armhf, (v4t to v6) and the upcoming Debian release will be its last. Possibly running closed source armel software with qemu-user (or directly, not sure if kernel can properly deal with this type of multiarch setup). Link to comment Share on other sites More sharing options...
seif Posted February 3, 2017 Author Share Posted February 3, 2017 Thank you @zador that fixed it. @Blars I'm trying to find a workaround for this error: gcc hello.c -mfloat-abi=soft -o hello In file included from /usr/include/features.h:398:0, from /usr/include/stdio.h:27, from hello.c:1: /usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h> ^ compilation terminated. Link to comment Share on other sites More sharing options...
Recommended Posts