Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14225

After apt upgrade from 10.2.8 to 10.2.9 some lib symlinks are lost

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Won't Fix
    • 10.2.9
    • N/A
    • Packaging, Platform Debian
    • None
    • debian jessie, probably all .deb distributions

    Description

      When upgrading from MariaDB 10.2.8 to 10.2.9 on Debian the symlinks from libmysqlclient.so.18 and libmariadbclient.so.18 to libmariadb.so.3 are lost.

      How to reproduce:

      • install MariaDB 10.2.8 client library packages (libmariadb, libmariadbclient18, libmysqlclient18), directly from .deb files with "dpkg -i"
      • verify that symlinks are there:

      $ ls -l /usr/lib/x86_64-linux-gnu/ | grep libmariadb.so
       
      lrwxrwxrwx 1 root root       15 Aug 17 12:37 libmariadbclient.so.18 -> libmariadb.so.3
      -rw-r--r-- 1 root root   348576  Aug 17 12:37 libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Aug 17 12:37 libmysqlclient.so.18 -> libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Aug 17 12:37 libmysqlclient.so.19 -> libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Aug 17 12:37 libmysqlclient.so.20 -> libmariadb.so.3
      

      Now set up the debian repository and "apt upgrade" to upgrade to 10.2.9.

      $ apt upgrade
      [...]
      The following packages will be upgraded:
        libmariadb3 libmariadbclient18 libmysqlclient18 mariadb-common mysql-common 
      [...]
      

      Symlinks for version 18 are gone now:

      $ ls -l /usr/lib/x86_64-linux-gnu/ | grep libmariadb.so
       
      -rw-r--r-- 1 root root   348576 Sep 25 08:20 libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Sep 25 08:20 libmysqlclient.so.19 -> libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Sep 25 08:20 libmysqlclient.so.20 -> libmariadb.so.3
      

      Uninstall libmysqlclient18 and libmariadbclient18 packages and then install them again to get the symlinks back again:

      $ ls -l /usr/lib/x86_64-linux-gnu/ | grep libmariadb.so
       
      lrwxrwxrwx 1 root root       15 Sep 25 08:20 libmariadbclient.so.18 -> libmariadb.so.3
      -rw-r--r-- 1 root root   348576 Sep 25 08:20 libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Sep 25 08:20 libmysqlclient.so.18 -> libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Sep 25 08:20 libmysqlclient.so.19 -> libmariadb.so.3
      lrwxrwxrwx 1 root root       15 Sep 25 08:20 libmysqlclient.so.20 -> libmariadb.so.3
      

      This is probably related to the changes introduced my MDEV-13589

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              hholzgra Hartmut Holzgraefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.