R
R
RaverForever2014-03-05 13:54:07
MySQL
RaverForever, 2014-03-05 13:54:07

How to install Dovecot 2.2 on CentOS with MariaDB 5.5 installed from CentALT repository?

OS: CentOS 6 x86_64
Installed repositories: epel, centalt, remi, rpmforge
Dovecot from the CentALT repository does not suit, because version 2.0 is old, you need a new 2.2.
When I try to install Dovecot 2.2 from the official package, I get an error:

[[email protected] mysql]# rpm -ihv http://dl.atrpms.net/all/dovecot-2.2.10-1_14.el6.x86_64.rpm
Retrieving http://dl.atrpms.net/all/dovecot-2.2.10-1_14.el6.x86_64.rpm
warning: /var/tmp/rpm-tmp.KJhtO8: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
error: Failed dependencies:
        libmysqlclient.so.16()(64bit) is needed by dovecot-1:2.2.10-1_14.el6.x86_64
        libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by dovecot-1:2.2.10-1_14.el6.x86_64

The server has MariaDB installed from the CentALT repository instead of MySQL:
[[email protected] mysql]# yum list installed | grep mariadb
mariadb.x86_64                     5.5.35-1.el6                      @CentALT
mariadb-devel.x86_64               5.5.35-1.el6                      @CentALT
mariadb-libs.x86_64                5.5.35-1.el6                      @CentALT
mariadb-server.x86_64              5.5.35-1.el6                      @CentALT

The system has the following files:
[[email protected] mysql]# find / -name "*libmysqlclient.so*"
/usr/lib64/mysql/libmysqlclient.so.18.0.0
/usr/lib64/mysql/libmysqlclient.so.18
/usr/lib64/mysql/libmysqlclient.so

When installing MariaDB-common and MariaDB-compat not from CentALT, but from the official repository, Dovecot 2.2 is installed without problems.
Question: how to fix this dependency? How to install Dovecot 2.2 in this configuration without uninstalling MariaDB?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
R
RaverForever, 2014-03-06
@RaverForever

If no one offers a way out of this situation, then the most optimal would be to install the official MariaDB repository and the atrpms test repository. Remove MariaDB from CentALT and install MariaDB-client, MariaDB-server from the official repository. And then we also install dovecot 2.2 from the atrpms test repository.
You get something like:

yum erase mariadb*
yum install MariaDB-server MariaDB-client dovecot

I
Igor Belikov, 2015-06-07
@swipeshot

Everything here works simply on the css transition property .
Just by clicking on one block, the left position is set: -1000px (to leave the screen), and the other 0 . And this property makes all these changes smooth.
JSFiddle
That is something like this:

.block {
  /* all - свойства, к которым применяется анимация, можно указать только left
     1s - плавность (продолжительность), можно указать 0.5s или 3s
     linear - тип анимации, в данном случае линейна */
  transition: all 1s linear;
  position: absolute;
  left: 100px;
  color: yellow;
  background-color: green;
}
.block.active {
  left: -200px;
}

<a href="#" id="btn-move">Передвинуть блок</a>
<div class="block">text</div>

$(function() {
  $('#btn-move').click(function() {
    $('.block').toggleClass('active');
    return false;
  });
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question