question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing additional packages fails

See original GitHub issue

Problem/Motivation

installing system packes fails (i.e. make, g++)

Expected behavior

system packages install successfully

Actual behavior

(1/1) Installing make (4.2.1-r2)
Executing busybox-1.29.3-r10.trigger
OK: 112 MiB in 47 packages
ERROR: unsatisfiable constraints:
  musl-1.1.20-r3:
    breaks: musl-dev-1.1.20-r4[musl=1.1.20-r4]
    satisfies: musl-utils-1.1.20-r3[musl=1.1.20-r3]
               musl-utils-1.1.20-r3[so:libc.musl-armv7.so.1]
               gcc-8.2.0-r2[so:libc.musl-armv7.so.1]
               g++-8.2.0-r2[so:libc.musl-armv7.so.1]
               tzdata-2018i-r0[so:libc.musl-armv7.so.1]
               readline-7.0.003-r1[so:libc.musl-armv7.so.1]
               bash-4.4.19-r1[so:libc.musl-armv7.so.1]
               ca-certificates-20190108-r0[so:libc.musl-armv7.so.1]
               busybox-1.29.3-r10[so:libc.musl-armv7.so.1]
               openssh-client-7.9_p1-r4[so:libc.musl-armv7.so.1]
               binutils-2.31.1-r2[so:libc.musl-armv7.so.1]
               sqlite-libs-3.26.0-r3[so:libc.musl-armv7.so.1]
               curl-7.64.0-r1[so:libc.musl-armv7.so.1]
               mpfr3-3.1.5-r1[so:libc.musl-armv7.so.1]
               libuv-1.23.2-r0[so:libc.musl-armv7.so.1]
               ncurses-libs-6.1_p20190105-r0[so:libc.musl-armv7.so.1]
               expat-2.2.6-r0[so:libc.musl-armv7.so.1]
               git-2.20.1-r0[so:libc.musl-armv7.so.1]
               nghttp2-libs-1.35.1-r0[so:libc.musl-armv7.so.1]
               nodejs-10.14.2-r0[so:libc.musl-armv7.so.1]
               gdbm-1.13-r1[so:libc.musl-armv7.so.1]
               python2-2.7.15-r3[so:libc.musl-armv7.so.1]
               libstdc++-8.2.0-r2[so:libc.musl-armv7.so.1]
               libbz2-1.0.6-r6[so:libc.musl-armv7.so.1]
               isl-0.18-r0[so:libc.musl-armv7.so.1]
               libcurl-7.64.0-r1[so:libc.musl-armv7.so.1]
               mpc1-1.0.3-r1[so:libc.musl-armv7.so.1]
               oniguruma-6.9.1-r0[so:libc.musl-armv7.so.1]
               libffi-3.2.1-r6[so:libc.musl-armv7.so.1]
               zlib-1.2.11-r1[so:libc.musl-armv7.so.1]
               paxctl-0.9-r0[so:libc.musl-armv7.so.1]
               libgomp-8.2.0-r2[so:libc.musl-armv7.so.1]
               apk-tools-2.10.3-r1[so:libc.musl-armv7.so.1]
               libssh2-1.8.0-r4[so:libc.musl-armv7.so.1]
               make-4.2.1-r2[so:libc.musl-armv7.so.1]
               libedit-20181209.3.1-r0[so:libc.musl-armv7.so.1]
               libgcc-8.2.0-r2[so:libc.musl-armv7.so.1]
               libssl1.1-1.1.1a-r1[so:libc.musl-armv7.so.1]
               alpine-baselayout-3.1.0-r3[so:libc.musl-armv7.so.1]
               libcrypto1.1-1.1.1a-r1[so:libc.musl-armv7.so.1]
               libatomic-8.2.0-r2[so:libc.musl-armv7.so.1]
               openssh-keygen-7.9_p1-r4[so:libc.musl-armv7.so.1]
               pcre2-10.32-r1[so:libc.musl-armv7.so.1]
               c-ares-1.15.0-r0[so:libc.musl-armv7.so.1]
               scanelf-1.2.3-r0[so:libc.musl-armv7.so.1]
               gmp-6.1.2-r1[so:libc.musl-armv7.so.1]
               jq-1.6-r0[so:libc.musl-armv7.so.1]
               http-parser-2.8.1-r0[so:libc.musl-armv7.so.1]
[14:32:26] FATAL: Failed installing system package g++
[cont-init.d] 80-system-packages.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------

Steps to reproduce

My System:

-----------------------------------------------------------
 Hass.io Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 2.0.1
 You are running the latest version of this add-on.
 System: HassOS 1.13  (armv7 / raspberrypi3)
 Home Assistant version: 0.90.1
 Supervisor version: 150
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in e.g, GitHub, forums or the Discord chat.
-----------------------------------------------------------

My configuration:

{
  "credential_secret": "1234567890",
  "dark_mode": false,
  "http_node": {
    "username": "",
    "password": ""
  },
  "http_static": {
    "username": "",
    "password": ""
  },
  "port": 1880,
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "require_ssl": false,
  "system_packages": [
    "make",
    "g++"
  ],
  "npm_packages": [
    "node-red-contrib-blindcontroller",
    "node-red-contrib-boolean-logic",
    "node-red-contrib-telegrambot",
    "node-red-contrib-schedex",
    "node-red-contrib-homekit-bridged"
  ],
  "init_commands": [],
  "log_level": "info"
}

start addOn and wait for error

Proposed changes

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jigfoxcommented, Apr 2, 2019

@frenck sorry, for the late reply, it all works perfectly now, thanks for your fast responses and help!

1reaction
frenckcommented, Mar 23, 2019

@jigfox Add-on version v2.0.2 was released about an hour ago, which addresses this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing new packages do not work, always getting errors
Try creating a library in a different place than your documents folder. unfortunately, this won't work, because of no admin rights to change ......
Read more >
Issue with installed.packages - "Updating Loaded Packages
Hi there,. I have been receiving error msg installing packages. Everytime I run a code it says "Updating Loaded Packages - One or...
Read more >
Problem Installing Packages in the RStudio IDE - Posit Support
If you are unable to install packages in the RStudio IDE, some common problems are outlined below: Are you able to install packages...
Read more >
General problem installing any R package - Microsoft Support
Problem. When trying to install any R package on your system, for example: install.packages("proto") you get an error like the following:.
Read more >
Error in install.packages: unable to install packages
The function you're using is trying to use an 'annotation' package describing a microarray chip. The package is currently not installed, so it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found