DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi. i am trying to install the following packages
apt-get install apache2 mysql-server php5 php5-common php5-cgi php5-cli php5-mysql
but mysql server fails to install and i am getting the following errors:
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
i have tried:
-to purge mysql*
-rm -rf whatever folder contains even the word mysql
-apt-get autoclean and autoremove
-reinstall the system (wheezy).
Additionally, what can you tell us about your system? Is it up to date? Do you have anything strange in your sources.list? What method did you use to install it? Etc.
exactly the same approach with/without dotdeb repositories.
root@zeus:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.6 (5.6.21-1~dotdeb.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 111: logger: command not found
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 189: logger: command not found
dpkg: error processing mysql-server-5.6 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.6; however:
Package mysql-server-5.6 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.6
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@zeus:~# dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
mysql-server MySQL database server (metapackage depending on the lates
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
mysql-server-5.6 MySQL database server binaries and system database setup
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
module-init-tools transitional dummy package (module-init-tools to kmod)
the post install script seems to be failing because:
Quote:
Code:
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 111: logger: command not found
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 189: logger: command not found
dpkg: error processing mysql-server-5.6 (--configure):
subprocess installed post-installation script returned error exit status 127
This should be in /usr/bin/logger and is from the bsdutils package. Can you confirm it exists? eg
Code:
dpkg -l bsdutils
ls -l /usr/bin/logger
Presumably /usr/bin is in roots path since that is where dpkg and apt-get are located.
Also of interest are
Quote:
Code:
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Do you have either dialog or whiptail packages installed? Eg
if you install either whiptail or dialog you can get rid of the debconf warning.
Regarding the real problem of the mysql-server-5.6 post install script failure, I notice that that that package is _not_ in Debian 7.7. I see that it is however in experimental.
are you saying that you don't know why you have that version of mysql-server? Is someone else also administering that machine? Please post the output of the following:
there is no mention of mysql-server-5.6 in your output in your previous post. Do you know why /var/lib/dpkg/info/mysql-server-5.6.postinst exists on your system? Does it still exist? Did you perform some actions that changed the state or your system between your initial post and now?
i forgot to mention that i did a clean install of wheezy and i posted the outputs. the version 5.6 was from the dotdeb repository. now i do not have anything apart from the sources list that i have posted. still the problem exists.
i forgot to mention that i did a clean install of wheezy and i posted the outputs. the version 5.6 was from the dotdeb repository. now i do not have anything apart from the sources list that i have posted. still the problem exists.
Sorry, I really don't understand your situation. Are you saying you have done a clean install since your original post?
after my first post and all the retries, then i decided to go to a clean install.
the thing is that the problem remains. i cannot install mysql-server.
after my first post and all the retries, then i decided to go to a clean install.
the thing is that the problem remains. i cannot install mysql-server.
What method are you using to try to install it? What happens?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.