Closed a0s closed 6 years ago
I think you need the armhf one. Check with dpkg --print-architecture
.
Ok, on baremetal linux i have:
> uname -p -m -i
armv7l armv7l armv7l
> dpkg --print-architecture
armhf
> dpkg -i grafana_5.0.4_armhf.deb
OK
But inside docker docker run --rm -it debian bash
i got strange behaviour:
> uname -p -m -i
armv7l unknown unknown
> dpkg --print-architecture
armel
> dpkg -i grafana_5.0.4_armhf.deb
dpkg: error processing archive grafana_5.0.4_armhf.deb (--install):
package architecture (armhf) does not match system (armel)
Errors were encountered while processing:
grafana_5.0.4_armhf.deb
I think it something about how docker works. Yes, it is docker bug https://github.com/moby/moby/issues/34875 :(
Ok, i found solution - using ubuntu instead of debian
root@manager:~# dpkg --print-architecture
armhf
root@manager:~# docker run --rm -it ubuntu dpkg --print-architecture
armhf
root@manager:~# docker run --rm -it debian dpkg --print-architecture
armel
if you insiste for debian, try arm32v7/debian docker image. This is the one I use for fg2it/grafana-armhf
Hi, i have Odroid XU4
Could you build an armel version of the package pls?