# Libdbd-mysql-perl 1:5.013-1.noble breaks DBD::mysql after apt upgrade on Ubuntu 24.04

**URL:** <https://forums.percona.com/t/libdbd-mysql-perl-1-5-013-1-noble-breaks-dbd-mysql-after-apt-upgrade-on-ubuntu-24-04/40080>\
**Category:** Percona Server for MySQL 5.7\
**Tags:** mysql, percona, bugs\
**Created:** [January 21, 2026, 8:39am UTC](https://forums.percona.com/t/libdbd-mysql-perl-1-5-013-1-noble-breaks-dbd-mysql-after-apt-upgrade-on-ubuntu-24-04/40080 "2026-01-21T08:39:23Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![anderson.nogueira](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anderson.nogueira/32/23141_2.png) [@anderson.nogueira](https://forums.percona.com/u/anderson.nogueira)\
**Post date:** [February 19, 2026, 11:23pm UTC](https://forums.percona.com/t/libdbd-mysql-perl-1-5-013-1-noble-breaks-dbd-mysql-after-apt-upgrade-on-ubuntu-24-04/40080/7 "2026-02-19T23:23:29Z")

</div>

Hi @Milan,

Glad switching to pdps-8.0 fixed it. As @Vadim_Yalovets mentioned, the tools repository is deprecated. Migrating to product-specific repos like pdps-8.0 is the recommended path forward.

For context, here’s the root cause. The tools repo `libdbd-mysql-perl 1:5.013-1.noble` ships a `mysql.so` that isn’t linked against `libmysqlclient` at all. As the library is never loaded, every `mysql_*` symbol is missing at runtime:

```auto
# Tools repo (broken, no libmysqlclient linkage)
$ nm -D mysql.so | grep sqlstate
                 U mysql_sqlstate

# Ubuntu (working, properly linked)
$ nm -D mysql.so | grep sqlstate
                 U mysql_sqlstate@libmysqlclient_21.0

```

The tools repo package uses **epoch `1:`** , so `apt upgrade` silently replaces the working distro version with the broken one. The same issue affects Debian. See [#40009](https://forums.percona.com/t/percona-toolkit-pt-show-grants-3-7-1-broken-on-debian-13/40009) for details.

**Recommended fix:** migrate to the product-specific repository as Vadim described. The `pdps-8.0` repo ships a properly built package.

As a last resort, you can pin the distro version temporarily. This is not recommended long term since the tools repo will not receive further updates:

```auto
apt-get install --allow-downgrades libdbd-mysql-perl=4.052-1ubuntu3
apt-mark hold libdbd-mysql-perl

```

---

_[View the full topic](https://forums.percona.com/t/libdbd-mysql-perl-1-5-013-1-noble-breaks-dbd-mysql-after-apt-upgrade-on-ubuntu-24-04/40080)._
