new Centos server install yum dependancy error

Gerald Galster list+dovecot at gcore.biz
Fri Feb 22 18:47:27 EET 2019



> Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot <dovecot at dovecot.org>:
> 
> 
> 
> On Sat, February 23, 2019 12:31 am, Gerald Galster via dovecot wrote:
>> Hello Voytek,
>> 
>> 
>> the *-devel packages include header files that are only needed if you
>> want to compile something, they are not needed for running a dovecot
>> server. Likewise the *debuginfo packages, they contain information that is
>> helpful for debugging dovecot.
>> 
>> Your problem is here:
>> 
>> 
>> Error: Package: 2:dovecot-lua-2.3.4.1-1.x86_64 (dovecot-2.3-latest)
>> Requires: dovecot = 2:2.3.4.1-1
>> Available: 1:dovecot-2.2.36-3.el7.i686 (base)
>> dovecot = 1:2.2.36-3.el7
>> 
>> 
>> If you want to install dovecot-lua-2.3.4.1-1.x86_64 you need dovecot
>> 2.3.4.1-1
>> but the repository you configured has 2.2.36-3. Your output shows you're
>> using the base repository, which is from centos. Your are not using the
>> dovecot repo. Maybe you need to enable it - look for enabled=0 in
>> /etc/yum.d/* files and change
>> to enabled=1 or stay with 2.2.36 from centos.
> 
> Gerald, thanks.
> 
> 
> hmmm, I have enabled=1, I've copied .repo from dovecot page, what did I
> screw up ?
> 
> # dovecot --version
> 2.2.36 (1f10bfa63)
> 
> 
> [root at c7 yum.repos.d]# cat dovecot.repo
> [dovecot-2.3-latest]
> name=Dovecot 2.3 CentOS $releasever - $basearch
> baseurl=http://repo.dovecot.org/ce-2.3-latest/centos/$releasever/RPMS/$basearch
> gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG
> gpgcheck=1
> enabled=1

try: yum clean all

this deletes all cached data, then search for dovecot:

[root at noc ~]# yum search dovecot --showduplicates
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: ftp.fau.de
 * epel: ftp.lysator.liu.se
 * extras: ftp.fau.de
 * updates: mirror1.hs-esslingen.de
=================================================================================================================================================================================
1:dovecot-devel-2.2.36-3.el7.x86_64 : Development files for dovecot
1:dovecot-mysql-2.2.36-3.el7.x86_64 : MySQL back end for dovecot
1:dovecot-pgsql-2.2.36-3.el7.x86_64 : Postgres SQL back end for dovecot
1:dovecot-pigeonhole-2.2.36-3.el7.x86_64 : Sieve and managesieve plug-in for dovecot
1:dovecot-2.2.36-3.el7.i686 : Secure imap and pop3 server
1:dovecot-2.2.36-3.el7.x86_64 : Secure imap and pop3 server

-> base, epel, extras, updates are the repositories that are queried - this is the name in [] brackets from /etc/yum.repos.d/*.repo
-> you should see dovecot-2.3-latest there

if not you could try to add: yum --enablerepo=dovecot-2.3-latest search dovecot

use --showduplicates  -> this prints the version numbers of available packages

1:dovecot-2.2.36-3.el7.x86_64
if your list includes 2:dovecot... this means "epoch" and overrides packages from epoch 1: (higher epoch is preferred so that you can install newer packages with lower version numbers)


I've checked the dovecot.repo you posted, it works:

[root at noc ~]# yum search dovecot --showduplicates
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink
 * base: centosmirror.netcup.net
 * epel: epel.mirror.far.fi
 * extras: mirror.23media.de
 * updates: mirror.checkdomain.de
base                                                                                                                                                                                                                                                                                                                                                             dovecot-2.3-latest                                                                                                                                                                                                                                                                                                                                               epel                                                                                                                                                                                                                                                                                                                                                             extras                                                                                                                                                                                                                                                                                                                                                           updates                                                                                                                                                                                                                                                                                                                                                          (1/8): dovecot-2.3-latest/7/x86_64/primary_db                                                                                                                                                                                                                                                                                                                    (2/8): base/7/x86_64/group_gz                                                                                                                                                                                                                                                                                                                                    (3/8): epel/x86_64/group_gz                                                                                                                                                                                                                                                                                                                                      (4/8): extras/7/x86_64/primary_db                                                                                                                                                                                                                                                                                                                                (5/8): base/7/x86_64/primary_db                                                                                                                                                                                                                                                                                                                                  (6/8): epel/x86_64/updateinfo                                                                                                                                                                                                                                                                                                                                    (7/8): epel/x86_64/primary_db                                                                                                                                                                                                                                                                                                                                    (8/8): updates/7/x86_64/primary_db                                                                                                                                                                                                                                                                                                                               =================================================================================================================================================================================
2:dovecot-debuginfo-2.3.4-2.x86_64 : Debug information for package dovecot
2:dovecot-debuginfo-2.3.4.1-1.x86_64 : Debug information for package dovecot
1:dovecot-devel-2.2.36-3.el7.x86_64 : Development files for dovecot
2:dovecot-devel-2.3.4-2.x86_64 : Development files for dovecot
2:dovecot-devel-2.3.4.1-1.x86_64 : Development files for dovecot
2:dovecot-imaptest-debuginfo-2.3.4-2.x86_64 : Debug information for package dovecot-imaptest
2:dovecot-imaptest-debuginfo-2.3.4.1-1.x86_64 : Debug information for package dovecot-imaptest
2:dovecot-lua-2.3.4-2.x86_64 : LUA support for Dovecot Community Edition
2:dovecot-lua-2.3.4.1-1.x86_64 : LUA support for Dovecot Community Edition
1:dovecot-mysql-2.2.36-3.el7.x86_64 : MySQL back end for dovecot
2:dovecot-mysql-2.3.4-2.x86_64 : MySQL back end for dovecot
2:dovecot-mysql-2.3.4.1-1.x86_64 : MySQL back end for dovecot
1:dovecot-pgsql-2.2.36-3.el7.x86_64 : Postgres SQL back end for dovecot
2:dovecot-pgsql-2.3.4-2.x86_64 : Postgres SQL back end for dovecot
2:dovecot-pgsql-2.3.4.1-1.x86_64 : Postgres SQL back end for dovecot
1:dovecot-pigeonhole-2.2.36-3.el7.x86_64 : Sieve and managesieve plug-in for dovecot
2:dovecot-pigeonhole-2.3.4-2.x86_64 : Sieve and managesieve plug-in for dovecot
2:dovecot-pigeonhole-2.3.4.1-1.x86_64 : Sieve and managesieve plug-in for dovecot
2:dovecot-pigeonhole-debuginfo-2.3.4-2.x86_64 : Debug information for package dovecot-pigeonhole
2:dovecot-pigeonhole-debuginfo-2.3.4.1-1.x86_64 : Debug information for package dovecot-pigeonhole
2:dovecot-pigeonhole-devel-2.3.4-2.x86_64 : Libraries and headers for dovecot-pigeonhole
2:dovecot-pigeonhole-devel-2.3.4.1-1.x86_64 : Libraries and headers for dovecot-pigeonhole
1:dovecot-2.2.36-3.el7.i686 : Secure imap and pop3 server
1:dovecot-2.2.36-3.el7.x86_64 : Secure imap and pop3 server
2:dovecot-2.3.4-2.x86_64 : Secure imap and pop3 server
2:dovecot-2.3.4.1-1.x86_64 : Secure imap and pop3 server
2:dovecot-imaptest-2.3.4-2.x86_64 : ImapTest is a generic IMAP server compliancy tester that works with all IMAP servers.
2:dovecot-imaptest-2.3.4.1-1.x86_64 : ImapTest is a generic IMAP server compliancy tester that works with all IMAP servers.

  Name and summary matches only, use "search all" for everything.


Best regards
Gerald





More information about the dovecot mailing list