[Invidious] Installation Fail

Hello everyone, thank you for the great work on Yunohost! I have been using my setup for over a year and it has been great. I recently wanted to install Invidious but I keep facing the below error. Any idea of what’s blocking?

My YunoHost server

Hardware: Intel x86 (Virtual Machine)
YunoHost version: 4.1.4.4
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

When trying to install Invidious, the installer stop when installing some dependencies. I’m not sure what cause the error, is it conflicting with my other applications?

2021-01-13 22:23:28,071: WARNING - E: Packages need to be removed but remove is disabled.
2021-01-13 22:23:28,072: DEBUG -   invidious-ynh-deps
2021-01-13 22:23:28,073: DEBUG - The following NEW packages will be installed:
2021-01-13 22:23:28,073: DEBUG -   dbus-user-session shared-mime-info
2021-01-13 22:23:28,073: DEBUG - 0 upgraded, 2 newly installed, 1 to remove and 8 not upgraded.
2021-01-13 22:23:28,074: DEBUG - ++ cat /tmp/tmp.BiNTSEJHhR/dpkg_log
2021-01-13 22:23:28,074: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2021-01-13 22:23:28,074: DEBUG - ++ tr '\n' ' '
2021-01-13 22:23:28,075: DEBUG - + local 'problematic_dependencies=libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev '
2021-01-13 22:23:28,075: DEBUG - + [[ -n libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev  ]]
2021-01-13 22:23:28,076: DEBUG - + ynh_package_install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev --dry-run
2021-01-13 22:23:28,076: DEBUG - + sed --quiet '/Reading state info/,$p'
2021-01-13 22:23:28,076: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev --dry-run
2021-01-13 22:23:28,077: DEBUG - + ynh_wait_dpkg_free
2021-01-13 22:23:28,078: DEBUG - + grep -v 'fix-broken\|Reading state info'
2021-01-13 22:23:28,279: DEBUG - + return 0
2021-01-13 22:23:28,279: DEBUG - + LC_ALL=C
2021-01-13 22:23:28,280: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-01-13 22:23:28,280: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev --dry-run
2021-01-13 22:23:29,284: DEBUG - + ynh_die '--message=Unable to install dependencies'
2021-01-13 22:23:29,284: WARNING - The following packages have unmet dependencies:
2021-01-13 22:23:29,286: WARNING -  libgmp-dev : Depends: libgmpxx4ldbl (= 2:6.1.2+dfsg-4) but it is not going to be installed
2021-01-13 22:23:29,288: WARNING -  libreadline-dev : Depends: libncurses-dev but it is not going to be installed
2021-01-13 22:23:29,289: WARNING -  librsvg2-bin : Depends: librsvg2-2 (>= 2.44.10-2.1) but it is not going to be installed
2021-01-13 22:23:29,291: WARNING -                 Depends: libcairo2 (>= 1.15.10) but it is not going to be installed
2021-01-13 22:23:29,292: WARNING -                 Depends: libgtk-3-0 (>= 3.2.0) but it is not going to be installed
2021-01-13 22:23:29,294: WARNING -  libssl-dev : Depends: libssl1.1 (= 1.1.1d-0+deb10u4) but 1.1.1i-1+0~20201212.21+debian10~1.gbpc1ad96 is to be installed
2021-01-13 22:23:29,295: WARNING -  libxml2-dev : Depends: libicu-dev but it is not going to be installed
2021-01-13 22:23:29,296: DEBUG - + ret_code=1
2021-01-13 22:23:29,297: WARNING -  postgresql : Depends: postgresql-11 but it is not going to be installed
2021-01-13 22:23:29,297: DEBUG - + echo 'Unable to install dependencies'
2021-01-13 22:23:29,298: WARNING - Unable to install dependencies

Merci

In the log the to-be-installed packages are listed:

In case you install those by hand (via apt), do you get the same error?

Thank you, I get the following error when trying to install the packages manually:

The following packages have unmet dependencies:
 libssl-dev : Depends: libssl1.1 (= 1.1.1d-0+deb10u4) but 1.1.1i-1+0~20201212.21+debian10~1.gbpc1ad96 is to be installed
E: Unable to correct problems, you have held broken packages.

You could try running apt --fix-broken install

Do you have some experience using Apt?

Thank you, limited experience dealing with broken packages.

I solved it by running:
apt install --allow-downgrades libssl1.1=1.1.1d-0+deb10u4

1 Like

Great, thanks for the update!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.