Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPi #2

Open
Mastiffen opened this issue Jan 24, 2023 · 7 comments
Open

RPi #2

Mastiffen opened this issue Jan 24, 2023 · 7 comments

Comments

@Mastiffen
Copy link

Mastiffen commented Jan 24, 2023

Hei! Jeg ser du tar imot spørsmål på svensk, så da går det kanskje på norsk også? 😉 Jeg oppdaget denne tilfeldigvis i dag, og det kan kanskje hjelpe meg stort! Jeg har tre Pi-er som ennå er på Buster, fordi jeg ikke har fått til å kjøre Tellstick Duo på Bullseye. Buster gikk akkurat så vidt, med en del norrøn magi, noen besvergelser fra Harry Potter, alvemagi fra "Ringenes herre" og bønner til Tux. Samtidig funker mye annet dårlig i Buster nå, som nyere Hass. Derfor vil jeg veldig gjerne prøve å få dette til å funke på en RPi, men jeg ser at denne er laget for Ubuntu, så det blir vel ikke det samme. Vet du hva som må endres for å få det til på en Pi?

@jatocode
Copy link
Owner

Norska går fint!
Om du kan köra docker på Rpi:erna borde det här fungera ganska direkt redan, Ubuntu är bara inne i containern.
Jag skulle testa xenial-branschen här, det kan du göra på en befintlig Pi du har utan att det stör något annat

@Mastiffen
Copy link
Author

Mastiffen commented Jan 25, 2023

Flott, takk! Da prøver jeg det i kveld. Jeg fant branchen, må bare brushe opp på hvordan man velger branch ved pull. 😂

@Mastiffen
Copy link
Author

Mastiffen commented Jan 25, 2023

Det var visst ikke så enkelt. Jeg forstår absolutt ikke noe av dette, men jeg håper jo at du gjør det! :) Jeg forsto iallfall at byggingen ikke fungerte. Jeg vet ikke hvorfor det er overstreket en del linjer her, kanskje fordi Git vet at de ikke er relevante?

`pi@Hytte-Pi:~ $ git clone https://github.com/jatocode/telldusdocker.git Xenial
Cloning into 'Xenial'...
remote: Enumerating objects: 77, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 77 (delta 32), reused 36 (delta 11), pack-reused 0
Receiving objects: 100% (77/77), 40.72 KiB | 1.20 MiB/s, done.
Resolving deltas: 100% (32/32), done.
pi@Hytte-Pi:~ $ cd Xenial
pi@Hytte-Pi:/Xenial $ ls
dockerfile README.md
libconfuse1_3.2+really3.0+dfsg-1_amd64.deb start_telldus.sh
libconfuse-common_3.2+really3.0+dfsg-1_all.deb tellstick.conf
pi@Hytte-Pi:
/Xenial $ docker build -t telldusdocker .
Sending build context to Docker daemon 143.4kB
Step 1/20 : FROM debian:stretch-slim
stretch-slim: Pulling from library/debian
a259ad5a4933: Pull complete
Digest: sha256:abaa313c7e1dfe16069a1a42fa254014780f165d4fd084844602edbe29915e70
Status: Downloaded newer image for debian:stretch-slim
---> dd1abfd18c08
Step 2/20 : LABEL version="0.5"
---> Running in d9d5fa1c32a6
Removing intermediate container d9d5fa1c32a6
---> 095bbe62de76
Step 3/20 : LABEL description="Containerised telldus daemon för hemmabruk"
---> Running in 109580dd4221
Removing intermediate container 109580dd4221
---> 6a114fa12777
Step 4/20 : LABEL maintainer="[email protected]"
---> Running in 7ef1a9c0f52e
Removing intermediate container 7ef1a9c0f52e
---> a665fad92e6d
Step 5/20 : RUN apt-get update && apt-get upgrade -y && apt-get install curl gnupg -y
---> Running in 8fb6f7b76933
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [59.1 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [3177 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main armhf Packages [758 kB]
Get:7 http://deb.debian.org/debian stretch/main armhf Packages [6908 kB]
Fetched 7941 kB in 4s (1890 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
libsystemd0 libudev1
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 383 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main armhf libsystemd0 armhf 232-25+deb9u14 [262 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main armhf libudev1 armhf 232-25+deb9u14 [121 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 383 kB in 0s (3238 kB/s)
(Reading database ... 6314 files and directories currently installed.)
Preparing to unpack .../libsystemd0_232-25+deb9u14_armhf.deb ...
Unpacking libsystemd0:armhf (232-25+deb9u14) over (232-25+deb9u13) ...
Setting up libsystemd0:armhf (232-25+deb9u14) ...
(Reading database ... 6314 files and directories currently installed.)
Preparing to unpack .../libudev1_232-25+deb9u14_armhf.deb ...
Unpacking libudev1:armhf (232-25+deb9u14) over (232-25+deb9u13) ...
Setting up libudev1:armhf (232-25+deb9u14) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
ca-certificates dirmngr gnupg-agent gnupg-l10n krb5-locales libassuan0
libcurl3 libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11
libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libksba8
libldap-2.4-2 libldap-common libnettle6 libnghttp2-14 libnpth0 libp11-kit0
libpsl5 libreadline7 librtmp1 libsasl2-2 libsasl2-modules
libsasl2-modules-db libsqlite3-0 libssh2-1 libssl1.0.2 libssl1.1 libtasn1-6
libunistring0 openssl pinentry-curses publicsuffix readline-common
Suggested packages:
dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
scdaemon gnutls-bin krb5-doc krb5-user libsasl2-modules-gssapi-mit
| libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
libsasl2-modules-sql pinentry-doc readline-doc
The following NEW packages will be installed:
ca-certificates curl dirmngr gnupg gnupg-agent gnupg-l10n krb5-locales
libassuan0 libcurl3 libffi6 libgmp10 libgnutls30 libgssapi-krb5-2
libhogweed4 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3
libkrb5support0 libksba8 libldap-2.4-2 libldap-common libnettle6
libnghttp2-14 libnpth0 libp11-kit0 libpsl5 libreadline7 librtmp1 libsasl2-2
libsasl2-modules libsasl2-modules-db libsqlite3-0 libssh2-1 libssl1.0.2
libssl1.1 libtasn1-6 libunistring0 openssl pinentry-curses publicsuffix
readline-common
0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.0 MB of archives.
After this operation, 24.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main armhf libassuan0 armhf 2.4.3-2 [36.3 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main armhf libsqlite3-0 armhf 3.16.2-5+deb9u3 [500 kB]
Get:3 http://deb.debian.org/debian stretch/main armhf pinentry-curses armhf 1.0.0-2 [46.6 kB]
Get:4 http://deb.debian.org/debian stretch/main armhf libnpth0 armhf 1.3-1 [13.6 kB]
Get:5 http://deb.debian.org/debian stretch/main armhf readline-common all 7.0-3 [70.4 kB]
Get:6 http://deb.debian.org/debian stretch/main armhf libreadline7 armhf 7.0-3 [131 kB]
Get:7 http://deb.debian.org/debian stretch/main armhf gnupg-agent armhf 2.1.18-8deb9u4 [513 kB]
Get:8 http://deb.debian.org/debian stretch/main armhf libksba8 armhf 1.3.5-2 [85.9 kB]
Get:9 http://security.debian.org/debian-security stretch/updates/main armhf libssl1.0.2 armhf 1.0.2u-1
deb9u7 [928 kB]
Get:10 http://deb.debian.org/debian stretch/main armhf gnupg armhf 2.1.18-8deb9u4 [1062 kB]
Get:11 http://security.debian.org/debian-security stretch/updates/main armhf libssl1.1 armhf 1.1.0l-1
deb9u6 [1152 kB]
Get:12 http://deb.debian.org/debian stretch/main armhf libidn11 armhf 1.33-1+deb9u1 [112 kB]
Get:13 http://deb.debian.org/debian stretch/main armhf libffi6 armhf 3.2.1-6 [18.9 kB]
Get:14 http://deb.debian.org/debian stretch/main armhf libtasn1-6 armhf 4.10-1.1+deb9u1 [45.7 kB]
Get:15 http://deb.debian.org/debian stretch/main armhf libkeyutils1 armhf 1.5.9-9 [11.8 kB]
Get:16 http://deb.debian.org/debian stretch/main armhf libunistring0 armhf 0.9.6+really0.9.3-0.1 [255 kB]
Get:17 http://deb.debian.org/debian stretch/main armhf libidn2-0 armhf 0.16-1+deb9u1 [58.8 kB]
Get:18 http://deb.debian.org/debian stretch/main armhf libpsl5 armhf 0.17.0-3 [40.7 kB]
Get:19 http://deb.debian.org/debian stretch/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-1+b1 [55.1 kB]
Get:20 http://deb.debian.org/debian stretch/main armhf dirmngr armhf 2.1.18-8deb9u4 [559 kB]
Get:21 http://security.debian.org/debian-security stretch/updates/main armhf krb5-locales all 1.15-1+deb9u3 [94.1 kB]
Get:22 http://security.debian.org/debian-security stretch/updates/main armhf libgmp10 armhf 2:6.1.2+dfsg-1+deb9u1 [195 kB]
Get:23 http://security.debian.org/debian-security stretch/updates/main armhf libnettle6 armhf 3.3-1+deb9u1 [211 kB]
Get:24 http://deb.debian.org/debian stretch/main armhf gnupg-l10n all 2.1.18-8
deb9u4 [893 kB]
Get:25 http://security.debian.org/debian-security stretch/updates/main armhf libhogweed4 armhf 3.3-1+deb9u1 [127 kB]
Get:26 http://security.debian.org/debian-security stretch/updates/main armhf libp11-kit0 armhf 0.23.3-2+deb9u1 [97.0 kB]
Get:27 http://security.debian.org/debian-security stretch/updates/main armhf libgnutls30 armhf 3.5.8-5+deb9u6 [842 kB]
Get:28 http://deb.debian.org/debian stretch/main armhf publicsuffix all 20190415.1030-0+deb9u1 [108 kB]
Get:29 http://security.debian.org/debian-security stretch/updates/main armhf libkrb5support0 armhf 1.15-1+deb9u3 [58.3 kB]
Get:30 http://security.debian.org/debian-security stretch/updates/main armhf libk5crypto3 armhf 1.15-1+deb9u3 [118 kB]
Get:31 http://security.debian.org/debian-security stretch/updates/main armhf libkrb5-3 armhf 1.15-1+deb9u3 [267 kB]
Get:32 http://security.debian.org/debian-security stretch/updates/main armhf libgssapi-krb5-2 armhf 1.15-1+deb9u3 [134 kB]
Get:33 http://security.debian.org/debian-security stretch/updates/main armhf libsasl2-modules-db armhf 2.1.27101-g0780600+dfsg-3+deb9u2 [67.0 kB]
Get:34 http://security.debian.org/debian-security stretch/updates/main armhf libsasl2-2 armhf 2.1.27
101-g0780600+dfsg-3+deb9u2 [98.5 kB]
Get:35 http://security.debian.org/debian-security stretch/updates/main armhf libldap-common all 2.4.44+dfsg-5+deb9u9 [86.3 kB]
Get:36 http://security.debian.org/debian-security stretch/updates/main armhf libldap-2.4-2 armhf 2.4.44+dfsg-5+deb9u9 [198 kB]
Get:37 http://security.debian.org/debian-security stretch/updates/main armhf openssl armhf 1.1.0l-1deb9u6 [727 kB]
Get:38 http://security.debian.org/debian-security stretch/updates/main armhf ca-certificates all 20200601
deb9u2 [168 kB]
Get:39 http://security.debian.org/debian-security stretch/updates/main armhf libnghttp2-14 armhf 1.18.1-1+deb9u2 [69.3 kB]
Get:40 http://security.debian.org/debian-security stretch/updates/main armhf libssh2-1 armhf 1.7.0-1+deb9u2 [129 kB]
Get:41 http://security.debian.org/debian-security stretch/updates/main armhf libcurl3 armhf 7.52.1-5+deb9u16 [270 kB]
Get:42 http://security.debian.org/debian-security stretch/updates/main armhf curl armhf 7.52.1-5+deb9u16 [225 kB]
Get:43 http://security.debian.org/debian-security stretch/updates/main armhf libsasl2-modules armhf 2.1.27101-g0780600+dfsg-3+deb9u2 [96.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 11.0 MB in 0s (13.6 MB/s)
Selecting previously unselected package libassuan0:armhf.
(Reading database ... 6314 files and directories currently installed.)
Preparing to unpack .../00-libassuan0_2.4.3-2_armhf.deb ...
Unpacking libassuan0:armhf (2.4.3-2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../01-pinentry-curses_1.0.0-2_armhf.deb ...
Unpacking pinentry-curses (1.0.0-2) ...
Selecting previously unselected package libnpth0:armhf.
Preparing to unpack .../02-libnpth0_1.3-1_armhf.deb ...
Unpacking libnpth0:armhf (1.3-1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../03-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:armhf.
Preparing to unpack .../04-libreadline7_7.0-3_armhf.deb ...
Unpacking libreadline7:armhf (7.0-3) ...
Selecting previously unselected package gnupg-agent.
Preparing to unpack .../05-gnupg-agent_2.1.18-8
deb9u4_armhf.deb ...
Unpacking gnupg-agent (2.1.18-8deb9u4) ...
Selecting previously unselected package libksba8:armhf.
Preparing to unpack .../06-libksba8_1.3.5-2_armhf.deb ...
Unpacking libksba8:armhf (1.3.5-2) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../07-libsqlite3-0_3.16.2-5+deb9u3_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.16.2-5+deb9u3) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../08-gnupg_2.1.18-8
deb9u4_armhf.deb ...
Unpacking gnupg (2.1.18-8deb9u4) ...
Selecting previously unselected package libssl1.0.2:armhf.
Preparing to unpack .../09-libssl1.0.2_1.0.2u-1
deb9u7_armhf.deb ...
Unpacking libssl1.0.2:armhf (1.0.2u-1deb9u7) ...
Selecting previously unselected package libssl1.1:armhf.
Preparing to unpack .../10-libssl1.1_1.1.0l-1
deb9u6_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.0l-1deb9u6) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../11-krb5-locales_1.15-1+deb9u3_all.deb ...
Unpacking krb5-locales (1.15-1+deb9u3) ...
Selecting previously unselected package libgmp10:armhf.
Preparing to unpack .../12-libgmp10_2%3a6.1.2+dfsg-1+deb9u1_armhf.deb ...
Unpacking libgmp10:armhf (2:6.1.2+dfsg-1+deb9u1) ...
Selecting previously unselected package libnettle6:armhf.
Preparing to unpack .../13-libnettle6_3.3-1+deb9u1_armhf.deb ...
Unpacking libnettle6:armhf (3.3-1+deb9u1) ...
Selecting previously unselected package libhogweed4:armhf.
Preparing to unpack .../14-libhogweed4_3.3-1+deb9u1_armhf.deb ...
Unpacking libhogweed4:armhf (3.3-1+deb9u1) ...
Selecting previously unselected package libidn11:armhf.
Preparing to unpack .../15-libidn11_1.33-1+deb9u1_armhf.deb ...
Unpacking libidn11:armhf (1.33-1+deb9u1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../16-libffi6_3.2.1-6_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-6) ...
Selecting previously unselected package libp11-kit0:armhf.
Preparing to unpack .../17-libp11-kit0_0.23.3-2+deb9u1_armhf.deb ...
Unpacking libp11-kit0:armhf (0.23.3-2+deb9u1) ...
Selecting previously unselected package libtasn1-6:armhf.
Preparing to unpack .../18-libtasn1-6_4.10-1.1+deb9u1_armhf.deb ...
Unpacking libtasn1-6:armhf (4.10-1.1+deb9u1) ...
Selecting previously unselected package libgnutls30:armhf.
Preparing to unpack .../19-libgnutls30_3.5.8-5+deb9u6_armhf.deb ...
Unpacking libgnutls30:armhf (3.5.8-5+deb9u6) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../20-libkeyutils1_1.5.9-9_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-9) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../21-libkrb5support0_1.15-1+deb9u3_armhf.deb ...
Unpacking libkrb5support0:armhf (1.15-1+deb9u3) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../22-libk5crypto3_1.15-1+deb9u3_armhf.deb ...
Unpacking libk5crypto3:armhf (1.15-1+deb9u3) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../23-libkrb5-3_1.15-1+deb9u3_armhf.deb ...
Unpacking libkrb5-3:armhf (1.15-1+deb9u3) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../24-libgssapi-krb5-2_1.15-1+deb9u3_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.15-1+deb9u3) ...
Selecting previously unselected package libsasl2-modules-db:armhf.
Preparing to unpack .../25-libsasl2-modules-db_2.1.27
101-g0780600+dfsg-3+deb9u2_armhf.deb ...
Unpacking libsasl2-modules-db:armhf (2.1.27101-g0780600+dfsg-3+deb9u2) ...
Selecting previously unselected package libsasl2-2:armhf.
Preparing to unpack .../26-libsasl2-2_2.1.27
101-g0780600+dfsg-3+deb9u2_armhf.deb ...
Unpacking libsasl2-2:armhf (2.1.27101-g0780600+dfsg-3+deb9u2) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../27-libldap-common_2.4.44+dfsg-5+deb9u9_all.deb ...
Unpacking libldap-common (2.4.44+dfsg-5+deb9u9) ...
Selecting previously unselected package libldap-2.4-2:armhf.
Preparing to unpack .../28-libldap-2.4-2_2.4.44+dfsg-5+deb9u9_armhf.deb ...
Unpacking libldap-2.4-2:armhf (2.4.44+dfsg-5+deb9u9) ...
Selecting previously unselected package openssl.
Preparing to unpack .../29-openssl_1.1.0l-1
deb9u6_armhf.deb ...
Unpacking openssl (1.1.0l-1deb9u6) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../30-ca-certificates_20200601
deb9u2_all.deb ...
Unpacking ca-certificates (20200601deb9u2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../31-libunistring0_0.9.6+really0.9.3-0.1_armhf.deb ...
Unpacking libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package libidn2-0:armhf.
Preparing to unpack .../32-libidn2-0_0.16-1+deb9u1_armhf.deb ...
Unpacking libidn2-0:armhf (0.16-1+deb9u1) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../33-libnghttp2-14_1.18.1-1+deb9u2_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.18.1-1+deb9u2) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../34-libpsl5_0.17.0-3_armhf.deb ...
Unpacking libpsl5:armhf (0.17.0-3) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../35-librtmp1_2.4+20151223.gitfa8646d.1-1+b1_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-1+b1) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../36-libssh2-1_1.7.0-1+deb9u2_armhf.deb ...
Unpacking libssh2-1:armhf (1.7.0-1+deb9u2) ...
Selecting previously unselected package libcurl3:armhf.
Preparing to unpack .../37-libcurl3_7.52.1-5+deb9u16_armhf.deb ...
Unpacking libcurl3:armhf (7.52.1-5+deb9u16) ...
Selecting previously unselected package curl.
Preparing to unpack .../38-curl_7.52.1-5+deb9u16_armhf.deb ...
Unpacking curl (7.52.1-5+deb9u16) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../39-dirmngr_2.1.18-8
deb9u4_armhf.deb ...
Unpacking dirmngr (2.1.18-8deb9u4) ...
Selecting previously unselected package libsasl2-modules:armhf.
Preparing to unpack .../40-libsasl2-modules_2.1.27
101-g0780600+dfsg-3+deb9u2_armhf.deb ...
Unpacking libsasl2-modules:armhf (2.1.27101-g0780600+dfsg-3+deb9u2) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../41-gnupg-l10n_2.1.18-8
deb9u4_all.deb ...
Unpacking gnupg-l10n (2.1.18-8deb9u4) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../42-publicsuffix_20190415.1030-0+deb9u1_all.deb ...
Unpacking publicsuffix (20190415.1030-0+deb9u1) ...
Setting up libnpth0:armhf (1.3-1) ...
Setting up readline-common (7.0-3) ...
Setting up libnettle6:armhf (3.3-1+deb9u1) ...
Setting up libnghttp2-14:armhf (1.18.1-1+deb9u2) ...
Setting up libldap-common (2.4.44+dfsg-5+deb9u9) ...
Setting up libreadline7:armhf (7.0-3) ...
Setting up libsasl2-modules-db:armhf (2.1.27
101-g0780600+dfsg-3+deb9u2) ...
Setting up libsasl2-2:armhf (2.1.27101-g0780600+dfsg-3+deb9u2) ...
Setting up libksba8:armhf (1.3.5-2) ...
Setting up libtasn1-6:armhf (4.10-1.1+deb9u1) ...
Setting up gnupg-l10n (2.1.18-8
deb9u4) ...
Setting up libssl1.0.2:armhf (1.0.2u-1deb9u7) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libgmp10:armhf (2:6.1.2+dfsg-1+deb9u1) ...
Setting up libssh2-1:armhf (1.7.0-1+deb9u2) ...
Setting up krb5-locales (1.15-1+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up publicsuffix (20190415.1030-0+deb9u1) ...
Setting up libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Setting up libssl1.1:armhf (1.1.0l-1
deb9u6) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up openssl (1.1.0l-1deb9u6) ...
Setting up libsqlite3-0:armhf (3.16.2-5+deb9u3) ...
Setting up libffi6:armhf (3.2.1-6) ...
Setting up libkeyutils1:armhf (1.5.9-9) ...
Setting up libsasl2-modules:armhf (2.1.27
101-g0780600+dfsg-3+deb9u2) ...
Setting up ca-certificates (20200601deb9u2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Setting up libassuan0:armhf (2.4.3-2) ...
Setting up libidn11:armhf (1.33-1+deb9u1) ...
Setting up libidn2-0:armhf (0.16-1+deb9u1) ...
Setting up libpsl5:armhf (0.17.0-3) ...
Setting up libkrb5support0:armhf (1.15-1+deb9u3) ...
Setting up libhogweed4:armhf (3.3-1+deb9u1) ...
Setting up libp11-kit0:armhf (0.23.3-2+deb9u1) ...
Setting up pinentry-curses (1.0.0-2) ...
Setting up gnupg-agent (2.1.18-8
deb9u4) ...
Setting up libk5crypto3:armhf (1.15-1+deb9u3) ...
Setting up gnupg (2.1.18-8deb9u4) ...
Setting up libgnutls30:armhf (3.5.8-5+deb9u6) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-1+b1) ...
Setting up libldap-2.4-2:armhf (2.4.44+dfsg-5+deb9u9) ...
Setting up libkrb5-3:armhf (1.15-1+deb9u3) ...
Setting up dirmngr (2.1.18-8
deb9u4) ...
Setting up libgssapi-krb5-2:armhf (1.15-1+deb9u3) ...
Setting up libcurl3:armhf (7.52.1-5+deb9u16) ...
Setting up curl (7.52.1-5+deb9u16) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for ca-certificates (20200601deb9u2) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removing intermediate container 8fb6f7b76933
---> 1234c2e46348
Step 6/20 : RUN curl http://download.telldus.com/debian/telldus-public.key | apt-key add -
---> Running in b2bfafd69e39
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: apt-key output should not be parsed (stdout is not a terminal)
100 1450 100 1450 0 0 2345 0 --:--:-- --:--:-- --:--:-- 2346
OK
Removing intermediate container b2bfafd69e39
---> e2a69094708b
Step 7/20 : RUN echo "deb http://download.telldus.com/debian/ stable main" >> /etc/apt/sources.list
---> Running in 1804265f6f83
Removing intermediate container 1804265f6f83
---> 98e455cec829
Step 8/20 : RUN apt-get update && apt-get install -y --no-install-recommends libftdi1 libtelldus-core2
---> Running in 0a6b736d8d37
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Get:5 http://download.telldus.com/debian stable InRelease [10.4 kB]
Get:7 http://download.telldus.com/debian stable/main armhf Packages [2125 B]
Fetched 12.5 kB in 1s (6782 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libusb-0.1-4
Recommended packages:
telldus-core
The following NEW packages will be installed:
libftdi1 libtelldus-core2 libusb-0.1-4
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.0 kB of archives.
After this operation, 212 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main armhf libusb-0.1-4 armhf 2:0.1.12-30 [21.4 kB]
Get:2 http://deb.debian.org/debian stretch/main armhf libftdi1 armhf 0.20-4 [17.0 kB]
Get:3 http://download.telldus.com/debian stable/main armhf libtelldus-core2 armhf 2.1.2-1 [32.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 71.0 kB in 0s (429 kB/s)
Selecting previously unselected package libusb-0.1-4:armhf.
(Reading database ... 7138 files and directories currently installed.)
Preparing to unpack .../libusb-0.1-4_2%3a0.1.12-30_armhf.deb ...
Unpacking libusb-0.1-4:armhf (2:0.1.12-30) ...
Selecting previously unselected package libftdi1:armhf.
Preparing to unpack .../libftdi1_0.20-4_armhf.deb ...
Unpacking libftdi1:armhf (0.20-4) ...
Selecting previously unselected package libtelldus-core2.
Preparing to unpack .../libtelldus-core2_2.1.2-1_armhf.deb ...
Unpacking libtelldus-core2 (2.1.2-1) ...
Setting up libtelldus-core2 (2.1.2-1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libusb-0.1-4:armhf (2:0.1.12-30) ...
Setting up libftdi1:armhf (0.20-4) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Removing intermediate container 0a6b736d8d37
---> 323387cd35a2
Step 9/20 : RUN apt-get download telldus-core
---> Running in acebfa73e351
Get:1 http://download.telldus.com/debian stable/main armhf telldus-core armhf 2.1.2-1 [164 kB]
Fetched 164 kB in 0s (587 kB/s)
W: Download is performed unsandboxed as root as file '//telldus-core_2.1.2-1_armhf.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Removing intermediate container acebfa73e351
---> 5a9488563bcc
Step 10/20 : COPY libconfuse-common_3.2+really3.0+dfsg-1_all.deb libconfuse-common_3.2+really3.0+dfsg-1_all.deb
---> 552e47981111
Step 11/20 : COPY libconfuse1_3.2+really3.0+dfsg-1_amd64.deb libconfuse1_3.2+really3.0+dfsg-1_amd64.deb
---> 5775fb8de9ae
Step 12/20 : RUN dpkg -i libconfuse-common_3.2+really3.0+dfsg-1_all.deb && dpkg -i libconfuse1_3.2+really3.0+dfsg-1_amd64.deb && dpkg --ignore-depends=libconfuse0 -i telldus-core_2.1.2-1_amd64.deb
---> Running in 98d62db6ae1b
Selecting previously unselected package libconfuse-common.
(Reading database ... 7157 files and directories currently installed.)
Preparing to unpack libconfuse-common_3.2+really3.0+dfsg-1_all.deb ...
Unpacking libconfuse-common (3.2+really3.0+dfsg-1) ...
Setting up libconfuse-common (3.2+really3.0+dfsg-1) ...
dpkg: error processing archive libconfuse1_3.2+really3.0+dfsg-1_amd64.deb (--install):
package architecture (amd64) does not match system (armhf)
Errors were encountered while processing:
libconfuse1_3.2+really3.0+dfsg-1_amd64.deb
The command '/bin/sh -c dpkg -i libconfuse-common_3.2+really3.0+dfsg-1_all.deb && dpkg -i libconfuse1_3.2+really3.0+dfsg-1_amd64.deb && dpkg --ignore-depends=libconfuse0 -i telldus-core_2.1.2-1_amd64.deb' returned a non-zero code: 1
pi@Hytte-Pi:
/Xenial $ ls
dockerfile README.md
libconfuse1_3.2+really3.0+dfsg-1_amd64.deb start_telldus.sh
libconfuse-common_3.2+really3.0+dfsg-1_all.deb tellstick.conf
pi@Hytte-Pi:/Xenial $ docker run --device=/dev/bus/usb/ -d telldusdocker
Unable to find image 'telldusdocker:latest' locally
docker: Error response from daemon: pull access denied for telldusdocker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
pi@Hytte-Pi:
/Xenial $

`

@jatocode
Copy link
Owner

Hmm. Du har rätt, det är nog inte så enkelt nej. Behövs ett paket som är kompilerat för rätt arkitektur.
Jag har ingen fungerande RPi hemma att labba med tyvärr så kan dröja innan jag har en lösning på det

@Mastiffen
Copy link
Author

Jeg er veldig god til å følge instrukser og har stort sett alt tilgjengelig når som helst. Eventuelt kan jeg sette opp en VNC-Pi til deg i morgen og gi deg IP-adresse og passord, hvis det hjelper. Er det noe av det som kan funke for deg? I så fall kan vi jo gå over på Messenger.

@jatocode
Copy link
Owner

jatocode commented Jan 30, 2023 via email

@Mastiffen
Copy link
Author

Mastiffen commented Jan 30, 2023

Wow, förlåt, som det heter på svensk! Min feil, jeg brukte gal syntaks. Jeg klonet til katalogen Xenial istedenfor å klone branchen xenial! Det ser faktisk ut til at det fungerte:

pi@Hytte-Pi:~/telldusdocker $ docker run --device=/dev/bus/usb/ -d telldusdocker
810a94892e836fc3f35100e1cf4c5eab4e382254e05a291c1cdb86dc409351c1

Så nå er det bare siste spørsmål, hvordan jeg bruker det. Det går jo ikke i nyere Node-RED, den feiler når jeg prøver å installere node-red-contrib-tellstick, som ikke har vært oppdatert på seks år. Jeg mener å huske at den gjør det uansett Node-RED-versjon hvis det er nyere Raspbian enn Buster. Kjører du den via MQTT, eller hvordan gjøres det? Det står ikke noe om det i readme.

En annen ting: Det ser ut til at den får forskjellige navn når den kjøres. For hvis jeg prøver å stoppe telldusdocker, feiler det. Og når jeg kjører docker container ls får jeg navn som "intelligent_liskov" og "admiring_elgamal". Er det noe jeg kan rette opp selv?

Det siste er løst, den første gangen det kjøres, må det kjøres sånn: docker run --device=/dev/bus/usb/ -d --name telldusdocker telldusdocker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants