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

Build From Latest Libretime Fail with: chown: invalid user: 'liquidsoap:liquidsoap' #32

Open
engineerjoe440 opened this issue Nov 26, 2020 · 0 comments

Comments

@engineerjoe440
Copy link

I was bumming around after a handful of other errors, and thus I tried commenting out the image and uncommenting the build: in the libretime-core section. Ended up running into some errors with that too though...

I ended up running into an error that appears as: chown: invalid user: 'liquidsoap:liquidsoap'

Here's the full context:

Step 18/26 : RUN apt-get remove liquidsoap -y &&     apt-get install ocaml ocaml-native-compilers camlp4-extra opam autotools-dev automake -y &&     mkdir /usr/local/opam &&     chown liquidsoap:liquidsoap /usr/local/opam /usr/share/liquidsoap/ &&     usermod -s /bin/bash liquidsoap &&     usermod -aG sudo liquidsoap &&     echo "liquidsoap ALL = NOPASSWD : ALL" >> /etc/sudoers &&     su - liquidsoap -c "OPAMYES=yes && opam init --root=/usr/local/opam --yes && opam init --yes && opam switch 4.06.0" &&     su - liquidsoap -c "eval `opam config env --root=/usr/local/opam`         export OPAMYES=yes && opam depext alsa cry fdkaac lame liquidsoap mad opus taglib vorbis --yes ;         export OPAMYES=yes && opam install alsa cry fdkaac lame liquidsoap mad opus taglib vorbis --yes" &&     echo "eval \`opam config env --root=/usr/local/opam\`" > /etc/profile.d/liquidsoap-opam.sh &&     ln -s /usr/local/opam/system/bin/liquidsoap /usr/bin/liquidsoap
 ---> Running in ae05ef9796e6
Reading package lists...
Building dependency tree...
Reading state information...
Package 'liquidsoap' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
automake is already the newest version (1:1.15-4ubuntu1).
autotools-dev is already the newest version (20150820.1).
autotools-dev set to manually installed.
The following additional packages will be installed:
  aspcud clasp darcs gringo javascript-common ledit libcamlp4-ocaml-dev
  libfindlib-ocaml libfindlib-ocaml-dev libjs-excanvas liblua5.2-0
  libncurses5-dev libpthread-stubs0-dev libpython2.7 libtinfo-dev libx11-dev
  libx11-doc libxau-dev libxcb1-dev libxdmcp-dev mercurial mercurial-common
  ocaml-base ocaml-base-nox ocaml-compiler-libs ocaml-findlib ocaml-interp
  ocaml-nox opam-docs unzip x11proto-core-dev x11proto-input-dev
  x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  ncurses-doc libxcb-doc qct kdiff3 | kdiff3-qt | kompare | meld | tkcvs
  | mgdiff wish python-mysqldb python-pygments python-openssl ocaml-doc
  tuareg-mode | ocaml-mode zip
The following NEW packages will be installed:
  aspcud camlp4 clasp darcs gringo javascript-common ledit libcamlp4-ocaml-dev
  libfindlib-ocaml libfindlib-ocaml-dev libjs-excanvas liblua5.2-0
  libncurses5-dev libpthread-stubs0-dev libpython2.7 libtinfo-dev libx11-dev
  libx11-doc libxau-dev libxcb1-dev libxdmcp-dev mercurial mercurial-common
  ocaml ocaml-base ocaml-base-nox ocaml-compiler-libs ocaml-findlib
  ocaml-interp ocaml-native-compilers ocaml-nox opam opam-docs unzip
  x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools
  xtrans-dev
0 upgraded, 39 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.9 MB of archives.
After this operation, 309 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-base-nox amd64 4.02.3-5ubuntu2 [456 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtinfo-dev amd64 6.0+20160213-1ubuntu1 [77.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libncurses5-dev amd64 6.0+20160213-1ubuntu1 [175 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-compiler-libs amd64 4.02.3-5ubuntu2 [9,510 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-interp amd64 4.02.3-5ubuntu2 [271 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-nox amd64 4.02.3-5ubuntu2 [6,271 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcamlp4-ocaml-dev amd64 4.02.1+3-2 [12.2 MB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/universe amd64 camlp4 amd64 4.02.1+3-2 [3,388 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 darcs amd64 2.10.2-1 [3,096 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblua5.2-0 amd64 5.2.4-1ubuntu1 [106 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7 amd64 2.7.12-1ubuntu0~16.04.13 [1,070 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 gringo amd64 4.5.4-1 [1,833 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ledit all 2.03-4build1 [42.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libfindlib-ocaml amd64 1.5.5-2build1 [137 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libfindlib-ocaml-dev amd64 1.5.5-2build1 [113 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libjs-excanvas all 0.r3-4 [45.2 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpthread-stubs0-dev amd64 0.3-4 [4,068 B]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 xorg-sgml-doctools all 1:1.11-1 [12.9 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 x11proto-core-dev all 7.0.31-1~ubuntu16.04.2 [254 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxau-dev amd64 1:1.0.8-1 [11.1 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxdmcp-dev amd64 1:1.1.2-1.1 [25.1 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-input-dev all 2.3.1-1 [118 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 x11proto-kb-dev all 1.0.7-0ubuntu1 [224 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 xtrans-dev all 1.3.5-1 [70.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb1-dev amd64 1.11.1-1ubuntu1 [74.2 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-dev amd64 2:1.6.3-1ubuntu2.2 [639 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-doc all 2:1.6.3-1ubuntu2.2 [1,471 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mercurial-common all 3.7.3-1ubuntu1.2 [1,833 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mercurial amd64 3.7.3-1ubuntu1.2 [47.8 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-base amd64 4.02.3-5ubuntu2 [44.2 kB]
Get:32 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml amd64 4.02.3-5ubuntu2 [31.8 kB]
Get:33 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-findlib amd64 1.5.5-2build1 [262 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial/universe amd64 ocaml-native-compilers amd64 4.02.3-5ubuntu2 [2,487 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial/universe amd64 opam-docs all 1.2.2-4 [310 kB]
Get:36 http://archive.ubuntu.com/ubuntu xenial/main amd64 unzip amd64 6.0-20ubuntu1 [158 kB]
Get:37 http://archive.ubuntu.com/ubuntu xenial/universe amd64 opam amd64 1.2.2-4 [1,447 kB]
Get:38 http://archive.ubuntu.com/ubuntu xenial/universe amd64 clasp amd64 3.1.4-1 [451 kB]
Get:39 http://archive.ubuntu.com/ubuntu xenial/universe amd64 aspcud amd64 1:1.9.1-2 [146 kB]
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: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 48.9 MB in 14s (3,391 kB/s)
Selecting previously unselected package ocaml-base-nox.
(Reading database ... 23606 files and directories currently installed.)
Preparing to unpack .../ocaml-base-nox_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml-base-nox (4.02.3-5ubuntu2) ...
Selecting previously unselected package libtinfo-dev:amd64.
Preparing to unpack .../libtinfo-dev_6.0+20160213-1ubuntu1_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_6.0+20160213-1ubuntu1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.0+20160213-1ubuntu1) ...
Selecting previously unselected package ocaml-compiler-libs.
Preparing to unpack .../ocaml-compiler-libs_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml-compiler-libs (4.02.3-5ubuntu2) ...
Selecting previously unselected package ocaml-interp.
Preparing to unpack .../ocaml-interp_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml-interp (4.02.3-5ubuntu2) ...
Selecting previously unselected package ocaml-nox.
Preparing to unpack .../ocaml-nox_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml-nox (4.02.3-5ubuntu2) ...
Selecting previously unselected package libcamlp4-ocaml-dev.
Preparing to unpack .../libcamlp4-ocaml-dev_4.02.1+3-2_amd64.deb ...
Unpacking libcamlp4-ocaml-dev (4.02.1+3-2) ...
Selecting previously unselected package camlp4.
Preparing to unpack .../camlp4_4.02.1+3-2_amd64.deb ...
Unpacking camlp4 (4.02.1+3-2) ...
Selecting previously unselected package darcs.
Preparing to unpack .../darcs_2.10.2-1_amd64.deb ...
Unpacking darcs (2.10.2-1) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../liblua5.2-0_5.2.4-1ubuntu1_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1ubuntu1) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.12-1ubuntu0~16.04.13_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.13) ...
Selecting previously unselected package gringo.
Preparing to unpack .../gringo_4.5.4-1_amd64.deb ...
Unpacking gringo (4.5.4-1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package ledit.
Preparing to unpack .../ledit_2.03-4build1_all.deb ...
Unpacking ledit (2.03-4build1) ...
Selecting previously unselected package libfindlib-ocaml.
Preparing to unpack .../libfindlib-ocaml_1.5.5-2build1_amd64.deb ...
Unpacking libfindlib-ocaml (1.5.5-2build1) ...
Selecting previously unselected package libfindlib-ocaml-dev.
Preparing to unpack .../libfindlib-ocaml-dev_1.5.5-2build1_amd64.deb ...
Unpacking libfindlib-ocaml-dev (1.5.5-2build1) ...
Selecting previously unselected package libjs-excanvas.
Preparing to unpack .../libjs-excanvas_0.r3-4_all.deb ...
Unpacking libjs-excanvas (0.r3-4) ...
Selecting previously unselected package libpthread-stubs0-dev:amd64.
Preparing to unpack .../libpthread-stubs0-dev_0.3-4_amd64.deb ...
Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../x11proto-core-dev_7.0.31-1~ubuntu16.04.2_all.deb ...
Unpacking x11proto-core-dev (7.0.31-1~ubuntu16.04.2) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../libxau-dev_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau-dev:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../libxdmcp-dev_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack .../x11proto-input-dev_2.3.1-1_all.deb ...
Unpacking x11proto-input-dev (2.3.1-1) ...
Selecting previously unselected package x11proto-kb-dev.
Preparing to unpack .../x11proto-kb-dev_1.0.7-0ubuntu1_all.deb ...
Unpacking x11proto-kb-dev (1.0.7-0ubuntu1) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../xtrans-dev_1.3.5-1_all.deb ...
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../libxcb1-dev_1.11.1-1ubuntu1_amd64.deb ...
Unpacking libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../libx11-dev_2%3a1.6.3-1ubuntu2.2_amd64.deb ...
Unpacking libx11-dev:amd64 (2:1.6.3-1ubuntu2.2) ...
Selecting previously unselected package libx11-doc.
Preparing to unpack .../libx11-doc_2%3a1.6.3-1ubuntu2.2_all.deb ...
Unpacking libx11-doc (2:1.6.3-1ubuntu2.2) ...
Selecting previously unselected package mercurial-common.
Preparing to unpack .../mercurial-common_3.7.3-1ubuntu1.2_all.deb ...
Unpacking mercurial-common (3.7.3-1ubuntu1.2) ...
Selecting previously unselected package mercurial.
Preparing to unpack .../mercurial_3.7.3-1ubuntu1.2_amd64.deb ...
Unpacking mercurial (3.7.3-1ubuntu1.2) ...
Selecting previously unselected package ocaml-base.
Preparing to unpack .../ocaml-base_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml-base (4.02.3-5ubuntu2) ...
Selecting previously unselected package ocaml.
Preparing to unpack .../ocaml_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml (4.02.3-5ubuntu2) ...
Selecting previously unselected package ocaml-findlib.
Preparing to unpack .../ocaml-findlib_1.5.5-2build1_amd64.deb ...
Unpacking ocaml-findlib (1.5.5-2build1) ...
Selecting previously unselected package ocaml-native-compilers.
Preparing to unpack .../ocaml-native-compilers_4.02.3-5ubuntu2_amd64.deb ...
Unpacking ocaml-native-compilers (4.02.3-5ubuntu2) ...
Selecting previously unselected package opam-docs.
Preparing to unpack .../opam-docs_1.2.2-4_all.deb ...
Unpacking opam-docs (1.2.2-4) ...
Selecting previously unselected package unzip.
Preparing to unpack .../unzip_6.0-20ubuntu1_amd64.deb ...
Unpacking unzip (6.0-20ubuntu1) ...
Selecting previously unselected package opam.
Preparing to unpack .../opam_1.2.2-4_amd64.deb ...
Unpacking opam (1.2.2-4) ...
Selecting previously unselected package clasp.
Preparing to unpack .../clasp_3.1.4-1_amd64.deb ...
Unpacking clasp (3.1.4-1) ...
Selecting previously unselected package aspcud.
Preparing to unpack .../aspcud_1%3a1.9.1-2_amd64.deb ...
Unpacking aspcud (1:1.9.1-2) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up ocaml-base-nox (4.02.3-5ubuntu2) ...
Setting up libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
Setting up libncurses5-dev:amd64 (6.0+20160213-1ubuntu1) ...
Setting up darcs (2.10.2-1) ...
Setting up liblua5.2-0:amd64 (5.2.4-1ubuntu1) ...
Setting up libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.13) ...
Setting up gringo (4.5.4-1) ...
Setting up javascript-common (11) ...
apache2_invoke: Enable configuration javascript-common
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of reload.
Setting up ledit (2.03-4build1) ...
update-alternatives: using /usr/bin/ledit to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up libfindlib-ocaml (1.5.5-2build1) ...
Setting up libjs-excanvas (0.r3-4) ...
Setting up libpthread-stubs0-dev:amd64 (0.3-4) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up x11proto-core-dev (7.0.31-1~ubuntu16.04.2) ...
Setting up libxau-dev:amd64 (1:1.0.8-1) ...
Setting up libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Setting up x11proto-input-dev (2.3.1-1) ...
Setting up x11proto-kb-dev (1.0.7-0ubuntu1) ...
Setting up xtrans-dev (1.3.5-1) ...
Setting up libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Setting up libx11-dev:amd64 (2:1.6.3-1ubuntu2.2) ...
Setting up libx11-doc (2:1.6.3-1ubuntu2.2) ...
Setting up mercurial-common (3.7.3-1ubuntu1.2) ...
Setting up mercurial (3.7.3-1ubuntu1.2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline

Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
Setting up ocaml-base (4.02.3-5ubuntu2) ...
Setting up ocaml-findlib (1.5.5-2build1) ...
Setting up opam-docs (1.2.2-4) ...
Setting up unzip (6.0-20ubuntu1) ...
Setting up opam (1.2.2-4) ...
Setting up clasp (3.1.4-1) ...
Setting up aspcud (1:1.9.1-2) ...
Setting up ocaml-compiler-libs (4.02.3-5ubuntu2) ...
Setting up ocaml-interp (4.02.3-5ubuntu2) ...
Setting up ocaml-nox (4.02.3-5ubuntu2) ...
Setting up libcamlp4-ocaml-dev (4.02.1+3-2) ...
Setting up camlp4 (4.02.1+3-2) ...
Setting up libfindlib-ocaml-dev (1.5.5-2build1) ...
Setting up ocaml (4.02.3-5ubuntu2) ...
Setting up ocaml-native-compilers (4.02.3-5ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
chown: invalid user: ‘liquidsoap:liquidsoap’
ERROR: Service 'libretime-core' failed to build: The command '/bin/sh -c apt-get remove liquidsoap -y &&     apt-get install ocaml ocaml-native-compilers camlp4-extra opam autotools-dev automake -y &&     mkdir /usr/local/opam &&     chown liquidsoap:liquidsoap /usr/local/opam /usr/share/liquidsoap/ &&     usermod -s /bin/bash liquidsoap &&     usermod -aG sudo liquidsoap &&     echo "liquidsoap ALL = NOPASSWD : ALL" >> /etc/sudoers &&     su - liquidsoap -c "OPAMYES=yes && opam init --root=/usr/local/opam --yes && opam init --yes && opam switch 4.06.0" &&     su - liquidsoap -c "eval `opam config env --root=/usr/local/opam`         export OPAMYES=yes && opam depext alsa cry fdkaac lame liquidsoap mad opus taglib vorbis --yes ;         export OPAMYES=yes && opam install alsa cry fdkaac lame liquidsoap mad opus taglib vorbis --yes" &&     echo "eval \`opam config env --root=/usr/local/opam\`" > /etc/profile.d/liquidsoap-opam.sh &&     ln -s /usr/local/opam/system/bin/liquidsoap /usr/bin/liquidsoap' returned a non-zero code: 1
joestan@stanleyserver-hassio:/opt/libretime$

Let me know if there's any additional information I can collect to help give context, or if I can run any additional diagnostics!

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

1 participant