pssc / ha-addon-lms

Logitech Media Server Addon for Home Assistant
GNU General Public License v3.0
56 stars 13 forks source link

Home Assistant Failed to install addon #1

Closed Blacksoul87 closed 3 years ago

Blacksoul87 commented 3 years ago

I like your add-on, but unfortunately after switching from 32bit to 64bit it can no longer be installed. It aborts with the following error message.

The command '/bin/bash -o pipefail -c echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb' returned a non-zero code: 8

Could you fix this?

pssc commented 3 years ago

Hi, will look into it which 64bit arch are you installing on just to be clear?

Thanks.

Phill.

On Tue, 5 Jan 2021 at 09:08, Blacksoul87 notifications@github.com wrote:

I like your add-on, but unfortunately after switching from 32bit to 64bit it can no longer be installed. It aborts with the following error message.

The command '/bin/bash -o pipefail -c echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb' returned a non-zero code: 8

Could you fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYIHGSCBMRCZXJJHEG3SYLJJFANCNFSM4VUU5ABQ .

-- I Can Resist Everything Except Temptation -- Oscar Wilde

pssc commented 3 years ago

the output of arch would be useful.

On Tue, 5 Jan 2021 at 19:17, Phillip Camp phillip.camp@gmail.com wrote:

Hi, will look into it which 64bit arch are you installing on just to be clear?

Thanks.

Phill.

On Tue, 5 Jan 2021 at 09:08, Blacksoul87 notifications@github.com wrote:

I like your add-on, but unfortunately after switching from 32bit to 64bit it can no longer be installed. It aborts with the following error message.

The command '/bin/bash -o pipefail -c echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb' returned a non-zero code: 8

Could you fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYIHGSCBMRCZXJJHEG3SYLJJFANCNFSM4VUU5ABQ .

-- I Can Resist Everything Except Temptation -- Oscar Wilde

-- I Can Resist Everything Except Temptation -- Oscar Wilde

Blacksoul87 commented 3 years ago

--> Running in e449acd0b3bd http://www.mysqueezebox.com/update/?version=7.9&revision=1&geturl=1&os=deb --2021-01-05 19:31:42-- http://downloads.slimdevices.com/LogitechMediaServer_v8.1.0/logitechmediaserver_8.1.0_aarch64.deb

Resolving downloads.slimdevices.com (downloads.slimdevices.com)... 65.9.7.8, 65.9.7.25, 65.9.7.82, ... Connecting to downloads.slimdevices.com (downloads.slimdevices.com)|65.9.7.8|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2021-01-05 19:31:42 ERROR 404: Not Found.

pssc commented 3 years ago

Not what I was expecting but think I have figured it out give the latest version a go a71d1f58aeec6d1503e2286eed3deec7403176fa version v0.0.39, and let me know.

Blacksoul87 commented 3 years ago

Unfortunately the error persists :(

########Installations Log###### The command '/bin/bash -o pipefail -c echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/' | sed 's/x86_64/amd64/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb' returned a non-zero code: 8

########Supervisor Log###### update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode

update-alternatives: warning: skip creation of /usr/share/man/da/man1/view.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/de/man1/view.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ja/man1/view.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode

update-alternatives: warning: skip creation of /usr/share/man/da/man1/ex.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/de/man1/ex.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/fr/man1/ex.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/it/man1/ex.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ja/man1/ex.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/pl/man1/ex.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ru/man1/ex.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/man1/ex.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode

update-alternatives: warning: skip creation of /usr/share/man/da/man1/editor.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/de/man1/editor.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/fr/man1/editor.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/it/man1/editor.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ja/man1/editor.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/pl/man1/editor.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ru/man1/editor.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group editor) doesn't exist

Processing triggers for libc-bin (2.28-10) ...

Processing triggers for mime-support (3.62) ...

Removing intermediate container a4ca5a10147d ---> 8d174324b4a7 Step 23/59 : RUN mkdir -p /sources/lms/packages ---> Running in 1f2ff75f0f93 Removing intermediate container 1f2ff75f0f93 ---> d634bb6d24bf Step 24/59 : RUN echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/' | sed 's/x86_64/amd64/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb ---> Running in a7363899e859 http://www.mysqueezebox.com/update/?version=7.9&revision=1&geturl=1&os=deb --2021-01-06 05:33:01-- http://downloads.slimdevices.com/LogitechMediaServer_v8.1.0/logitechmediaserver_8.1.0_aarch64.deb Resolving downloads.slimdevices.com (downloads.slimdevices.com)... 13.224.194.125, 13.224.194.58, 13.224.194.31, ... Connecting to downloads.slimdevices.com (downloads.slimdevices.com)|13.224.194.125|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2021-01-06 05:33:01 ERROR 404: Not Found.

Removing intermediate container a7363899e859

pssc commented 3 years ago

Hi ok,

So its an arm64 platform ok we can try, I fixed the amd64 builds, this may be a long haul as there is no native aarch64 build for lms that would be ideal, we can try using the 32bit package.

Thanks.

Phill.

On Wed, 6 Jan 2021 at 05:38, Blacksoul87 notifications@github.com wrote:

Unfortunately the error persists :(

The command '/bin/bash -o pipefail -c echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/' | sed 's/x86_64/amd64/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb' returned a non-zero code: 8

update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode

update-alternatives: warning: skip creation of /usr/share/man/da/man1/view.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/de/man1/view.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/fr/man1/view.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/it/man1/view.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ja/man1/view.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/pl/man1/view.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ru/man1/view.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/man1/view.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group view) doesn't exist

update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode

update-alternatives: warning: skip creation of /usr/share/man/da/man1/ex.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/de/man1/ex.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/fr/man1/ex.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/it/man1/ex.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ja/man1/ex.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/pl/man1/ex.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ru/man1/ex.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/man1/ex.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group ex) doesn't exist

update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode

update-alternatives: warning: skip creation of /usr/share/man/da/man1/editor.1.gz because associated file /usr/share/man/da/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/de/man1/editor.1.gz because associated file /usr/share/man/de/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/fr/man1/editor.1.gz because associated file /usr/share/man/fr/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/it/man1/editor.1.gz because associated file /usr/share/man/it/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ja/man1/editor.1.gz because associated file /usr/share/man/ja/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/pl/man1/editor.1.gz because associated file /usr/share/man/pl/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/ru/man1/editor.1.gz because associated file /usr/share/man/ru/man1/vim.1.gz (of link group editor) doesn't exist

update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/vim.1.gz (of link group editor) doesn't exist

Processing triggers for libc-bin (2.28-10) ...

Processing triggers for mime-support (3.62) ...

Removing intermediate container a4ca5a10147d ---> 8d174324b4a7 Step 23/59 : RUN mkdir -p /sources/lms/packages ---> Running in 1f2ff75f0f93 Removing intermediate container 1f2ff75f0f93 ---> d634bb6d24bf Step 24/59 : RUN echo "${url}" && latest_lms=$(wget -q -O - "${url}" | sed 's/all.deb/'$(arch | sed 's/arm./arm/' | sed 's/x86_64/amd64/')'.deb/') && cd /sources && wget $latest_lms && lms_deb=${latest_lms##/} && dpkg -i $lms_deb ---> Running in a7363899e859 http://www.mysqueezebox.com/update/?version=7.9&revision=1&geturl=1&os=deb --2021-01-06 05:33:01-- http://downloads.slimdevices.com/LogitechMediaServer_v8.1.0/logitechmediaserver_8.1.0_aarch64.deb Resolving downloads.slimdevices.com (downloads.slimdevices.com)... 13.224.194.125, 13.224.194.58, 13.224.194.31, ... Connecting to downloads.slimdevices.com (downloads.slimdevices.com )|13.224.194.125|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2021-01-06 05:33:01 ERROR 404: Not Found.

Removing intermediate container a7363899e859

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/1#issuecomment-755091795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYM75CGLTHRNMM2IQKDSYPZN5ANCNFSM4VUU5ABQ .

-- I Can Resist Everything Except Temptation -- Oscar Wilde

pssc commented 3 years ago

I am testing a source build of the CPAN modules that should work for your architecture

pssc commented 3 years ago

@Blacksoul87 please try v0.41

pssc commented 3 years ago

No comms so will close