new Centos server install yum dependancy error
I'm installing a new Centos 7 server, following repo.dovecot.org/ page, but, get this:
(I've opted to install all BUT pgsql (use mysql), not sure I really need all other packages..?)
should I just go for "dovecot dovecot-mysql dovecot-pigeonhole" ??
tried # yum install dovecot dovecot-debuginfo dovecot-devel dovecot-imaptest dovecot-imaptest-debuginfo dovecot-lua dovecot-mysql dovecot-pigeonhole dovecot-pigeonhole-debuginfo dovecot-pigeonhole-devel
...
--> Finished Dependency Resolution 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 Error: Package: 2:dovecot-pigeonhole-devel-2.3.4.1-1.x86_64 (dovecot-2.3-latest) Requires: dovecot-pigeonhole = 2:2.3.4.1-1 Installing: 1:dovecot-pigeonhole-2.2.36-3.el7.x86_64 (base) dovecot-pigeonhole = 1:2.2.36-3.el7 Error: Package: 2:dovecot-imaptest-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 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
-- Voytek
On Sat, February 23, 2019 12:15 am, Voytek Eymont via dovecot wrote:
should I just go for "dovecot dovecot-mysql dovecot-pigeonhole" ??
tried :
yum install dovecot dovecot-devel dovecot-mysql dovecot-pigeonhole
and, it installed OK, I guess I don't really need the other ones ?
Dependencies Resolved
================================================================================ Package Arch Version Repository Size
Installing:
dovecot x86_64 1:2.2.36-3.el7 base
4.4 M
dovecot-devel x86_64 1:2.2.36-3.el7 base
461 k
dovecot-mysql x86_64 1:2.2.36-3.el7 base
66 k
dovecot-pigeonhole x86_64 1:2.2.36-3.el7 base
392 k
Installing for dependencies:
clucene-core x86_64 2.3.3.4-11.el7 base
528 k
Transaction Summary Installed: dovecot.x86_64 1:2.2.36-3.el7 dovecot-devel.x86_64 1:2.2.36-3.el7 dovecot-mysql.x86_64 1:2.2.36-3.el7 dovecot-pigeonhole.x86_64 1:2.2.36-3.el7
Dependency Installed: clucene-core.x86_64 0:2.3.3.4-11.el7
Complete!
-- Voytek
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.
Best regards Gerald
Am 22.02.2019 um 14:20 schrieb Voytek Eymont via dovecot dovecot@dovecot.org:
On Sat, February 23, 2019 12:15 am, Voytek Eymont via dovecot wrote:
should I just go for "dovecot dovecot-mysql dovecot-pigeonhole" ??
tried :
yum install dovecot dovecot-devel dovecot-mysql dovecot-pigeonhole
and, it installed OK, I guess I don't really need the other ones ?
Dependencies Resolved
================================================================================ Package Arch Version Repository Size
Installing: dovecot x86_64 1:2.2.36-3.el7 base
4.4 M dovecot-devel x86_64 1:2.2.36-3.el7 base
461 k dovecot-mysql x86_64 1:2.2.36-3.el7 base
66 k dovecot-pigeonhole x86_64 1:2.2.36-3.el7 base
392 k Installing for dependencies: clucene-core x86_64 2.3.3.4-11.el7 base
528 kTransaction Summary Installed: dovecot.x86_64 1:2.2.36-3.el7 dovecot-devel.x86_64 1:2.2.36-3.el7 dovecot-mysql.x86_64 1:2.2.36-3.el7 dovecot-pigeonhole.x86_64 1:2.2.36-3.el7
Dependency Installed: clucene-core.x86_64 0:2.3.3.4-11.el7
Complete!
-- Voytek
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@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
-- Voytek
Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot:
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@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
Did you run 'yum update && yum upgrade'?
-- Alex JOST
On Sat, February 23, 2019 2:53 am, Alex JOST via dovecot wrote:
Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot:
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@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
Did you run 'yum update && yum upgrade'?
Alex, thanks
yes, I did run both yum update yum upgrade
is this where I stuffed up?
-- Voytek
Is your server even running on CentOS 64bit?
# arch
or
# uname -m
should return "x86_64". But as your available base package is dovecot- 2.2.36-3.el7.i686 and not dovecot-2.2.36-3.el7.x86_64 I guess you'll see something like "i686"
Martin Johannes Dauser
On Sat, 2019-02-23 at 07:58 +1100, Voytek Eymont via dovecot wrote:
On Sat, February 23, 2019 2:53 am, Alex JOST via dovecot wrote:
Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot:
On Sat, February 23, 2019 12:31 am, Gerald Galster via dovecot wrote:
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
On Wed, February 27, 2019 1:14 am, Martin Johannes Dauser via dovecot wrote:
Is your server even running on CentOS 64bit?
Martin,
I;m setting up one Centos 6 and, one Centos 7
in C7 I get
# dovecot --version 2.3.4.1 (3c0b8769e) # arch x86_64 # uname -m x86_64 #
in C6 setup, ahem, just locked myself out... so can't tell at this moment..
should return "x86_64". But as your available base package is dovecot- 2.2.36-3.el7.i686 and not dovecot-2.2.36-3.el7.x86_64 I guess you'll see something like "i686"
Martin Johannes Dauser
On Sat, 2019-02-23 at 07:58 +1100, Voytek Eymont via dovecot wrote:
On Sat, February 23, 2019 2:53 am, Alex JOST via dovecot wrote:
Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot:
On Sat, February 23, 2019 12:31 am, Gerald Galster via dovecot wrote:
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
-- Voytek
Am 22.02.2019 um 14:43 schrieb Voytek Eymont via dovecot dovecot@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@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@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@noc ~]# yum search dovecot --showduplicates Loaded plugins: fastestmirror Determining fastest mirrors epel/x86_64/metalink 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 =================================================================================================================================================================================
- base: centosmirror.netcup.net
- epel: epel.mirror.far.fi
- extras: mirror.23media.de
- updates: mirror.checkdomain.de
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
On Sat, February 23, 2019 3:47 am, Gerald Galster via dovecot wrote:
try: yum clean all
Gerald , thank you
it shows in the output after 'second step' below:
# yum clean all Loaded plugins: fastestmirror, langpacks, priorities Cleaning repos: base centos-sclo-rh centos-sclo-sclo dovecot-2.3-latest epel : extras gf remi-safe updates Cleaning up list of fastest mirrors Other repos take up 622 k of disk space (use --verbose for details)
this deletes all cached data, then search for dovecot:
[root@noc ~]# yum search dovecot --showduplicates
...
-> 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
# yum search dovecot --showduplicates Loaded plugins: fastestmirror, langpacks, priorities Determining fastest mirrors epel/x86_64/metalink | 3.8 kB 00:00 base | 3.6 kB 00:00
- base: mirror.nsw.coloau.com.au
- epel: mirror.nsw.coloau.com.au
- extras: mirror.ventraip.net.au
- remi-safe: remi.conetix.com.au
- updates: mirror.nsw.coloau.com.au
centos-sclo-rh | 3.0 kB 00:00 centos-sclo-sclo | 2.9 kB 00:00 dovecot-2.3-latest | 2.9 kB 00:00 epel | 4.7 kB 00:00 extras | 3.4 kB 00:00 gf | 2.9 kB 00:00 remi-safe | 3.0 kB 00:00 updates | 3.4 kB 00:00 (1/12): base/7/x86_64/group_gz | 166 kB 00:00 epel/x86_64/group_gz FAILED http://fedora.mirror.serversaustralia.com.au/epel/7/x86_64/repodata/d97ad292...: [Errno 14] curl#6 - "Could not resolve host: fedora.mirror.serversaustralia.com.au; Unknown error" Trying other mirror. (2/12): dovecot-2.3-latest/7/x86_64/primary_db | 16 kB 00:01 (3/12): epel/x86_64/updateinfo | 959 kB 00:02 (4/12): extras/7/x86_64/primary_db | 180 kB 00:00 (5/12): gf/x86_64/primary_db | 44 kB 00:00 (6/12): centos-sclo-sclo/x86_64/primary_db | 264 kB 00:05 (7/12): updates/7/x86_64/primary_db | 2.4 MB 00:07 (8/12): epel/x86_64/group_gz | 88 kB 00:00 (9/12): base/7/x86_64/primary_db | 6.0 MB 00:16 (10/12): remi-safe/primary_db | 1.4 MB 00:18 (11/12): epel/x86_64/primary_db | 6.6 MB 00:24 (12/12): centos-sclo-rh/x86_64/primary_db | 3.7 MB 00:25 226 packages excluded due to repository priority protections
============================= N/S matched: dovecot
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 1:dovecot-devel-2.2.36-3.el7.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 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-pigeonhole-2.2.36-3.el7.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 1:dovecot-2.2.36-3.el7.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.
should I try 'yum install ...' again ?
-- Voytek
Am 22.02.2019 um 22:10 schrieb Voytek Eymont via dovecot dovecot@dovecot.org:
On Sat, February 23, 2019 3:47 am, Gerald Galster via dovecot wrote:
try: yum clean all
Gerald , thank you
it shows in the output after 'second step' below:
# yum clean all Loaded plugins: fastestmirror, langpacks, priorities Cleaning repos: base centos-sclo-rh centos-sclo-sclo dovecot-2.3-latest epel : extras gf remi-safe updates Cleaning up list of fastest mirrors Other repos take up 622 k of disk space (use --verbose for details)
this deletes all cached data, then search for dovecot:
[root@noc ~]# yum search dovecot --showduplicates
...
-> 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
# yum search dovecot --showduplicates Loaded plugins: fastestmirror, langpacks, priorities Determining fastest mirrors epel/x86_64/metalink | 3.8 kB 00:00 base | 3.6 kB 00:00
- base: mirror.nsw.coloau.com.au
- epel: mirror.nsw.coloau.com.au
- extras: mirror.ventraip.net.au
- remi-safe: remi.conetix.com.au
- updates: mirror.nsw.coloau.com.au
centos-sclo-rh | 3.0 kB 00:00 centos-sclo-sclo | 2.9 kB 00:00 dovecot-2.3-latest | 2.9 kB 00:00 epel | 4.7 kB 00:00 extras | 3.4 kB 00:00 gf | 2.9 kB 00:00 remi-safe | 3.0 kB 00:00 updates | 3.4 kB 00:00 (1/12): base/7/x86_64/group_gz | 166 kB 00:00 epel/x86_64/group_gz FAILED http://fedora.mirror.serversaustralia.com.au/epel/7/x86_64/repodata/d97ad292...: [Errno 14] curl#6 - "Could not resolve host: fedora.mirror.serversaustralia.com.au; Unknown error" Trying other mirror. (2/12): dovecot-2.3-latest/7/x86_64/primary_db | 16 kB 00:01 (3/12): epel/x86_64/updateinfo | 959 kB 00:02 (4/12): extras/7/x86_64/primary_db | 180 kB 00:00 (5/12): gf/x86_64/primary_db | 44 kB 00:00 (6/12): centos-sclo-sclo/x86_64/primary_db | 264 kB 00:05 (7/12): updates/7/x86_64/primary_db | 2.4 MB 00:07 (8/12): epel/x86_64/group_gz | 88 kB 00:00 (9/12): base/7/x86_64/primary_db | 6.0 MB 00:16 (10/12): remi-safe/primary_db | 1.4 MB 00:18 (11/12): epel/x86_64/primary_db | 6.6 MB 00:24 (12/12): centos-sclo-rh/x86_64/primary_db | 3.7 MB 00:25 226 packages excluded due to repository priority protections
============================= N/S matched: dovecot
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 1:dovecot-devel-2.2.36-3.el7.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 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-pigeonhole-2.2.36-3.el7.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 1:dovecot-2.2.36-3.el7.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.
should I try 'yum install ...' again ?
you can't install it yet because dovecot-2.3.4-2.x86_64 is not shown, probably due to the priority protection plugin:
-> 226 packages excluded due to repository priority protections
Try disabling it, see:
https://serverfault.com/questions/312472/what-does-that-mean-packages-exclud... https://serverfault.com/questions/312472/what-does-that-mean-packages-exclud...
Afterwards you should see all dovecot packages and can install version 2.3.4 again
Best regards, Gerald
On Sat, February 23, 2019 10:41 am, Gerald Galster via dovecot wrote:
you can't install it yet because dovecot-2.3.4-2.x86_64 is not shown, probably due to the priority protection plugin:
-> 226 packages excluded due to repository priority protections
Try disabling it, see:
https://serverfault.com/questions/312472/what-does-that-mean-packages-exc luded-due-to-repository-priority-protections <https://serverfault.com/questions/312472/what-does-that-mean-packages-ex cluded-due-to-repository-priority-protections>
Afterwards you should see all dovecot packages and can install version 2.3.4 again
Gerald,
thank you again
in meanwhile, I've tried specifying repo as in 'yum --enablerepo..', perhaps I din't do it correctly as got errors, BUT, following your advise/link, disabling r-p-p, now I see:
# yum install dovecot dovecot-devel dovecot-mysql dovecot-pigeonhole Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
- base: mirror.nsw.coloau.com.au
- epel: mirror.nsw.coloau.com.au
- extras: mirror.ventraip.net.au
- remi-safe: remi.conetix.com.au
- updates: mirror.nsw.coloau.com.au Resolving Dependencies --> Running transaction check ---> Package dovecot.x86_64 2:2.3.4.1-1 will be installed ---> Package dovecot-devel.x86_64 2:2.3.4.1-1 will be installed ---> Package dovecot-mysql.x86_64 2:2.3.4.1-1 will be installed ---> Package dovecot-pigeonhole.x86_64 2:2.3.4.1-1 will be installed --> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
Installing:
dovecot x86_64 2:2.3.4.1-1 dovecot-2.3-latest
4.4 M
dovecot-devel x86_64 2:2.3.4.1-1 dovecot-2.3-latest
475 k
dovecot-mysql x86_64 2:2.3.4.1-1 dovecot-2.3-latest
92 k
dovecot-pigeonhole x86_64 2:2.3.4.1-1 dovecot-2.3-latest
704 k
Transaction Summary
Install 4 Packages
Total download size: 5.6 M Installed size: 18 M Is this ok [y/d/N]:
so I guess I'm good to hit 'y'
and:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2:dovecot-2.3.4.1-1.x86_64
1/4
Installing : 2:dovecot-devel-2.3.4.1-1.x86_64
2/4
Installing : 2:dovecot-mysql-2.3.4.1-1.x86_64
3/4
Installing : 2:dovecot-pigeonhole-2.3.4.1-1.x86_64
4/4
Verifying : 2:dovecot-devel-2.3.4.1-1.x86_64
1/4
Verifying : 2:dovecot-mysql-2.3.4.1-1.x86_64
2/4
Verifying : 2:dovecot-pigeonhole-2.3.4.1-1.x86_64
3/4
Verifying : 2:dovecot-2.3.4.1-1.x86_64
4/4
Installed: dovecot.x86_64 2:2.3.4.1-1 dovecot-devel.x86_64 2:2.3.4.1-1 dovecot-mysql.x86_64 2:2.3.4.1-1 dovecot-pigeonhole.x86_64 2:2.3.4.1-1
Complete! [root@c7 ~]# dovecot --version 2.3.4.1 (3c0b8769e)
thanks again! (I should've read the install screen properly in the first place, and, should've noticed I was installing NOT from dovecot...)
just thinking... now that I installed OK, should I revert the priority protection to '1', if I don't, will it bite me elsewhere, any thought ?
-- Voytek
Am 23.02.2019 um 03:33 schrieb Voytek Eymont via dovecot dovecot@dovecot.org:
On Sat, February 23, 2019 10:41 am, Gerald Galster via dovecot wrote:
you can't install it yet because dovecot-2.3.4-2.x86_64 is not shown, probably due to the priority protection plugin:
-> 226 packages excluded due to repository priority protections
Try disabling it, see:
https://serverfault.com/questions/312472/what-does-that-mean-packages-exc luded-due-to-repository-priority-protections <https://serverfault.com/questions/312472/what-does-that-mean-packages-ex cluded-due-to-repository-priority-protections>
Afterwards you should see all dovecot packages and can install version 2.3.4 again
Gerald,
thank you again
in meanwhile, I've tried specifying repo as in 'yum --enablerepo..', perhaps I din't do it correctly as got errors, BUT, following your advise/link, disabling r-p-p, now I see:
# yum install dovecot dovecot-devel dovecot-mysql dovecot-pigeonhole Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
- base: mirror.nsw.coloau.com.au
- epel: mirror.nsw.coloau.com.au
- extras: mirror.ventraip.net.au
- remi-safe: remi.conetix.com.au
- updates: mirror.nsw.coloau.com.au Resolving Dependencies --> Running transaction check ---> Package dovecot.x86_64 2:2.3.4.1-1 will be installed ---> Package dovecot-devel.x86_64 2:2.3.4.1-1 will be installed ---> Package dovecot-mysql.x86_64 2:2.3.4.1-1 will be installed ---> Package dovecot-pigeonhole.x86_64 2:2.3.4.1-1 will be installed --> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository
SizeInstalling: dovecot x86_64 2:2.3.4.1-1 dovecot-2.3-latest
4.4 M dovecot-devel x86_64 2:2.3.4.1-1 dovecot-2.3-latest
475 k dovecot-mysql x86_64 2:2.3.4.1-1 dovecot-2.3-latest
92 k dovecot-pigeonhole x86_64 2:2.3.4.1-1 dovecot-2.3-latest
704 kTransaction Summary
Install 4 Packages
Total download size: 5.6 M Installed size: 18 M Is this ok [y/d/N]:
so I guess I'm good to hit 'y'
and:
Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:dovecot-2.3.4.1-1.x86_64
1/4 Installing : 2:dovecot-devel-2.3.4.1-1.x86_64
2/4 Installing : 2:dovecot-mysql-2.3.4.1-1.x86_64
3/4 Installing : 2:dovecot-pigeonhole-2.3.4.1-1.x86_64
4/4 Verifying : 2:dovecot-devel-2.3.4.1-1.x86_64
1/4 Verifying : 2:dovecot-mysql-2.3.4.1-1.x86_64
2/4 Verifying : 2:dovecot-pigeonhole-2.3.4.1-1.x86_64
3/4 Verifying : 2:dovecot-2.3.4.1-1.x86_64
4/4Installed: dovecot.x86_64 2:2.3.4.1-1 dovecot-devel.x86_64 2:2.3.4.1-1 dovecot-mysql.x86_64 2:2.3.4.1-1 dovecot-pigeonhole.x86_64 2:2.3.4.1-1
Complete! [root@c7 ~]# dovecot --version 2.3.4.1 (3c0b8769e)
thanks again! (I should've read the install screen properly in the first place, and, should've noticed I was installing NOT from dovecot...)
just thinking... now that I installed OK, should I revert the priority protection to '1', if I don't, will it bite me elsewhere, any thought ?
I've never used it. When you install/update, yum shows which repository the package belongs to. This has been sufficient so far.
https://wiki.centos.org/PackageManagement/Yum/Priorities https://wiki.centos.org/PackageManagement/Yum/Priorities / 7. A Cautionary Note:
# Note: The upstream maintainer of yum, Seth Vidal, had the following to say about # 'yum priorities' in September 2009
# Gosh, I hope people do not set up yum priorities. There are so many things about # priorities that make me cringe all over. It could just be that it reminds me of # apt 'pinning' and that makes me want to hurl.
# The primary concern is that priorities is heavy handed over removing packages # from the transaction set. It makes it difficult to readily determine what packages # are being ignored and why. Even so, it is very flexible and can be extremely useful # to provide the largest available list of packages.
Best regards Gerald
participants (4)
-
Alex JOST
-
Gerald Galster
-
Martin Johannes Dauser
-
Voytek Eymont