Overview
When installing Access Server on a Raspberry Pi running Ubuntu 24, the installation may fail with the following error:
The following packages have unmet dependencies: openvpn-as : Depends: libmariadb3 (>= 1:10.11.14-0ubuntu0.24.04.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
In Access Server 3.0.0, the MySQL client library was replaced with the MariaDB client library due to licensing changes. This error occurs when the package manager can’t locate the required MariaDB client version in the configured repositories.
Step 1: Verify the configured repositories
The required MariaDB client version is available in the noble-updates suite for Ubuntu 24. If this suite isn’t included in your repository configuration, the system can’t locate the required package version.
To check your repository configuration, connect to the Raspberry Pi console, obtain root privileges, and run:
cat /etc/apt/sources.list.d/ubuntu.sources
Example output (snippet):
## See the sources.list(5) manual page for further settings. Types: deb URIs: http://ports.ubuntu.com/ubuntu-ports/ Suites: noble Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
In this example, the noble-updates suite isn’t listed under Suites.
Step 2: Add the required suite
If noble-updates isn’t listed, update the repository configuration:
Connect to the Rasbperry Pi console and get root privileges.
-
Use the following command to open the file for editing:
nano /etc/apt/sources.list.d/ubuntu.sources
-
Update the Suites line:
Suites: noble noble-updates
Press CTRL + X, and then Y to save the changes.
Run
apt update.
After updating the repositories, run the installation script again. The error should no longer appear.
If you continue to experience issues, submit a support ticket.
Comments
0 comments
Please sign in to leave a comment.