MySQL5.5 won't install properly
I have just finished upgrading my GuruPlug to Wheezy and upgrading all the packages on it. The last ones I tried to install were MySQL 5.5, client and server. However, something goes wrong when trying to set up the server, as you can see in this list of errors.
Code:
Setting up mysql-server-5.5 (5.5.31+dfsg-0+wheezy1) ... |
Run the command
Code:
sudo dpkg --configure -a If you are still facing the problem Remove troubled packages from the file /var/lib/dpkg/status, Follow these steps to do this. 1) First take back up of status file. 2) Search these packages in the file /var/lib/dpkg/status mysql-server-5.5 mysql-server and remove the whole paragraph of the package, it will be appeared in the file like this. mysql-server-5.5 Code:
Package: mysql-server-5.5 mysql-server Code:
Package: mysql-server Now remove these both paragraphs from the file, save the file and try again. |
When looking at the status file, I noticed it also has an entry for mysql-server-5.0, should I remove that too?
|
You do not need to remove mysql-server-5.0 since it is not the troubled package. Just remove the trouble packages and try again.
If you still face the problem, try to run this command Code:
sudo dpkg-reconfigure mysql-server This is the thread where they had same problem what you are facing. Look at this too. http://stackoverflow.com/questions/1...dency-problems |
Well, removing those parts from the status file, then installing it again produced the same error as before. Running dpkg-reconfigure gave me this error:
Code:
/usr/sbin/dpkg-reconfigure: mysql-server is broken or not fully installed Code:
Conflicts: mysql-server (<< 5.0.51a-24+lenny3) So does that conflict have anything to say? |
Well, that didn't help anything. I tried removing all 3 entries from the status file, and got the same error. I tried doing everything from your link exactly as it said, and got the same error.
Then I tried purging mysql-server-5.0 along with the other commands, but after purging that I got the error again. Then I continued to follow the instructions, but at the end of it I got the same error again. So it seems this is not mysql related, but just happened to pop up during installation of this. |
Did you add any third party repositories or PPAs to your system improperly (using command line or from software sources )?
If you want to remove mysql, try this command once Code:
sudo apt-get --purge remove mysql-server mysql-common mysql-client Code:
sudo apt-get -f remove mysql-server-core-5.5 mysql-server-5.5 mysql-server-5.5 mysql-server If it is uninstalled successfully, you can install it using Code:
sudo apt-get install mysql-server mysql-common mysql-client |
Sadly this didn't work either. I have no problem uninstalling or installing, it's during the configuration that I get this problem. First I tried purging, then installing with your code, but still got the error. Then I tried running all 3 commands, but got the error again during the third command.
What's even more odd is that I get the dialogue to change password for the root user in MySQL Server 2 or 3 times. I never change it but just press OK, since I don't plan on changing it until I need to use it as a webserver, and I've written a To do list, to make sure I remember it. As for your question, no as soon as I had installed the base image, I changed the sources.list file to only include wheezy lines and I got those from a Debian source generator. Here is my sources.list: Code:
deb http://ftp.dk.debian.org/debian stable main contrib non-free |
All times are GMT -5. The time now is 09:59 PM. |