Fresh install in Ro...
 
Notifications
Clear all

[Solved] Fresh install in Rocky 8 rpm error carbonio-perl-xml-sax not found

20 Posts
6 Users
3 Likes
462 Views
(@cleverflores)
Joined: 2 years ago
Posts: 15
Topic starter  
dnf install service-discover-server

root@mail.domain.com:~# dnf -y install service-discover-server
Error:  
Problema: cannot install the best candidate for the job
 - package service-discover-server-0.1.9-1.el8.x86_64 from zextras requires service-discover-daemon, but none of the providers can be installed
 - package service-discover-agent-0.1.9-1.el8.x86_64 from zextras requires service-discover-daemon, but none of the providers can be installed
 - package service-discover-daemon-0.1.9-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
 - package service-discover-daemon-0.1.8-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
 - package carbonio-core-4.0.36-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
 - package carbonio-core-4.0.33-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
 - package carbonio-perl-xml-simple-2.25-2.el8.x86_64 from zextras requires carbonio-perl-xml-sax-expat, but none of the providers can be installed
 - nothing provides carbonio-perl-xml-sax needed by carbonio-perl-xml-sax-expat-0.51-2.el8.x86_64 from zextras


   
dajoramos reacted
Quote
(@sharif)
Admin
Joined: 2 years ago
Posts: 406
 

@cleverflores

Hi,

As of now, CentOS, Rocky Linux, Alma Linux, and Debian are not officially supported operating systems (OS) for Carbonio CE. Installation on Rocky Linux is strongly discouraged due to potential compatibility issues. It's advised to utilize officially supported OS such as Ubuntu 20.04LTS or RHEL8, as mentioned in the official documentation. Considering this article's timing, it's recommended to refer to the current official documentation and use the supported OS to avoid complications during installation.

I don't wanna dishearten you more but in short, over time we observed that using other OS creates unprecedented dependency issues and complications, hence we recommend sticking to the official guidelines.

I hope you would understand.

Regards,

Sharif


   
ReplyQuote
(@kornel)
Joined: 3 months ago
Posts: 16
 

@sharif

Hi,

May be You make deps for carbonio-perl-xml-sax-expat as carbonio-perl-xml-sax, but may be needed carbonio-perl-xml-sax-base?


   
ReplyQuote
(@kornel)
Joined: 3 months ago
Posts: 16
 

Sorry, it's not a problem.

Also it's not problem of linux distribution. Repo don't have carbonio-perl-xml-sax package.


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 406
 

@kornel 

Hi,

Currently, our primary focus is on preparing Carbonio CE for compatibility with Ubuntu 22.04 LTS and RHEL9. While there are various factors involved in ensuring package and dependency availability for Rocky Linux 8, our immediate priority lies in the aforementioned distributions. Hence, we kindly ask you to utilize either Ubuntu or RHEL for the time being.

I hope you would understand.

Regards,

Sharif 


   
ReplyQuote
(@kornel)
Joined: 3 months ago
Posts: 16
 

@sharif 

Like I said, this is not Rocky's problem. This is the Carbonio's repository issue (RHEL 8.9):

[root@mail-rhel-neolabs-net ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 (Ootpa)
[root@mail-rhel-neolabs-net ~]# wget  https://repo.zextras.io/inst_repo_rhel8.sh  # Carbonio repo
--2024-02-08 08:52:03--   https://repo.zextras.io/inst_repo_rhel8.sh 
Resolving repo.zextras.io (repo.zextras.io)... 52.85.49.62, 52.85.49.117, 52.85.49.124, ...
Connecting to repo.zextras.io (repo.zextras.io)|52.85.49.62|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 741 [application/x-shellscript]
Saving to: ‘inst_repo_rhel8.sh’

inst_repo_rhel8.sh                                   100%[=====================================================================================================================>]     741  --.-KB/s    in 0s      

2024-02-08 08:52:05 (22.2 MB/s) - ‘inst_repo_rhel8.sh’ saved [741/741]

[root@mail-rhel-neolabs-net ~]# . ./inst_repo_rhel8.sh 
/etc/yum.repos.d/zextras.repo does not exist, it will be added to the list of repositories.
Carbonio Repositories has been successufilly installed
[root@mail-rhel-neolabs-net ~]# dnf install service-discover-server carbonio-directory-server
Updating Subscription Management repositories.
zextras                                                                                                                                                                            1.3 kB/s | 824  B     00:00    
zextras                                                                                                                                                                             20 kB/s | 5.3 kB     00:00    
Importing GPG key 0x3E584A21:
 Userid     : "Zextras SRL <packages@zextras.com>"
 Fingerprint: 5DC7 680B C437 8C47 1A7F A80F 52FD 4024 3E58 4A21
 From       :  https://repo.zextras.io/repomd.xml.key 
Is this ok [y/N]: y
zextras                                                                                                                                                                             97 kB/s | 107 kB     00:01    
Error: 
 Problem 1: package carbonio-directory-server-4.12.0-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
  - package carbonio-core-4.0.36-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
  - package carbonio-core-4.0.33-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
  - package carbonio-perl-xml-simple-2.25-2.el8.x86_64 from zextras requires carbonio-perl-xml-sax-expat, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides carbonio-perl-xml-sax needed by carbonio-perl-xml-sax-expat-0.51-2.el8.x86_64 from zextras
 Problem 2: package service-discover-server-0.1.9-1.el8.x86_64 from zextras requires service-discover-daemon, but none of the providers can be installed
  - package service-discover-daemon-0.1.9-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
  - package service-discover-daemon-0.1.8-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
  - package carbonio-core-4.0.36-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
  - package carbonio-core-4.0.33-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
  - package carbonio-perl-xml-simple-2.25-2.el8.x86_64 from zextras requires carbonio-perl-xml-sax-expat, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides carbonio-perl-xml-sax needed by carbonio-perl-xml-sax-expat-0.51-2.el8.x86_64 from zextras
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@mail-rhel-neolabs-net ~]#

   
ReplyQuote
(@diito)
Joined: 5 months ago
Posts: 20
 

@kornel 

They are 100% lying when they say they support RHEL.  They don't even do basic testing on it.  The logrotated stuff doesn't work because they try to hup syslog when RHEL uses rsyslog instead.  I've submitted a diff to correct it here (since they have no other way to submit bugs!) and it's not been fixed.  With each update I have to re-apply the patch as the corrections are overwritten.  Also tasks, files, and chat don't work at all.  The first two because of a package issue.  Chat doesn't work at all on Unbuntu either... even though that was one of the new features in the last release.  It's a complete shit show. 

I can confirm that there used to be a carbonio-perl-xml-sax in the RHEL8 zextras repo and it is now missing.  This would absolutely break RHEL 8 installs too and is NOT a Rocky issue.

Also, saying you only officially support RHEL I get, but saying clones like Rocky/Alma won't work is just pure ignorance. 


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 406
 

@cleverflores

@kornel

@diito

Hi,

Could you please follow the sequence of instructions to perform the installation on RHEL8? 

Once I get your feedback, I consult with our teams directly. But I would request you to just try this one more time:

sudo sed -i 's/^SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo systemctl mask --now firewalld
reboot now

After reboot:

subscription-manager register
subscription-manager attach --auto
subscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpms
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms

sudo yum -y install  https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm 

# Add Zextras repository

yum clean all
yum repolist

dnf install wget -y
dnf clean all
dnf update -y && dnf upgrade -y

sudo hostnamectl set-hostname mail.domain.com

> /etc/hosts
echo "127.0.0.1 localhost" >> /etc/hosts
echo "$(hostname -i) $(hostname -f) $(hostname -s)" >> /etc/hosts

timedatectl set-timezone Asia/Dhaka

yum -y install  https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm 
dnf -qy module disable postgresql
dnf -y install postgresql12 postgresql12-server

/usr/pgsql-12/bin/postgresql-12-setup initdb
systemctl enable --now postgresql-12

sed -i '86s/ident/md5/' /var/lib/pgsql/12/data/pg_hba.conf

systemctl reload postgresql-12

read -s -p "Password:" DB_ADM_PWD

su - postgres -c "psql --command=\"CREATE ROLE carbonio_adm WITH LOGIN SUPERUSER encrypted password '$DB_ADM_PWD';\""
su - postgres -c "psql --command=\"CREATE DATABASE carbonio_adm owner carbonio_adm;\""

dnf install \
service-discover-server \
carbonio-directory-server \
carbonio-files-db \
carbonio-mailbox-db \
carbonio-docs-connector-db \
carbonio-tasks-db \
carbonio-proxy \
carbonio-webui \
carbonio-files-ui \
carbonio-tasks-ui \
carbonio-files-public-folder-ui \
carbonio-user-management \
carbonio-mta \
carbonio-appserver \
carbonio-storages-ce \
carbonio-files-ce \
carbonio-preview-ce \
carbonio-docs-connector-ce \
carbonio-tasks-ce \
carbonio-docs-editor \
carbonio-prometheus -y

carbonio-bootstrap

service-discover setup-wizard

pending-setups -a

PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap carbonio_adm 127.0.0.1
PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap carbonio_adm 127.0.0.1

dnf install carbonio-message-dispatcher-db -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap carbonio_adm 127.0.0.1

dnf install carbonio-message-dispatcher -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration carbonio_adm 127.78.0.10 20000

dnf install carbonio-message-broker -y
pending-setups -a

dnf install carbonio-ws-collaboration-db -y
pending-setups -a
PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap carbonio_adm 127.0.0.1

dnf install carbonio-ws-collaboration-ce -y
pending-setups -a

dnf install carbonio-videoserver-ce -y
pending-setups -a

dnf install carbonio-ws-collaboration-ui -y
su - zextras -c "carbonio prov mc default carbonioFeatureChatsEnabled TRUE"

systemctl enable carbonio-tasks
systemctl restart carbonio-tasks
systemctl enable carbonio-videoserver
systemctl restart carbonio-videoserver
systemctl restart carbonio-prometheus-nginx-exporter.service

consul members
su - zextras -c "zmcontrol -v"
su - zextras -c "zmcontrol restart"
su - zextras -c "zmcontrol status"
systemctl list-units carbonio*
reboot now

After reboot restart these:

systemctl restart carbonio-message-broker
systemctl restart carbonio-videoserver
systemctl restart carbonio-ws-collaboration
systemctl restart carbonio-message-dispatcher

Please let me know your feedback.

I will be waiting.

Regards,

Sharif


   
ReplyQuote
(@kornel)
Joined: 3 months ago
Posts: 16
 

Posted by: @sharif

dnf install \ service-discover-server \ carbonio-directory-server \ carbonio-files-db \ carbonio-mailbox-db \ carbonio-docs-connector-db \ carbonio-tasks-db \ carbonio-proxy \ carbonio-webui \ carbonio-files-ui \ carbonio-tasks-ui \ carbonio-files-public-folder-ui \ carbonio-user-management \ carbonio-mta \ carbonio-appserver \ carbonio-storages-ce \ carbonio-files-ce \ carbonio-preview-ce \ carbonio-docs-connector-ce \ carbonio-tasks-ce \ carbonio-docs-editor \ carbonio-prometheus

Last metadata expiration check: 1:02:07 ago on Fri 09 Feb 2024 02:04:45 PM +06.
No match for argument: carbonio-prometheus
Error: Unable to find a match: carbonio-prometheus
[root@mail-ldap ~]# dnf search carbonio-prometheus
Last metadata expiration check: 1:02:28 ago on Fri 09 Feb 2024 02:04:45 PM +06.
======================================================================================== Name Matched: carbonio-prometheus ========================================================================================
carbonio-prometheus-alertmanager.x86_64 : Alert manager exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-blackbox-exporter.x86_64 : Blackbox exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-clamav-exporter.x86_64 : Prometheus-Exporter for ClamAV
carbonio-prometheus-consul-exporter.x86_64 : Consul exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-mysqld-exporter.x86_64 : Mysqld exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-nginx-exporter.x86_64 : Nginx exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-node-exporter.x86_64 : Node exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-openldap-exporter.x86_64 : OpenLDAP exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-pgpool-exporter.x86_64 : Pgpool exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-postgres-exporter.x86_64 : Postgres exporter for open-source systems monitoring and alerting toolkit
carbonio-prometheus-process-exporter.x86_64 : Process exporter for open-source systems monitoring and alerting toolkit
[root@mail-ldap ~]#

If I not install carbonio-prometheus:

Error: 
 Problem 1: package carbonio-appserver-4.0.36-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
  - package carbonio-core-4.0.36-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
  - package carbonio-core-4.0.33-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
  - package carbonio-perl-xml-simple-2.25-2.el8.x86_64 from zextras requires carbonio-perl-xml-sax-expat, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides carbonio-perl-xml-sax needed by carbonio-perl-xml-sax-expat-0.51-2.el8.x86_64 from zextras
 Problem 2:
...

You have a problem in the the Carbonio's repository.


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 406
 

@kornel 

Hi,

You are using RHEL8, right?

Regards,

Sharif


   
ReplyQuote
(@kornel)
Joined: 3 months ago
Posts: 16
 

Posted by: @sharif

@kornel 

Hi,

You are using RHEL8, right?

Regards,

Sharif

Yes

[root@mail-ldap ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 (Ootpa)
[root@mail-ldap ~]#

 


   
ReplyQuote
(@younescope)
Joined: 3 months ago
Posts: 5
 

Is there any progress on the above problem? I'm using Oracle Linux 8 


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 406
 

@diito

Hi,

I hope you are in good health. I just want to say we are not liars. We do our best with the testing and checking but things can go wrong at any point. At that point, we expect help from our users by getting their constructive advice, experience, and technical logs to fix the issue soonest. But it's okay if you do not want to believe it. We can disagree, argue, and debate many things with trust and respect for other persons. But I can still understand if that is not your way. 

@younescope

@kornel

@diito

I am sorry for the inconvenience you faced. Due to some conflicting configurations, some packages were not able to get the rights/permission for public access. After fixing those rights/permissions for all the packages, now the installation works properly. Just try to follow the above-mentioned steps and let me know your feedback.

I checked in RHEL everything works fine except for some issues in the video chat that I am consulting with the dev teams.

In Ubuntu, All features working as expected.

Still, if you find any issues, please let us know.

 

I wish you a good day.

Take care.

 

Regards,

Sharif


   
anahuac reacted
ReplyQuote
(@younescope)
Joined: 3 months ago
Posts: 5
 

I just ran the command below and the output is still same

[root@mail ~]# dnf install service-discover-server
Last metadata expiration check: 1 day, 22:23:25 ago on Thu 08 Feb 2024 05:51:30 PM +03.
Error:
Problem: package service-discover-server-0.1.9-1.el8.x86_64 from zextras requires service-discover-daemon, but none of the providers can be installed
- package service-discover-daemon-0.1.9-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
- package service-discover-daemon-0.1.8-1.el8.x86_64 from zextras requires carbonio-core, but none of the providers can be installed
- package carbonio-core-4.0.36-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
- package carbonio-core-4.0.33-1.el8.x86_64 from zextras requires carbonio-perl-xml-simple, but none of the providers can be installed
- package carbonio-perl-xml-simple-2.25-2.el8.x86_64 from zextras requires carbonio-perl-xml-sax-expat, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides carbonio-perl-xml-sax needed by carbonio-perl-xml-sax-expat-0.51-2.el8.x86_64 from zextras
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

 

Regards


   
ReplyQuote
(@sharif)
Admin
Joined: 2 years ago
Posts: 406
 

@younescope 

Hi,

I can see your last metadata expiration check was on: 08 Feb 2024

Could you please execute:

dnf clean all

Then again try to install it:

dnf install service-discover-server

I checked it's availability yesterday after the fix as well as today:

[root@mail ~]# yum search service-discover-server
Updating Subscription Management repositories.
Last metadata expiration check: 0:03:48 ago on Sat 10 Feb 2024 09:01:14 PM +06.
============================================================================================= Name Exactly Matched: service-discover-server =============================================================================================
service-discover-server.x86_64 : Service discover server cli
[root@mail ~]#

Let me know what you get.

Have a good day.

Regards,

Sharif


   
ReplyQuote
Page 1 / 2