Installing Weaved on OSMC

Hello

First of all, I would like to really appreciate the amount of work and dedication behind creating OSMC. It’s such an amazing OS for something so innovative as a RPi.

I need help with installing Weaved on the RPi. I have raised this question on the Weaved forums and they helped me as much as they could. But it seems there is some library or some repository that is not being included.

http://forum.weaved.com/t/installing-weaved-on-rpi-with-osmc-not-raspbian/707/6

The last response on the thread in their forums is

I think what's going on is that you need to get the download link from Github by clicking on the file name, then right-clicking on the "Raw" button to get the download URL. For version 1.3.-02 it is:

https://github.com/weaved/installer/raw/master/Raspbian%20deb/1.3-02/weavedconnectd-1.3-02.deb

The file size is: 82530 bytes.
The MD5 checksum is: c0dc2755af8f607a0898dd5fb57f91bd

I tried running the Weaved installer on OSMC and this dependency (psmisc) popped out:



It was not possible to install it by simply typing:

sudo apt-get install psmisc
This seems to indicate that it is not included in the repositories that OSMC has chosen to include in their image. I'll leave that up to you to try to resolve with the folks at OSMC. This info may be of some use:

http://www.raspbian.org/RaspbianRepository

If someone can help me with this would be great !!

You don’t say whether you’re using a Pi 1 or a Pi 2.

The Pi 1 version of OSMC uses the standard Raspbian Jessie APT repository, which should have psmisc. The Pi 2 and Vero versions of OSMC use the Debian Jessie APT repositories, which definitely do have psmisc:

osmc@vero:~$ sudo apt-get install psmisc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  armv7-libafpclient-osmc libfile-copy-recursive-perl libhdb9-heimdal libkdc2-heimdal python-dnspython samba-dsdb-modules tdb-tools update-inetd
  vero-image-3.14.37-14-osmc vero-image-3.14.37-3-osmc vero-image-4.1.12-1-osmc vero-image-4.1.12-2-osmc vero-image-4.1.12-3-osmc vero-image-4.1.7-5-osmc
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  psmisc
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 118 kB of archives.
After this operation, 758 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ jessie/main psmisc armhf 22.21-2 [118 kB]
Fetched 118 kB in 0s (509 kB/s)
Selecting previously unselected package psmisc.
(Reading database ... 67527 files and directories currently installed.)
Preparing to unpack .../psmisc_22.21-2_armhf.deb ...
Unpacking psmisc (22.21-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up psmisc (22.21-2) ...
osmc@vero:~$

Can you clarify whether you are using a Pi 1 or a Pi 2, and whether you have in any way customised APT, for example making changes to /etc/apt/sources.list.

Thanks mandrake for responding!!
I have installed OSMC on Rpi 2.

Didnt understand the part about psmisc.

Hi all,
i need installa weaved on my raspberry A(512) with osmc.

did someone know procedure ?
thanks

Also Posting my /etc/apt/sources.list entries

deb http://ftp.debian.org/debian jessie main contrib non-free

deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free

deb http://apt.osmc.tv jessie main

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free

deb http://archive.raspbian.org/raspbian jessie main contrib non-free

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main

The original sources.list file just had the first 4 lines.

The reason we do not add the raspbian sources on the Pi 2/Vero versions of OSMC is because the raspbian source are compiled for armv6l architecture while the debian source is armv7 code.

Although it’s OK to run armv6 code on a Pi 2 (but slower) adding the entire raspbian apt source is not recommended as not all the packages available are the same versions, this could cause you issues during updates.

Thanks Mandrake for your response !!

Even though I have all of these line items in the sources.list file, when I type the following this is what I get
sudo apt-get install weavedconnectd
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package weavedconnectd

Can you tell me which lines in the sources.list should I remove or add to install weaved. The guys at weaved responded by asking me to download the .deb file in the following link
https://github.com/weaved/installer/tree/master/Raspbian%20deb/1.3-02

To install Weaved to your ARM Debian system:
1) Copy the deb file to your system.
2) Run "sudo dpkg -i weavedconnectd-1.3-02.deb"
3) Now run "sudo weavedinstaller"

When I do that I get an error saying it’s not a valid deb file.

I didn’t understand your earlier response about psmisc.Can you please help me with what to do?

You’re really asking the wrong people here - you really need to be asking the authors of the software for help.

OSMC is an operating system (which bundles Kodi) which you are able to install additional software onto, but that doesn’t mean we can provide step by step instructions for installing any random 3rd party piece of software.

This would be akin to asking Microsoft to help you to install Adobe Photoshop on your computer when you should be going to Adobe, since they wrote the program.

As far as I can see there is no package called weavedconnectd in the Debian repositories, and the commands you have been told to run are describing how to manually download a package and install it without going through an APT repository.

And if that is not working, you’ll need to ask them for help with that - nothing we can do.

Thanks Mandrake for your response.

I could install it finally with a bit of your advice on psmisc.

http://forum.weaved.com/t/installing-weaved-on-rpi-with-osmc-not-raspbian/707/10?u=harrycheese