[MDEV-4111] Cannot install mariadb-server_5.5.28-mariadb-a1~squeeze_all.deb Created: 2013-01-30 Updated: 2014-06-20 Due: 2013-02-28 Resolved: 2013-02-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.28a |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Petr Mahdi | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
uname -a sb_release -a |
||
| Description |
|
Getting following problem replacing mysql with mariadb
|
| Comments |
| Comment by Elena Stepanova [ 2013-01-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, You might be experiencing the same problem as | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-01-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK, I'll wait for MariaDB-5.5.29 then and report back if it fixed my problem. cheers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Petr, MariaDB-5.5.29 is out now, could you please try and see if the problem has been resolved for you? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello, Unfortunately still no success -
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, I suppose you might have some broken dependencies/configuration. If you hadn't yet, you might want to try apt-get install -f | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tried both with below output -
dpkg: error processing mariadb-server (--configure): root@vm3359:/var/lib/mysql# dpkg --configure -a dpkg: error processing mariadb-server (--configure): Tried those as well after removing mariadb and no problems reported in such case. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
here's my sources just in case, nothing special though deb http://ftp.cz.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb http://ftp.cz.debian.org/debian/ squeeze-updates main deb http://backports.debian.org/debian-backports squeeze-backports main
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Okay, so what happens if you
apt-get install -f
>> here's my sources just in case, nothing special though Well, we can see in the output that it picks up 5.5.29-mariadb1~squeeze, so I guess the repository works all right. Also, if the above doesn't help, I would try to create a temporary sources.list with only mariadb repository, run apt-get update, then try to install mariadb-server, and then restore the previous sources.list. But if it works and the normal way doesn't, we'll need to know about it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-02-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It gives me the same error in both cases i.e. with all repos as well as with mariadb repo only. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-02-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I created a Squeeze VM and tried to install mariadb-server from the same repo, it worked all right for me both as a clean installation and as a replacement for MySQL 5.5.29; so at least it's not a generic problem, there must be some remains of a previous configuration on the machine where you are getting the error. Could you please run dpkg -l | grep -i mysql and provide the output? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-02-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Here it goes -
Please note I'm upgrading from 5.1.66 not 5.5, which worked for me on Gentoo with no problem. Though I can try some other path if that's major problem on binary distro. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-02-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Okay, it does make a difference. Normally it shouldn't happen (I checked, it doesn't), but you can get it for example if you have something in your 5.1 /etc/mysql/my.cnf file that 5.5 doesn't recognize. It happens, some variables get removed between major versions, or their value sets change. I emulated the problem by adding character-set-server = unknown to [mysqld] section of /etc/mysql/my.cnf before installing mariadb-server, and got the exact same problem: Setting up mariadb-server-5.5 (5.5.29-mariadb1~squeeze) ... If you have a similar case, you'll see quite verbose explanation of the error in your syslog file. In my case it looks this way: Feb 2 11:18:17 squeeze-64 /etc/init.d/mysql[19850]: etc. Could you please check yours? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Petr Mahdi [ 2013-02-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Indeed default-character-set=utf8 thanks for all your time on this. cheers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-02-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
character-set-server=utf8 should be fine, but default-character-set was indeed deprecated in 5.0 and removed in 5.5: http://dev.mysql.com/doc/refman/5.0/en/server-options.html#option_mysqld_default-character-set I'm glad it works now. |