Installation på senate ubuntu

Moderator: Telldus

Post Reply
t00by1
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Installation på senate ubuntu

Post by t00by1 »

Tjo!

Gjorde lite uppgraderingar här hemma och fixade med servern som stått och hanterat min tellstick classic ganska länge nu.
En helt ny fräsch version av Ubuntu 17.04 blev det. Tänkte jag installerar helt enkelt telldus-core från repot som innan och stoppar tillbaka den config jag haft tidigare.
Men tji fick jag.

Code: Select all

~$ sudo apt-get install telldus-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 telldus-core : Depends: libconfuse0 (>= 2.5) but it is not installable
E: Unable to correct problems, you have held broken packages.
Hur gör jag för att komma runt detta? Vad jag förstår så är libconfuse0 lite till åren kommet och därför går det inte rulla in på min server just nu.
Vill ju hemskt gärna ha det här att funka igen då styrningen av lampor är oerhört smidig denna vägen.
gflygt
Posts: 46
Joined: Fri Mar 17, 2023 9:45 am

Re: Installation på senate ubuntu

Post by gflygt »

Jag löste det så, att jag kompilerade källkoden. Då länkar den själv snällt till libconfuse1

pi@raspberrypi:~ $ ldd /usr/local/sbin/telldusd
linux-vdso.so.1 (0x7efa0000)
/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76ed1000)
libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76e95000)
libconfuse.so.1 => /usr/lib/arm-linux-gnueabihf/libconfuse.so.1 (0x76e7a000)
libftdi.so.1 => /usr/lib/arm-linux-gnueabihf/libftdi.so.1 (0x76e63000)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76d1b000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76c9c000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76c6f000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76b30000)
/lib/ld-linux-armhf.so.3 (0x76ee7000)
libusb-0.1.so.4 => /lib/arm-linux-gnueabihf/libusb-0.1.so.4 (0x76b18000)

Du behöver naturligtvis gcc och cmake, men gcc är väl installerad redan om jag inte missminner mig. Du behöver libconfuse-dev o en del andra headerpaket, men det var inte så krångligt att hitta vad som behövs.
Post Reply