LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2017, 05:57 AM   #1
corneliusudeh
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
error processing package mysql server (--configure)


hi guys! i'm new (not my name, i'm cornelius. but i am new to debian and LQ) i've been trying to install XAMPP since yesterday.

since i am new to unix,linux as a wehole i've found every step difficult. i hope it gets better though.


so my error:

i got a depedncy error, then i did the "apt-get -f install" then i got another error, i can't remember, the i did this "dpkg --configure --pending"

this is the result:

Setting up mysql-server-5.5 (5.5.54-0+deb8u1) ...
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--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.5; however:
Package mysql-server-5.5 is not configured yet.

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server


what can i do. i havent even configured my computer to run java, this is just for my php and i'm this stuck. i don't wan tot go back to windows
 
Old 04-11-2017, 06:19 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
MySQL 5.5? That seems a bit old... I'd suggest getting MariaDB 10.1 instead: https://downloads.mariadb.org/mariad...e&version=10.1

Looks like you are using Debian 8, It looks like mysql-server depends on mysql-server-5.5. If you want to continue with this instead of MariaDB, can you do an 'apt-get install mysql-server-5.5' and see if that returns any issues.
 
Old 04-11-2017, 06:32 AM   #3
corneliusudeh
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by r3sistance View Post
MySQL 5.5? That seems a bit old... I'd suggest getting MariaDB 10.1 instead: https://downloads.mariadb.org/mariad...e&version=10.1

Looks like you are using Debian 8, It looks like mysql-server depends on mysql-server-5.5. If you want to continue with this instead of MariaDB, can you do an 'apt-get install mysql-server-5.5' and see if that returns any issues.
i don't know about mariaDB- if it'll work well with phpmyadmin.

but i tried "apt-get install mysql-server-5.5" and it returns the exact same thing!

here, look:

Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server-5.5 is already the newest version.
mysql-server-5.5 set to manually installed.
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.
Do you want to continue? [Y/n] y
Setting up mysql-server-5.5 (5.5.54-0+deb8u1) ...
170411 11:26:34 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170411 11:26:34 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170411 11:26:34 [Note] /usr/sbin/mysqld (mysqld 5.5.54-0+deb8u1) starting as process 27196 ...
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--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.5; however:
Package mysql-server-5.5 is not configured yet.

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


--------------------------------------------------------

if mariaDB will work better for me (i can use it with phpmyadmin), can you please walk me through its installation?
please, i am new to all of these kindly, be patient in helping with specific solutions. THANK YOU for your reply!
 
Old 04-11-2017, 07:02 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
MariaDB works with phpmyadmin, altho phpmyadmin isn't a very good package to use. You have to lock phpmyadmin down to such a degree that I'd just end out using something else like heidisql anyways, if I needed such a utility.

It sounds like you probably have a configuration issue with mysql then, I'd advise checking the mysql logs (probably in /var/log/mysql/) and see if any errors are shown there. It'll probably highlight a bad configuration setting which will most likely be set in /etc/my.cnf.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while parallel processing of a software package Kilam orez Linux - Newbie 3 04-21-2010 04:22 PM
dpkg: error processing webmin-core (--configure) cccc Debian 2 12-25-2006 10:34 PM
dpkg: error processing libc6 (--configure) spid3r DamnSmallLinux 1 10-18-2005 04:53 PM
Msttcorefonts Package: Error processing Msttcorefonts (--configure) davidas Linux - Software 3 04-18-2004 03:12 PM
dpkg: error processing libpam-runtime (--configure): kkrzyho Debian 2 04-14-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration