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

Mariabackup is lacking some dependencies declaration

    XMLWordPrintable

    Details

      Description

      Hi

      The Debian Stretch version of mariabackup seems to be lacking some required dependencies, it wouldn't run without libaio1, libjemalloc1 and libssl1.0.2.

      Relevant log:

      docker run --rm -t -i debian:stretch bash
      root@ca1174c03923:/# apt-get update
      Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
      Ign:2 http://deb.debian.org/debian stretch InRelease                                        
      Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]                      
      Get:4 http://deb.debian.org/debian stretch Release [118 kB]      
      Get:5 http://deb.debian.org/debian stretch Release.gpg [2434 B]
      Get:6 http://security.debian.org stretch/updates/main amd64 Packages [463 kB]
      Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [12.1 kB]
      Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [9530 kB]
      Fetched 10.3 MB in 5s (2019 kB/s)   
      Reading package lists... Done
      root@ca1174c03923:/# apt-get install --no-install-recommends -y gpg dirmngr
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Note, selecting 'gnupg' instead of 'gpg'
      The following additional packages will be installed:
        gnupg-agent libassuan0 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 libksba8 libldap-2.4-2 libldap-common libnettle6 libnpth0 libp11-kit0
        libreadline7 libsasl2-2 libsasl2-modules-db libsqlite3-0 libtasn1-6 pinentry-curses readline-common
      Suggested packages:
        dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage scdaemon gnutls-bin pinentry-doc readline-doc
      Recommended packages:
        gnupg-l10n libsasl2-modules
      The following NEW packages will be installed:
        dirmngr gnupg gnupg-agent libassuan0 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 libksba8 libldap-2.4-2 libldap-common libnettle6 libnpth0
        libp11-kit0 libreadline7 libsasl2-2 libsasl2-modules-db libsqlite3-0 libtasn1-6 pinentry-curses readline-common
      0 upgraded, 22 newly installed, 0 to remove and 4 not upgraded.
      Need to get 5524 kB of archives.
      [...]
      root@ca1174c03923:/# apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
      Executing: /tmp/apt-key-gpghome.fosyWyEaMi/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
      gpg: key F1656F24C74CD1D8: public key "MariaDB Signing Key <signing-key@mariadb.org>" imported
      gpg: Total number processed: 1
      gpg:               imported: 1
      root@ca1174c03923:/# echo "deb [arch=amd64,i386,ppc64el] http://ftp.ddg.lth.se/mariadb/repo/10.1/debian stretch main" > /etc/apt/sources.list.d/mariadb.list
      root@ca1174c03923:/# apt-get update
      Get:1 http://ftp.ddg.lth.se/mariadb/repo/10.1/debian stretch InRelease [3875 B]
      Ign:2 http://deb.debian.org/debian stretch InRelease                                                                                                 
      Hit:3 http://security.debian.org stretch/updates InRelease              
      Hit:4 http://deb.debian.org/debian stretch-updates InRelease
      Hit:5 http://deb.debian.org/debian stretch Release
      Get:6 http://ftp.ddg.lth.se/mariadb/repo/10.1/debian stretch/main i386 Packages [9324 B]
      Get:7 http://ftp.ddg.lth.se/mariadb/repo/10.1/debian stretch/main ppc64el Packages [9364 B]
      Get:8 http://ftp.ddg.lth.se/mariadb/repo/10.1/debian stretch/main amd64 Packages [9393 B]
      Fetched 32.0 kB in 1s (31.5 kB/s)                   
      Reading package lists... Done
      root@ca1174c03923:/# apt-get install -y mariadb-backup-10.1
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following additional packages will be installed:
        libarchive13 libicu57 liblzo2-2 libxml2 sgml-base xml-core
      Suggested packages:
        lrzip sgml-base-doc debhelper
      The following NEW packages will be installed:
        libarchive13 libicu57 liblzo2-2 libxml2 mariadb-backup-10.1 sgml-base xml-core
      0 upgraded, 7 newly installed, 0 to remove and 4 not upgraded.
      Need to get 13.5 MB of archives.
      [...]
      root@ca1174c03923:/# mariabackup --version
      mariabackup: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
      root@ca1174c03923:/# apt-get install -y libaio1
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following NEW packages will be installed:
        libaio1
      0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
      Need to get 9412 B of archives.
      [...]
      root@ca1174c03923:/# mariabackup --version
      mariabackup: error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory
      root@ca1174c03923:/# apt-get install -y libjemalloc1
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following NEW packages will be installed:
        libjemalloc1
      0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
      Need to get 89.8 kB of archives.
      [...]
      root@ca1174c03923:/# mariabackup --version
      mariabackup: error while loading shared libraries: libssl.so.1.0.2: cannot open shared object file: No such file or directory
      root@ca1174c03923:/# apt-get install -y libssl1.0.2
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following NEW packages will be installed:
        libssl1.0.2
      0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
      Need to get 1294 kB of archives.
      [...]
      root@ca1174c03923:/# mariabackup --version
      mariabackup based on MariaDB server 10.1.32-MariaDB debian-linux-gnu (x86_64) 
      

      • Kristian Klausen

        Attachments

          Activity

            People

            Assignee:
            faust Faustin Lammler
            Reporter:
            klausenbusk Kristian Klausen
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: