1 (edited by barasmith 2026-11-11 15:37:44)

Topic: upgrade EE to 1.8.6 fails on roundcube

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.8.6
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Update runs for a while then terminates with this:

TASK [roundcube] Install dependent packages.
failed: php-mysql php-pgsql php-net-ldap3 php-json php-gd php-mcrypt php-curl mcrypt php-intl php-xml php-mbstring php-zip mariadb-client aspell php-pspell
[ERROR] task error: exit status 100, E: Unable to correct problems, you have held broken packages.
[ERROR] task:
name: Install dependent packages.
notify: restart php-fpm
package:
name: '{{ pkgs_roundcube }}'
state: '{{ package_state }}'
when: not ansible_is_container
task error: exit status 100, E: Unable to correct problems, you have held broken packages.

It appears the problem is the php-pspell package.

The following packages have unmet dependencies:
php-common : Breaks: php-pspell (< 3:1.0.1-3~)
E: Unable to correct problems, you have held broken packages.

I have tried different versions of php to try and resolve the issue but they all fail the same way, php8.2.35, php8.3.36, php8.4.27. 

I have also changed the roundcube custom config to use "enchant" rather than "pspell".  But the upgrade script still tries to update php-pspell.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: upgrade EE to 1.8.6 fails on roundcube

- Which Ubuntu release are you running?
- EE uses the default php version provided by Ubuntu official apt repositories, did you enable any third-party apt / ppa repo?
- What's the full console output if you run command below to install packages:

apt install php-mysql php-pgsql php-net-ldap3 php-json php-gd php-mcrypt php-curl mcrypt php-intl php-xml php-mbstring php-zip mariadb-client aspell php-pspell

3

Re: upgrade EE to 1.8.6 fails on roundcube

No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 24.04.5 LTS
Release:    24.04
Codename:    noble

I am using the ppa repo. I upgraded to that to get around those vulnerabilities a couple weeks ago.

# apt install php-mysql php-pgsql php-net-ldap3 php-json php-gd php-mcrypt php-curl mcrypt php-intl php-xml php-mbstring php-zip mariadb-client aspell php-pspell
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
php-mcrypt is already the newest version (3:1.0.9-2+ubuntu24.04.1+deb.sury.org+1).
mcrypt is already the newest version (2.6.8-7).
mariadb-client is already the newest version (1:10.11.14-0ubuntu0.24.04.1).
aspell is already the newest version (0.60.8.1-1build1).
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:
php-common : Breaks: php-pspell (< 3:1.0.1-3~)
E: Unable to correct problems, you have held broken packages.


PHP 8.2.35 (cli) (built: Oct 21 2026 14:30:30) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.35, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.35, Copyright (c), by Zend Technologies