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

Missing dependency on Debian 7 (Wheezy) installation package

    XMLWordPrintable

Details

    Description

      Have an issue during installation of MariaDB 10.1 to Linux Debian 7.6 64-bit virtual server, virtualized with OpenVZ.

      The problem is in missing command "logger", which is a way to talk to syslog. Syslog is installed and i am not sure which package need to be installed for command "logger" to work. I guess, that i don't have it, because OpenVZ system images usually minimalized (some tools got removed) to reduce drive space used and memory usage. The possible solution would be:
      a) Detect which package need to be installed for command "logger" to work
      b) Add this package as a dependency for .deb MariaDB package (mariadb-server).

      Log:

      Setting up mariadb-server-10.1 (10.1.0+maria-1~wheezy) ...
      [ ok ] Stopping MariaDB database server: mysqld.
      /var/lib/dpkg/info/mariadb-server-10.1.postinst: line 147: logger: command not found
      /var/lib/dpkg/info/mariadb-server-10.1.postinst: line 220: logger: command not found
      dpkg: error processing mariadb-server-10.1 (--configure):
      subprocess installed post-installation script returned error exit status 127
      dpkg: dependency problems prevent configuration of mariadb-server:
      mariadb-server depends on mariadb-server-10.1 (= 10.1.0+maria-1~wheezy); however:
      Package mariadb-server-10.1 is not configured yet.

      dpkg: error processing mariadb-server (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      mariadb-server-10.1
      mariadb-server
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      A package failed to install. Trying to recover:
      Setting up mariadb-server-10.1 (10.1.0+maria-1~wheezy) ...
      [ ok ] Stopping MariaDB database server: mysqld.
      /var/lib/dpkg/info/mariadb-server-10.1.postinst: line 147: logger: command not found
      /var/lib/dpkg/info/mariadb-server-10.1.postinst: line 220: logger: command not found
      dpkg: error processing mariadb-server-10.1 (--configure):
      subprocess installed post-installation script returned error exit status 127
      dpkg: dependency problems prevent configuration of mariadb-server:
      mariadb-server depends on mariadb-server-10.1 (= 10.1.0+maria-1~wheezy); however:
      Package mariadb-server-10.1 is not configured yet.

      dpkg: error processing mariadb-server (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      mariadb-server-10.1
      mariadb-server

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              Profforg Alexander Loginov
              Votes:
              1 Vote for this issue
              Watchers:
              5 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.