1 (edited by andrei_p 2022-04-12 18:13:19)

Topic: dnf error on a fresh system after installing iredmail

Hi iredmail support,

just installed iredmail v1.5.2 on a fresh Rocky linux system, and it has the issue with dnf,
cant execute dnf update due to following issue:


==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.5.2
- Deployed with iRedMail Easy or the downloadable installer? yes
- Linux/BSD distribution name and version: Rocky Linux release 8.5 (Green Obsidian)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): postgresql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

[root@iredmail ~]# sudo dnf update
Last metadata expiration check: 0:10:53 ago on Sat 09 Apr 2022 04:08:11 PM CEST.
Error:
Problem 1: package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64 requires libgnustep-base.so.1.24()(64bit), but none of the providers can be installed
  - cannot install both gnustep-base-libs-1.28.0-3.el8.x86_64 and gnustep-base-libs-1.24.9-1.el8.x86_64
  - cannot install both gnustep-base-libs-1.24.9-1.el8.x86_64 and gnustep-base-libs-1.28.0-3.el8.x86_64
  - cannot install the best update candidate for package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64
  - cannot install the best update candidate for package gnustep-base-libs-1.24.9-1.el8.x86_64
Problem 2: package sogo-5.5.1.20220409-1.el8.x86_64 requires sope49-sbjson, but none of the providers can be installed
  - package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64 requires libgnustep-base.so.1.24()(64bit), but none of the providers can be installed
  - cannot install both gnustep-base-libs-1.28.0-3.el8.x86_64 and gnustep-base-libs-1.24.9-1.el8.x86_64
  - cannot install both gnustep-base-libs-1.24.9-1.el8.x86_64 and gnustep-base-libs-1.28.0-3.el8.x86_64
  - package gnustep-base-1.28.0-3.el8.x86_64 requires libgnustep-base.so.1.28()(64bit), but none of the providers can be installed
  - package gnustep-base-1.28.0-3.el8.x86_64 requires gnustep-base-libs(x86-64) = 1.28.0-3.el8, but none of the providers can be installed
  - cannot install the best update candidate for package sogo-5.5.1.20220409-1.el8.x86_64
  - cannot install the best update candidate for package gnustep-base-1.24.9-1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)



Tried --nobest option, and it shows then the next message:


[root@iredmail ~]# dnf update --nobest
Last metadata expiration check: 2:20:59 ago on Sat 09 Apr 2022 08:03:20 PM CEST.
Dependencies resolved.

Problem 1: package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64 requires libgnustep-base.so.1.24()(64bit), but none of the providers can be installed
  - cannot install both gnustep-base-libs-1.28.0-3.el8.x86_64 and gnustep-base-libs-1.24.9-1.el8.x86_64
  - cannot install both gnustep-base-libs-1.24.9-1.el8.x86_64 and gnustep-base-libs-1.28.0-3.el8.x86_64
  - cannot install the best update candidate for package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64
  - cannot install the best update candidate for package gnustep-base-libs-1.24.9-1.el8.x86_64
Problem 2: package sogo-5.5.1.20220409-1.el8.x86_64 requires sope49-sbjson, but none of the providers can be installed
  - package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64 requires libgnustep-base.so.1.24()(64bit), but none of the providers can be installed
  - cannot install both gnustep-base-libs-1.28.0-3.el8.x86_64 and gnustep-base-libs-1.24.9-1.el8.x86_64
  - cannot install both gnustep-base-libs-1.24.9-1.el8.x86_64 and gnustep-base-libs-1.28.0-3.el8.x86_64
  - package gnustep-base-1.28.0-3.el8.x86_64 requires libgnustep-base.so.1.28()(64bit), but none of the providers can be installed
  - package gnustep-base-1.28.0-3.el8.x86_64 requires gnustep-base-libs(x86-64) = 1.28.0-3.el8, but none of the providers can be installed
  - cannot install the best update candidate for package sogo-5.5.1.20220409-1.el8.x86_64
  - cannot install the best update candidate for package gnustep-base-1.24.9-1.el8.x86_64
=====================================================================================================================================================================================================================
Package                                                   Architecture                                   Version                                                 Repository                                    Size
=====================================================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
gnustep-base-libs                                         x86_64                                         1.28.0-3.el8                                            epel                                         2.6 M
Skipping packages with broken dependencies:
gnustep-base                                              x86_64                                         1.28.0-3.el8                                            epel                                         280 k

Transaction Summary
=====================================================================================================================================================================================================================
Skip  2 Packages

Nothing to do.
Complete!


So, --nobest did not help.  Tried

[root@iredmail ~]# dnf update --allowerasing
Last metadata expiration check: 2:27:11 ago on Sat 09 Apr 2022 08:03:20 PM CEST.
Dependencies resolved.
=====================================================================================================================================================================================================================
Package                                               Architecture                               Version                                                            Repository                                 Size
=====================================================================================================================================================================================================================
Upgrading:
gnustep-base                                          x86_64                                     1.28.0-3.el8                                                       epel                                      280 k
gnustep-base-libs                                     x86_64                                     1.28.0-3.el8                                                       epel                                      2.6 M
Removing dependent packages:
sogo                                                  x86_64                                     5.5.1.20220409-1.el8                                               @SOGo                                      55 M
sogo-activesync                                       x86_64                                     5.5.1.20220409-1.el8                                               @SOGo                                     631 k
sogo-tool                                             x86_64                                     5.5.1.20220409-1.el8                                               @SOGo                                     259 k
sope49-sbjson                                         x86_64                                     2.3.1-20220409_1664.el8.1.1                                        @SOGo                                      67 k

Transaction Summary
=====================================================================================================================================================================================================================
Upgrade  2 Packages
Remove   4 Packages

Total download size: 2.9 M
Is this ok [y/N]:

It has issue with sogo, clicked Y and removed it.

We planned to use iredmail as production server after some trial testing. Can you take a look at the sogo issue ?
With Regards,
Andrei.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.5.2
- Deployed with iRedMail Easy or the downloadable installer? yes
- Linux/BSD distribution name and version: Rocky Linux release 8.5 (Green Obsidian)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): postgresql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

[root@iredmail ~]# sudo dnf update
Last metadata expiration check: 0:10:53 ago on Sat 09 Apr 2022 04:08:11 PM CEST.
Error:
Problem 1: package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64 requires libgnustep-base.so.1.24()(64bit), but none of the providers can be installed
  - cannot install both gnustep-base-libs-1.28.0-3.el8.x86_64 and gnustep-base-libs-1.24.9-1.el8.x86_64
  - cannot install both gnustep-base-libs-1.24.9-1.el8.x86_64 and gnustep-base-libs-1.28.0-3.el8.x86_64
  - cannot install the best update candidate for package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64
  - cannot install the best update candidate for package gnustep-base-libs-1.24.9-1.el8.x86_64
Problem 2: package sogo-5.5.1.20220409-1.el8.x86_64 requires sope49-sbjson, but none of the providers can be installed
  - package sope49-sbjson-2.3.1-20220409_1664.el8.1.1.x86_64 requires libgnustep-base.so.1.24()(64bit), but none of the providers can be installed
  - cannot install both gnustep-base-libs-1.28.0-3.el8.x86_64 and gnustep-base-libs-1.24.9-1.el8.x86_64
  - cannot install both gnustep-base-libs-1.24.9-1.el8.x86_64 and gnustep-base-libs-1.28.0-3.el8.x86_64
  - package gnustep-base-1.28.0-3.el8.x86_64 requires libgnustep-base.so.1.28()(64bit), but none of the providers can be installed
  - package gnustep-base-1.28.0-3.el8.x86_64 requires gnustep-base-libs(x86-64) = 1.28.0-3.el8, but none of the providers can be installed
  - cannot install the best update candidate for package sogo-5.5.1.20220409-1.el8.x86_64
  - cannot install the best update candidate for package gnustep-base-1.24.9-1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.

2

Re: dnf error on a fresh system after installing iredmail

It looks like you have issues with the repository that you are using, have you tried 'dnf clean all' allready?

3

Re: dnf error on a fresh system after installing iredmail

Not sure if you ever resolved this OP, but this happened the other day on my CentOS 8 Stream install as well. The problem arose because the epel.repo file located in /etc/yum.repos.d/ changed at some point during an update.

Add this line under the [epel] repo directive:

exclude=gnustep*

SOGo requires specific versions of gnustep to work. EPEL will serve you a newer version unless you tell it not to.