Installing Nextcloud fails

Hi all, I’m trying to install Nextcloud, but the installer fails, as I understand, saying that dependencies will not be met, mostly mentioning php.
Here is the full log: https://paste.yunohost.org/raw/uhulaxogah

My YunoHost server

Hardware: Old laptop or computer
YunoHost version: 11.2.5
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: app 27.1.2~ynh1

Yeah, there looks like a couple of different sections where it’s running into dependency issues:

2023-10-11 12:35:49,072: WARNING - The following packages have unmet dependencies:
2023-10-11 12:35:49,072: WARNING -  php8.2-imap : Depends: libc-client2007e but it is not going to be installed
2023-10-11 12:35:49,072: WARNING -  php8.2-redis : Breaks: php-redis (< 6.0.1-1+0~20231006.53+debian11~1.gbpe91da2~)
2023-10-11 12:35:49,073: WARNING -  smbclient : Depends: samba-common (= 2:4.13.13+dfsg-1~deb11u5) but it is not going to be installed

…and:

2023-10-11 12:35:47,972: DEBUG -  nextcloud-ynh-deps depends on smbclient; however:
2023-10-11 12:35:47,972: DEBUG -   Package smbclient is not installed.
2023-10-11 12:35:47,972: DEBUG -  nextcloud-ynh-deps depends on php8.2-bz2; however:
2023-10-11 12:35:47,972: DEBUG -   Package php8.2-bz2 is not installed.
2023-10-11 12:35:47,972: DEBUG -  nextcloud-ynh-deps depends on php8.2-imap; however:
2023-10-11 12:35:47,973: DEBUG -   Package php8.2-imap is not installed.
2023-10-11 12:35:47,973: DEBUG -  nextcloud-ynh-deps depends on php8.2-apcu; however:
2023-10-11 12:35:47,973: DEBUG -   Package php8.2-apcu is not installed.
2023-10-11 12:35:47,973: DEBUG -  nextcloud-ynh-deps depends on php8.2-redis; however:
2023-10-11 12:35:47,973: DEBUG -   Package php8.2-redis is not installed.
2023-10-11 12:35:47,973: DEBUG -  nextcloud-ynh-deps depends on php8.2-imagick; however:
2023-10-11 12:35:47,973: DEBUG -   Package php8.2-imagick is not installed.
2023-10-11 12:35:47,973: DEBUG -  nextcloud-ynh-deps depends on php8.2-igbinary; however:
2023-10-11 12:35:47,974: DEBUG -   Package php8.2-igbinary is not installed.

Do you get errors when you try:
sudo apt install nextcloud-ynh-deps
?

Thanks for taking a look.
Not sure if I’m doing it right…
231013-094201

Just keeping the topic alive… Maybe someone has tips what to do?

php8.2-redis : Breaks: php-redis (< 6.0.1-1+0~20231006.53+debian11~1.gbpe91da2~)

classic sury dependency hell

Let’s try to:

sudo apt remove php-redis --dry-run

to simulate if it’s okay, then if everything looks fine :

sudo apt remove php-redis

or maybe alternatively if apt aint super happy removing it, let’s swap it for php8.2-redis :

sudo apt install php-redis- php8.2-redis

(note the “minus” sign afer php-redis meaning it’s meant to be removed even though we’re using “install”)

2 Likes

Thank you!
Your first advice fixed it.
Pasting what I refer to for clarity:

sudo apt remove php-redis --dry-run

to simulate if it’s okay, then if everything looks fine :

sudo apt remove php-redis
1 Like

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