Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPi-Monitor - Does it install?
16-03-2015, 06:38 PM,
#1
RPi-Monitor - Does it install?
Hello

Just came across RPi-Monitor and tried following the installation instructions here:

http://rpi-experiences.blogspot.fr/p/rpi...ation.html

This fails with:

-bash: /usr/bin/wget: cannot execute binary file: Exec format error

I suspect I am being thick so would accept/appreciate any help as RPi-Monitor looks like a nice way to monitor remote devices.

Cheers
Gary.
Reply
16-03-2015, 08:10 PM,
#2
RE: RPi-Monitor - Does it install?
Hello Gary,

I just flashed a new version of rpitc on my RPI2 to see what I could see. Here's the scoop:

I'm thinking there are some dependencies missing. I used the following when installing rpi-monitor on my Pi2:

Code:
sudo apt-get install dpkg-dev librrds-perl libhttp-daemon-perl libjson-perl libipc-sharelite-perl libfile-which-perl

If you received an error when installing rpi-monitor you may have to force install using:
Code:
sudo apt-get install -f

Which should find for you the missing dependencies and install them for you for rpi-monitor to work.

Anyway, using the above tips should get it working for you like it did for me.
Reply
17-03-2015, 09:39 AM,
#3
RE: RPi-Monitor - Does it install?
"cannot execute binary file: Exec format error" means that you are using a different architecture/abi.
Maybe you are running a x86 bin in arm or an armel bin in armhf etc
Reply
23-03-2015, 11:00 AM,
#4
RE: RPi-Monitor - Does it install?
(17-03-2015, 09:39 AM)admin Wrote: "cannot execute binary file: Exec format error" means that you are using a different architecture/abi.
Maybe you are running a x86 bin in arm or an armel bin in armhf etc

To be fair I am very new to this so I wouldn't rule anything out ... I did try to follow the install article for RPi Monitor but struggled to add the appropriate repository in ... seemed to be some sort of issue with the public key.

Anyway ... many thanks for taking the time to read this and any other suggestions definitely welcomed.

Cheers
Gary.
Reply
23-03-2015, 05:56 PM,
#5
RE: RPi-Monitor - Does it install?
Hi Gary,

Are you saying you still can't get this installed?

I used the following to install this - http://rpi-experiences.blogspot.fr/2015/...lable.html

The only change I made was to the dependancies (see my post above). Besides that it worked well.

If you don't want to use the repos you can do it manually but it's easier for updates if you use the repos.

Did you ensure your dependencies were fixed by using this statement?

sudo apt-get install -f
Reply
07-04-2015, 12:30 PM,
#6
RE: RPi-Monitor - Does it install?
Hello

Sorry for the delays ... other work getting in the way as usual ... I am sure everyone knows that issue :-)

I am grateful for the suggestions and am sure I am being particularly thick because while trying to install the dependencies as suggested:


Code:
sudo apt-get install dpkg-dev librrds-perl libhttp-daemon-perl libjson-perl libipc-sharelite-perl libfile-which-perl

The following set of errors are displayed:

root@rpitc-f97de1b5:~# apt-get install dpkg-dev librrds-perl libhttp-daemon-perl libjson-perl libipc-sharelite-perl libfile-which-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils bzip2 libdbi1 libdpkg-perl librrd4 make patch xz-utils
Suggested packages:
binutils-doc bzip2-doc debian-keyring make-doc ed diffutils-doc
Recommended packages:
gcc c-compiler build-essential fakeroot libalgorithm-merge-perl
libfile-fcntllock-perl libjson-xs-perl
The following NEW packages will be installed:
binutils bzip2 dpkg-dev libdbi1 libdpkg-perl libfile-which-perl
libhttp-daemon-perl libipc-sharelite-perl libjson-perl librrd4 librrds-perl
make patch xz-utils
0 upgraded, 14 newly installed, 0 to remove and 33 not upgraded.
Need to get 7309 kB of archives.
After this operation, 25.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err http://ftp.de.debian.org/debian/ sid/main bzip2 armhf 1.0.6-7+b2
404 Not Found
Err http://ftp.de.debian.org/debian/ sid/main patch armhf 2.7.4-1
404 Not Found
Get:1 http://ftp.de.debian.org/debian/ sid/main xz-utils armhf 5.1.1alpha+20120614-2+b3 [218 kB]
Err http://ftp.de.debian.org/debian/ sid/main binutils armhf 2.25-4
404 Not Found
Err http://ftp.de.debian.org/debian/ sid/main libdpkg-perl all 1.17.23
404 Not Found
Get:2 http://ftp.de.debian.org/debian/ sid/main make armhf 4.0-8.1 [335 kB]
Err http://ftp.de.debian.org/debian/ sid/main dpkg-dev all 1.17.23
404 Not Found
Get:3 http://ftp.de.debian.org/debian/ sid/main libdbi1 armhf 0.9.0-4 [27.2 kB]
Get:4 http://ftp.de.debian.org/debian/ sid/main libfile-which-perl all 1.09-1 [13.1 kB]
Get:5 http://ftp.de.debian.org/debian/ sid/main libhttp-daemon-perl all 6.01-1 [17.3 kB]
Get:6 http://ftp.de.debian.org/debian/ sid/main libipc-sharelite-perl armhf 0.17-3+b2 [23.7 kB]
Get:7 http://ftp.de.debian.org/debian/ sid/main libjson-perl all 2.61-1 [84.7 kB]
Get:8 http://ftp.de.debian.org/debian/ sid/main librrd4 armhf 1.4.8-1.2 [197 kB]
Get:9 http://ftp.de.debian.org/debian/ sid/main librrds-perl armhf 1.4.8-1.2 [116 kB]
Fetched 1032 kB in 3s (324 kB/s)
E: Failed to fetch http://ftp.de.debian.org/debian/pool/mai..._armhf.deb 404 Not Found

E: Failed to fetch http://ftp.de.debian.org/debian/pool/mai..._armhf.deb 404 Not Found

E: Failed to fetch http://ftp.de.debian.org/debian/pool/mai..._armhf.deb 404 Not Found

E: Failed to fetch http://ftp.de.debian.org/debian/pool/mai...23_all.deb 404 Not Found

E: Failed to fetch http://ftp.de.debian.org/debian/pool/mai...23_all.deb 404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


At this point I am pretty sure I got very confused because I tried:

Code:
sudo apt-get install -f

And got the following:


root@rpitc-f97de1b5:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
root@rpitc-f97de1b5:~#

I appreciate this is probably old hat for everyone else and would be grateful if you'd treat me as a complete idiot ... I am most likely doing something very very fundamentally stupid.

Cheers
Gary.
Reply
10-04-2015, 05:07 PM,
#7
RE: RPi-Monitor - Does it install?
Hi Gary,

Did you use sudo in front of your apt-get before installing dependencies? Or did you sudo su before? Also, are you sure your Pi has Internet Access?

Thanks.
Reply
10-04-2015, 05:23 PM, (This post was last modified: 10-04-2015, 05:23 PM by DaWast.)
#8
RE: RPi-Monitor - Does it install?
Have you tried "apt-get update" prior to "apt-get install"?
-= Feel Free to use the Search function in the upper right corner =-
Reply
10-04-2015, 05:27 PM,
#9
RE: RPi-Monitor - Does it install?
Smile Good Catch DaWest!
Reply
10-04-2015, 05:35 PM, (This post was last modified: 10-04-2015, 05:40 PM by DaWast.)
#10
RE: RPi-Monitor - Does it install?
Thanks.
Sometimes i have to have a good hint too. ;-)
-= Feel Free to use the Search function in the upper right corner =-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)