Public bug reported:

A user reported, for 15.04 Vivid (which appears to continue to affect
all releases to 16.04), on a "minimal installation" a failure of the
-server post-install script. This appears to be due to a missing
dependency on 'bsdutils' which contains '/usr/bin/logger'

debian/mysql-server-5.6.postinst contains the following fragment which
is used on the right side of pipes:

# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"

The installation error was:

invoke-rc.d: Unit mysql.service is masked
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 132: logger: command not 
found
2016-01-15 04:57:19 0 [Warning] TIMESTAMP with implicit DEFAULT value is 
deprecated. Please use --explicit_defaults_for_timestamp server option (see 
documentation for more details).
2016-01-15 04:57:19 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.15.04.1) 
starting as process 6938 ...
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 210: logger: command not 
found
dpkg: error processing package mysql-server-5.6 (--install):
 subprocess installed post-installation script returned error exit status 127
Processing triggers for systemd (219-7ubuntu6) ...
Errors were encountered while processing:
 mysql-server-5.6

** Affects: mysql-5.6 (Ubuntu)
     Importance: High
         Status: Triaged

** Changed in: mysql-5.6 (Ubuntu)
       Status: New => Triaged

** Changed in: mysql-5.6 (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1534544

Title:
  Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger
  in .postinst

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1534544/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to