Replies: 3 comments 10 replies
-
It's not AnduinOS's problem. AnduinOS 1.3 already upgraded to libicu76. However this software required libicu74. Please contact the vendor to not to hardcode the libicu version and use 76. |
Beta Was this translation helpful? Give feedback.
-
However, you can download the deb, extract the package, update it's control file to use libicu76, repackage it, and install it. #!/usr/bin/env bash
#
# install-dovecot-2.4.1.sh
#
# Download Dovecot 2.4.1 packages, override libicu74 → libicu76,
# allow libmariadb3 as an alternative for libmysqlclient21, and install.
set -euo pipefail
# List of Dovecot components to install
PACKAGES=(
dovecot-auth-lua dovecot-core dovecot-dev dovecot-imapd
dovecot-ldap dovecot-lmtpd dovecot-managesieved dovecot-mysql
dovecot-pgsql dovecot-pop3d dovecot-sieve dovecot-solr
dovecot-submissiond
)
echo ">> Creating working directory"
WORKDIR=$(mktemp -d)
trap 'rm -rf "$WORKDIR"' EXIT
cd "$WORKDIR"
echo ">> Updating apt cache"
sudo apt update
echo ">> Downloading Dovecot .deb files"
apt-get download "${PACKAGES[@]}"
echo ">> Patching control files:"
for DEB in ./*.deb; do
echo " - Processing $(basename "$DEB")"
PKGNAME=$(basename "$DEB" .deb)
PKGDIR="$WORKDIR/${PKGNAME}-orig"
mkdir -p "$PKGDIR"
# Unpack the .deb
dpkg-deb -R "$DEB" "$PKGDIR"
# 1. Replace libicu74 → libicu76 in Depends:
sed -i 's/\blibicu74\b/libicu76/g' \
"$PKGDIR/DEBIAN/control"
# 2. Allow MariaDB client as fallback for libmysqlclient21
# i.e. libmysqlclient21 (>= 8.0.11) → libmysqlclient21 (>= 8.0.11) | libmariadb3
sed -i '/^Depends:/s/libmysqlclient21 (>= [^,)]*)/libmysqlclient21 \0 | libmariadb3)/' \
"$PKGDIR/DEBIAN/control" || true
# Repack the modified .deb
MODDEB="modified-${PKGNAME}.deb"
dpkg-deb -b "$PKGDIR" "$MODDEB"
done
echo ">> Installing patched Dovecot packages"
# Use apt to resolve any remaining dependencies
sudo apt install -y ./*modified-*.deb
echo "✅ Dovecot 2.4.1 with libicu76 override is now installed."
This may work. Use with cautious! I didn't test the code. |
Beta Was this translation helpful? Give feedback.
-
@odhiambo say:
I found something that might be related to your problem.
However, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hola,
I got carried away and wanted to install Dovecot-2.4.1 to make it my IMAP server, but after adding the repos for Ubuntu noble, I get stuck at this message:
Anyway to go past this, or AnduinOS just doesn't support Dovecot-2.4?
TIA
Beta Was this translation helpful? Give feedback.
All reactions