alzambo Posted May 3, 2017 Report Share Posted May 3, 2017 Hi to everyone, I've followed this tutorial and installed resilio sync on a raspberry model B Jessie (specs below); everything works, but since that moment, when I try to run apt-get update I get an error related to ARMEL architecture, maybe because Raspbian Jessie is ARMHF. These are the error messages (sudo apt-get update): Scaricamento di:1 http://mirrordirector.raspbian.org jessie InRelease [12,2 kB] Trovato http://archive.raspberrypi.org jessie InRelease Trovato http://linux-packages.resilio.com resilio-sync InRelease Scaricamento di:2 http://linux-packages.resilio.com resilio-sync/non-free armel Packages [479 B] Scaricamento di:3 http://linux-packages.resilio.com resilio-sync/non-free armhf Packages [477 B] Ign http://linux-packages.resilio.com resilio-sync/non-free Translation-it_IT Ign http://linux-packages.resilio.com resilio-sync/non-free Translation-it Ign http://linux-packages.resilio.com resilio-sync/non-free Translation-en Recuperati 13,1 kB in 4s (3.278 B/s) W: Impossibile recuperare http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease Impossibile trovare la voce "main/binary-armel/Packages" nel file Release (voce in sources.list errata o file danneggiato) W: Impossibile recuperare http://archive.raspberrypi.org/debian/dists/jessie/InRelease Impossibile trovare la voce "main/binary-armel/Packages" nel file Release (voce in sources.list errata o file danneggiato) E: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi. Hardware specifications (cat /proc/cpuinfo): processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2708 Revision : 000e Serial : 00000000f54217e7 O.S. Specifications (cat /etc/os-release): PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" NAME="Raspbian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" How could I solve this issue? Thank you, Alex Quote Link to comment Share on other sites More sharing options...
Helen Posted May 4, 2017 Report Share Posted May 4, 2017 Did you use the instruction for rpi 1? Is your RPI also first gen? sudo dpkg --remove-architecture armel then install the package and manually replace the binary if necessary. you can take the armhf binary from download page Quote Link to comment Share on other sites More sharing options...
alzambo Posted May 4, 2017 Author Report Share Posted May 4, 2017 Hi, this time I tried to follow instructions for arm (nor Rpi1, even if I have Raspberry Pi 1 model B) but I have this error message: sudo apt-get install resilio-sync Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto I seguenti pacchetti NUOVI saranno installati: resilio-sync 0 aggiornati, 1 installati, 0 da rimuovere e 78 non aggiornati. È necessario scaricare 9.293 kB di archivi. Dopo quest'operazione, verranno occupati 11,6 MB di spazio su disco. Scaricamento di:1 http://linux-packages.resilio.com/resilio-sync/deb/ resilio-sync/non-free resilio-sync armhf 2.4.5-1 [9.293 kB] Recuperati 9.293 kB in 10s (921 kB/s) Selezionato il pacchetto resilio-sync non precedentemente selezionato. (Lettura del database... 33933 file e directory attualmente installati.) Preparativi per estrarre .../resilio-sync_2.4.5-1_armhf.deb... Estrazione di resilio-sync (2.4.5-1)... Elaborazione dei trigger per systemd (215-17+deb8u5)... Elaborazione dei trigger per man-db (2.7.0.2-5)... Configurazione di resilio-sync (2.4.5-1)... Installazione della nuova versione del file di configurazione /etc/init.d/resilio-sync... Installazione della nuova versione del file di configurazione /etc/resilio-sync/init_user_config.sh... Job for resilio-sync.service failed. See 'systemctl status resilio-sync.service' and 'journalctl -xn' for details. invoke-rc.d: initscript resilio-sync, action "start" failed. dpkg: errore nell'elaborare il pacchetto resilio-sync (--configure): il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1 Elaborazione dei trigger per systemd (215-17+deb8u5)... Si sono verificati degli errori nell'elaborazione: resilio-sync E: Sub-process /usr/bin/dpkg returned an error code (1) If I try systemctl status resilio-sync.service I get: resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled) Active: failed (Result: start-limit) since gio 2017-05-04 10:22:49 CEST; 42s ago Docs: http://help.getsync.com/ Process: 22927 ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json (code=killed, signal=ILL) Process: 22924 ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync (code=exited, status=0/SUCCESS) Process: 22921 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited, status=0/SUCCESS) Main PID: 12845 (code=exited, status=0/SUCCESS) What could I do? Thank you Quote Link to comment Share on other sites More sharing options...
Helen Posted May 4, 2017 Report Share Posted May 4, 2017 So your RPI in on arm, not armhf, you need to manually download arm build and replace. See this thread. Quote Link to comment Share on other sites More sharing options...
alzambo Posted May 4, 2017 Author Report Share Posted May 4, 2017 Hi, following that thread I managed to have binary manually launched with sudo /usr/bin/rslsync --config /etc/resilio-sync/config.json, but when I try sudo service resilio-sync status i get: mag 04 12:21:14 raspberrypi systemd[1]: Unit resilio-sync.service entered failed state. mag 04 12:21:14 raspberrypi systemd[1]: resilio-sync.service holdoff time over, scheduling restart. mag 04 12:21:14 raspberrypi systemd[1]: Stopping Resilio Sync service... mag 04 12:21:14 raspberrypi systemd[1]: Starting Resilio Sync service... mag 04 12:21:14 raspberrypi systemd[1]: resilio-sync.service start request repeated too quickly, refusing to start. mag 04 12:21:14 raspberrypi systemd[1]: Failed to start Resilio Sync service. mag 04 12:21:14 raspberrypi systemd[1]: Unit resilio-sync.service entered failed state. with systemctl status resilio-sync.service i get: resilio-sync.service - Resilio Sync service Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled) Active: failed (Result: start-limit) since gio 2017-05-04 12:21:14 CEST; 3min 28s ago Docs: http://help.getsync.com/ Process: 2061 ExecStart=/usr/bin/rslsync --config /etc/resilio-sync/config.json (code=exited, status=203/EXEC) Process: 2058 ExecStartPre=/bin/chown -R rslsync:rslsync /var/run/resilio-sync (code=exited, status=0/SUCCESS) Process: 2055 ExecStartPre=/bin/mkdir -p /var/run/resilio-sync (code=exited, status=0/SUCCESS) if I try to manually launch /usr/bin/rslsync --config /etc/resilio-sync/config.json I get a permission denied error. Where sould it be fixed? thanks Quote Link to comment Share on other sites More sharing options...
alzambo Posted May 4, 2017 Author Report Share Posted May 4, 2017 Never mind... I've solved with dpkg --configure -a Thank you very much for helping Helen. Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.