i entered do-release-upgrade for my server and then i got this error message for my server,
The following packages were automatically installed and are no longer required:
apt-xapian-index aptitude-common dh-apparmor libboost-iostreams1.54.0
libboost-iostreams1.58.0 libclamav6 libclass-accessor-perl libcwidget3
libdbd-mysql-perl libept1.4.12 libicu52 libio-string-perl libisl10
liblinear1 libparse-debianchangelog-perl libsigc++-2.0-0c2a libsub-name-perl
libvpx1 libxapian-1.3-5 libxapian22v5 php-http-request php-net-dime
php-net-url php5-intl php5-pspell php5-sqlite python-cheetah
python-json-pointer python-jsonpatch python-oauth python-prettytable
python-xapian python-yaml python3-xapian1.3 tinymce
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up mysql-server-5.7 (5.7.13-0ubuntu0.16.04.2) …
Renaming removed keybuffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
2016-08-02T07:42:43.207155Z 0 [ERROR] unknown variable 'log
slow_queries=/var/lo g/mysql/mysql-slow.log’
2016-08-02T07:42:43.215232Z 0 [ERROR] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get –fix-broken install to retry.
dpkg: error processing package mysql-server-5.7 (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (–configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro r from a previous failure.
Setting up roundcube-core (1.2~beta+dfsg.1-0ubuntu1) . ..
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
ERROR: Failed to connect to memcached. Please check configurationdpkg: error pro cessing package roundcube-core (–configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
No apport report w ritten because MaxReports is reached already
dpkg: dependency problems prevent co nfiguration of roundcube:
roundcube depends on roundcube-core (= 1.2~beta+dfsg.1-0ubuntu1); however:
Package roundcube-core is not configured yet.

dpkg: error processing package roundcube (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of roundcube-plugins:
roundcube-plugins depends on roundcube-core (= 1.2~beta+dfsg.1-0ubuntu1); howev er:
Package roundcube-core is not configured yet.

dpkg: error processing package roundcube-plugins (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of roundcube-plugins-extra:
roundcube-plugins-extra depends on roundcube-core (>= 1.1.2); however:
Package roundcube-core is not configured yet.

dpkg: error processing package roundcube-plugins-extra (–configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encoun tered while processing:
mysql-server-5.7
mysql-server
roundcube-core
roundcube
roundcube-plugins
roundcube-plugins-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

It looks like there might be some 3rd party repositories being used here. What output do you see if you run the following command on your droplet?

grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
  • thank you for your comment, and i just reinstall all package then my server back to normal.... but i have one question, when i access my mail server i got error massage like this
    Forbiden
    You don’t have permission to access /roundcube/ on this server.

Submit an Answer