YunoHost-Apps / lychee_ynh

Lychee package for YunoHost
https://lycheeorg.github.io/
GNU General Public License v3.0
10 stars 3 forks source link

Unable to install dependencies #41

Closed michael-patzer closed 1 year ago

michael-patzer commented 2 years ago

Describe the bug

Installation of lychee fails. My Yunohost is a fresh install with Nextcloud, Jellyfin, and Vaultwarden installed first.

Relevant warnings:

WARNING - E: Packages need to be removed but remove is disabled.
....
WARNING - Package php8.0-json is a virtual package provided by:
WARNING -   php8.0-phpdbg 8.0.17-1+0~20220320.31+debian10~1.gbp34e045
WARNING -   php8.0-fpm 8.0.17-1+0~20220320.31+debian10~1.gbp34e045
WARNING -   php8.0-cli 8.0.17-1+0~20220320.31+debian10~1.gbp34e045
WARNING -   php8.0-cgi 8.0.17-1+0~20220320.31+debian10~1.gbp34e045
WARNING -   libphp8.0-embed 8.0.17-1+0~20220320.31+debian10~1.gbp34e045
WARNING -   libapache2-mod-php8.0 8.0.17-1+0~20220320.31+debian10~1.gbp34e045
WARNING - E: Package 'php8.0-json' has no installation candidate
DEBUG - + ynh_die '--message=Unable to install dependencies'
WARNING - Unable to install dependencies
DEBUG - + ynh_exit_properly
ERROR - Unable to install lychee: An error occurred inside the app installation script

Context

Steps to reproduce

Logs

https://paste.yunohost.org/raw/kikijizoyu

michael-patzer commented 2 years ago

These are the two packages the install script is trying to remove, but the warning says remove is disabled. I'm not sure why these need to be removed.

2022-04-05 14:05:40,343: DEBUG - The following packages will be REMOVED:
2022-04-05 14:05:40,344: DEBUG -   nextcloud-ynh-deps php-imagick
yajo commented 2 years ago

I tried today in https://demo.yunohost.org and got the same problem: https://paste.yunohost.org/raw/tidegeqego

brunovianna commented 2 years ago

I also had the same problem today in my rasp 4. https://paste.yunohost.org/raw/qexihaziya

ericgaspar commented 2 years ago

a quick fix as been push to master. To be tested...

tituspijean commented 1 year ago

Closing, no news is good news.