YunoHost-Apps / nextcloud_ynh

Nextcloud package for YunoHost
https://nextcloud.com/
GNU Affero General Public License v3.0
147 stars 63 forks source link

Install fails: unable to meet dependencies #594

Closed cloo closed 3 months ago

cloo commented 1 year ago

Describe the bug

Installation process fails when trying to install 27.0.1~ynh1.

Context

Logs

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

Critical lines:

2023-08-06 11:05:57,791: WARNING - The following packages have unmet dependencies:
2023-08-06 11:05:57,791: WARNING -  php8.1-fpm : Depends: php8.1-cli but it is not going to be installed
2023-08-06 11:05:57,792: WARNING -               Depends: php8.1-opcache but it is not going to be installed
2023-08-06 11:05:57,792: WARNING -  php8.1-imap : Depends: libc-client2007e but it is not going to be installed
2023-08-06 11:05:57,792: WARNING -  php8.1-redis : Breaks: php-redis (< 5.3.7++-1+0~20230619.51+debian11~1.gbp4ff337~)
2023-08-06 11:05:57,792: WARNING -  smbclient : Depends: samba-common (= 2:4.13.13+dfsg-1~deb11u5) but it is not going to be installed
2023-08-06 11:05:57,793: DEBUG - + ynh_die '--message=Unable to install dependencies'
cloo commented 1 year ago

Problem persists with 27.0.2~ynh1

alexAubin commented 3 months ago

php8.1-redis : Breaks: php-redis (< 5.3.7++-1+0~20230619.51+debian11~1.gbp4ff337~)

For some reason, you have php-redis installed (instead of phpX.Y-redis).

Try to apt remove php-redis --dry-run, and if it doesnt look like it's going to uninstall critical stuff, apt remove php-redis