I am trying to install Pixelfed under a new subdomain, as the upgrade did not work ( Pixelfed from 0.11.4~ynh2 to 0.11.8~ynh5
No I am trying to install a new instance under a different sub-domain, but it fails as well:
2023-07-09 19:09:34,833: WARNING - The following packages have unmet dependencies:
2023-07-09 19:09:34,833: WARNING - php8.2-cli : Depends: php8.2-opcache but it is not going to be installed
2023-07-09 19:09:34,834: WARNING - Depends: php8.2-readline but it is not going to be installed
2023-07-09 19:09:34,834: WARNING - php8.2-fpm : Depends: php8.2-opcache but it is not going to be installed
2023-07-09 19:09:34,835: WARNING - php8.2-imagick : Breaks: php-imagick (< 3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27~)
2023-07-09 19:09:34,835: WARNING - php8.2-redis : Depends: php8.2-igbinary but it is not going to be installed
2023-07-09 19:09:34,835: WARNING - Breaks: php-redis (< 5.3.7++-1+0~20230619.51+debian11~1.gbp4ff337~)
2023-07-09 19:09:34,836: WARNING - pngquant : Depends: libimagequant0 (>= 2.11.10) but it is not going to be installed
2023-07-09 19:09:34,836: DEBUG - + ynh_die '--message=Unable to install dependencies'
2023-07-09 19:09:34,853: WARNING - Unable to install dependencies
2023-07-09 19:09:34,854: DEBUG - + ynh_exit_properly
2023-07-09 19:09:34,854: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2023-07-09 19:09:36,357: ERROR - provision_or_update failed for apt : An error occured inside the script snippet
I did do sudo apt install nextcloud-ynh-deps php8.2-imagick php-imagick-
Here is the log:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nextcloud-ynh-deps is already the newest version (22.2.10~ynh1).
The following additional packages will be installed:
php7.4-imagick php8.2-cli php8.2-common php8.2-opcache php8.2-phpdbg
php8.2-readline
The following packages will be REMOVED:
php-imagick
The following NEW packages will be installed:
php7.4-imagick php8.2-cli php8.2-common php8.2-imagick php8.2-opcache
php8.2-phpdbg php8.2-readline
0 upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
Need to get 4,658 kB of archives.
After this operation, 21.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://packages.sury.org/php bullseye/main amd64 php7.4-imagick amd64 3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27 [103 kB]
Get:2 https://packages.sury.org/php bullseye/main amd64 php8.2-common amd64 8.2.7-1+0~20230609.23+debian11~1.gbp21561a [668 kB]
Get:3 https://packages.sury.org/php bullseye/main amd64 php8.2-opcache amd64 8.2.7-1+0~20230609.23+debian11~1.gbp21561a [339 kB]
Get:4 https://packages.sury.org/php bullseye/main amd64 php8.2-readline amd64 8.2.7-1+0~20230609.23+debian11~1.gbp21561a [12.5 kB]
Get:5 https://packages.sury.org/php bullseye/main amd64 php8.2-cli amd64 8.2.7-1+0~20230609.23+debian11~1.gbp21561a [1,708 kB]
Get:6 https://packages.sury.org/php bullseye/main amd64 php8.2-phpdbg amd64 8.2.7-1+0~20230609.23+debian11~1.gbp21561a [1,724 kB]
Get:7 https://packages.sury.org/php bullseye/main amd64 php8.2-imagick amd64 3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27 [103 kB]
Fetched 4,658 kB in 0s (11.0 MB/s)
dpkg: php-imagick: dependency problems, but removing anyway as you requested:
nextcloud-ynh-deps depends on php7.4-imagick; however:
Package php7.4-imagick is not installed.
Package php-imagick which provides php7.4-imagick is to be removed.
(Reading database ... 76682 files and directories currently installed.)
Removing php-imagick (3.4.4+php8.0+3.4.4-2+deb11u2) ...
Selecting previously unselected package php7.4-imagick.
(Reading database ... 76677 files and directories currently installed.)
Preparing to unpack .../0-php7.4-imagick_3.7.0-4+0~20230701.41+debian11~1.gbpbf7
e27_amd64.deb ...
Unpacking php7.4-imagick (3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27) ...
Selecting previously unselected package php8.2-common.
Preparing to unpack .../1-php8.2-common_8.2.7-1+0~20230609.23+debian11~1.gbp2156
1a_amd64.deb ...
Unpacking php8.2-common (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Selecting previously unselected package php8.2-opcache.
Preparing to unpack .../2-php8.2-opcache_8.2.7-1+0~20230609.23+debian11~1.gbp215
61a_amd64.deb ...
Unpacking php8.2-opcache (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Selecting previously unselected package php8.2-readline.
Preparing to unpack .../3-php8.2-readline_8.2.7-1+0~20230609.23+debian11~1.gbp21
561a_amd64.deb ...
Unpacking php8.2-readline (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Selecting previously unselected package php8.2-cli.
Preparing to unpack .../4-php8.2-cli_8.2.7-1+0~20230609.23+debian11~1.gbp21561a_
amd64.deb ...
Unpacking php8.2-cli (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Selecting previously unselected package php8.2-phpdbg.
Preparing to unpack .../5-php8.2-phpdbg_8.2.7-1+0~20230609.23+debian11~1.gbp2156
1a_amd64.deb ...
Unpacking php8.2-phpdbg (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Selecting previously unselected package php8.2-imagick.
Preparing to unpack .../6-php8.2-imagick_3.7.0-4+0~20230701.41+debian11~1.gbpbf7
e27_amd64.deb ...
Unpacking php8.2-imagick (3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27) ...
Setting up php8.2-common (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Creating config file /etc/php/8.2/mods-available/calendar.ini with new version
Creating config file /etc/php/8.2/mods-available/ctype.ini with new version
Creating config file /etc/php/8.2/mods-available/exif.ini with new version
Creating config file /etc/php/8.2/mods-available/fileinfo.ini with new version
Creating config file /etc/php/8.2/mods-available/ffi.ini with new version
Creating config file /etc/php/8.2/mods-available/ftp.ini with new version
Creating config file /etc/php/8.2/mods-available/gettext.ini with new version
Creating config file /etc/php/8.2/mods-available/iconv.ini with new version
Creating config file /etc/php/8.2/mods-available/pdo.ini with new version
Creating config file /etc/php/8.2/mods-available/phar.ini with new version
Creating config file /etc/php/8.2/mods-available/posix.ini with new version
Creating config file /etc/php/8.2/mods-available/shmop.ini with new version
Creating config file /etc/php/8.2/mods-available/sockets.ini with new version
Creating config file /etc/php/8.2/mods-available/sysvmsg.ini with new version
Creating config file /etc/php/8.2/mods-available/sysvsem.ini with new version
Creating config file /etc/php/8.2/mods-available/sysvshm.ini with new version
Creating config file /etc/php/8.2/mods-available/tokenizer.ini with new version
Setting up php7.4-imagick (3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27) ...
Setting up php8.2-opcache (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Creating config file /etc/php/8.2/mods-available/opcache.ini with new version
Setting up php8.2-readline (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
Creating config file /etc/php/8.2/mods-available/readline.ini with new version
Setting up php8.2-cli (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
update-alternatives: using /usr/bin/phar8.2 to provide /usr/bin/phar (phar) in a
uto mode
update-alternatives: using /usr/bin/phar.phar8.2 to provide /usr/bin/phar.phar (
phar.phar) in auto mode
Creating config file /etc/php/8.2/cli/php.ini with new version
Setting up php8.2-phpdbg (8.2.7-1+0~20230609.23+debian11~1.gbp21561a) ...
update-alternatives: using /usr/bin/phpdbg8.2 to provide /usr/bin/phpdbg (phpdbg
) in auto mode
Creating config file /etc/php/8.2/phpdbg/php.ini with new version
Setting up php8.2-imagick (3.7.0-4+0~20230701.41+debian11~1.gbpbf7e27) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for php7.4-fpm (1:7.4.33-6+0~20230609.83+debian11~1.gbp32abe
f) ...
Processing triggers for php7.4-cli (1:7.4.33-6+0~20230609.83+debian11~1.gbp32abe
f) ...
Processing triggers for php8.2-cli (8.2.7-1+0~20230609.23+debian11~1.gbp21561a)
...
Processing triggers for php8.2-phpdbg (8.2.7-1+0~20230609.23+debian11~1.gbp21561
a) ...
Hmpf sounds like there’s a similar story for php-redis …
Let’s look at sudo apt install nextcloud-ynh-deps php8.2-redis php-redis --dry-run, and if apt seems happy and doesnt plan to remove a whole bunch of unrelated stuff, run the same command without --dry-run
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
php-redis is already the newest version (5.3.2+4.3.0-2+deb11u1).
php-redis set to manually installed.
nextcloud-ynh-deps is already the newest version (22.2.10~ynh1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php8.2-redis : Breaks: php-redis (< 5.3.7++-1+0~20230619.51+debian11~1.gbp4ff337~)
E: Unable to correct problems, you have held broken packages.
I will now be a couple days off, therefore may not reply quickly. But I certainly want to fix the problem