Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5513

Update Ubuntu 18.10 fails in postinst script with 8.0.15-5-1.cosmic

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 8.0.15-5
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None

      Description

      Trying to reconfigure with:

      sudo dpkg --configure -a

      I get this:

       

      Setting up percona-server-server (8.0.15-5-1.cosmic) ...Setting up percona-server-server (8.0.15-5-1.cosmic) ...
       * Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit. * Run the following commands to create these functions:
       mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'" mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'" mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
       * See http://www.percona.com/doc/percona-server/8.0/management/udf_percona_toolkit.html for more details
      
      Job for mysql.service failed because a timeout was exceeded.See "systemctl status mysql.service" and "journalctl -xe" for details.invoke-rc.d: initscript mysql, action "start" failed.● mysql.service - Percona Server   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)   Active: activating (auto-restart) (Result: timeout) since Fri 2019-03-22 20:45:11 UTC; 8ms ago  Process: 11877 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS (code=exited, status=0/SUCCESS) Main PID: 11877 (code=exited, status=0/SUCCESS)dpkg: error processing package percona-server-server (--configure): installed percona-server-server package post-installation script subprocess returned error exit status 1Errors were encountered while processing: percona-server-server
      

       

       

      Not sure which is wrong with the script:

      /var/lib/dpkg/info/percona-server-server.postinst

      If I execute directly it shows this:

      sh /var/lib/dpkg/info/percona-server-server.postinst configure
      /var/lib/dpkg/info/percona-server-server.postinst configure
       * Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit. * Run the following commands to create these functions:
       mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'" mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'" mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
       * See http://www.percona.com/doc/percona-server/8.0/management/udf_percona_toolkit.html for more details
      /usr/bin/deb-systemd-helper was not called from dpkg. Exiting./usr/bin/deb-systemd-helper was not called from dpkg. Exiting./usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
      

       

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                evgeniy.patlan Evgeniy Patlan
                Reporter:
                shakaran Ángel Guzmán Maeso
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 6 hours
                  6h