mysql server fail
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). how do i fix that? anyone that has any ideas? |
Hi,
what is the output of the following commmands? Code:
apt-get -f install Evo2. |
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) root@zeus:~# |
Hi,
the post install script seems to be failing because: Quote:
Code:
dpkg -l bsdutils Also of interest are Quote:
Code:
dpkg -l dialog whiptail |
hi. the system is up to date and here is the output of the commands you asked for
still the problem exists. root@zeus:~# dpkg -l dialog whiptail Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= un dialog <none> (no description available) un whiptail <none> (no description available) root@zeus:~# dpkg -l bsdutils Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii bsdutils 1:2.20.1-5.3 i386 Basic utilities from 4.4BSD-Lite root@zeus:~# ls -l /usr/bin/logger -rwxr-xr-x 1 root root 18268 Dec 9 2012 /usr/bin/logger root@zeus:~# root@zeus:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.7 (wheezy) Release: 7.7 Codename: wheezy root@zeus:~# |
Hi,
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. https://packages.debian.org/search?k...s=mysql-server Where did you get that package from? Evo2. |
my apt list is
root@zeus:~# more /etc/apt/sources.list deb http://ftp.gr.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.gr.debian.org/debian/ wheezy main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free root@zeus:~# all i did was simply apt-get install apache2 mysql-server php5 php5-common php5-cgi php5-cli php5-mysql |
Hi,
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: Code:
apt-cache policy 'mysql-server*' |
hi. i am the only one administering and using that machine.
root@zeus:~# apt-cache policy 'mysql-server*' mysql-server-5.0: Installed: (none) Candidate: (none) Version table: mysql-server-5.1: Installed: (none) Candidate: (none) Version table: mysql-server-5.5: Installed: (none) Candidate: 5.5.40-0+wheezy1 Version table: 5.5.40-0+wheezy1 0 500 http://security.debian.org/ wheezy/updates/main i386 Packages 5.5.38-0+wheezy1 0 500 http://ftp.gr.debian.org/debian/ wheezy/main i386 Packages virtual-mysql-server: Installed: (none) Candidate: (none) Version table: mysql-server-core-5.0: Installed: (none) Candidate: (none) Version table: mysql-server-core-5.1: Installed: (none) Candidate: (none) Version table: mysql-server-core-5.5: Installed: (none) Candidate: 5.5.40-0+wheezy1 Version table: 5.5.40-0+wheezy1 0 500 http://security.debian.org/ wheezy/updates/main i386 Packages 5.5.38-0+wheezy1 0 500 http://ftp.gr.debian.org/debian/ wheezy/main i386 Packages mysql-server: Installed: (none) Candidate: 5.5.40-0+wheezy1 Version table: 5.5.40-0+wheezy1 0 500 http://security.debian.org/ wheezy/updates/main i386 Packages 5.5.38-0+wheezy1 0 500 http://ftp.gr.debian.org/debian/ wheezy/main i386 Packages mysql-server-core: Installed: (none) Candidate: (none) Version table: root@zeus:~# dpkg -l 'mysql-server*' dpkg-query: no packages found matching mysql-server* root@zeus:~# |
Hi,
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? Evo2. |
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.
|
any ideas?
|
Hi,
Quote:
Evo2. |
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. |
Hi,
Quote:
Evo2. |
All times are GMT -5. The time now is 04:12 PM. |