Update on CentOS 8

  • Used Zammad version: zammad-3.7.0-1612175851.c4a237a2.centos8.x86_64
  • Used Zammad installation source: RPM
  • Operating system: CentOS 8
  • Browser + version: Firefox

Hello!

have successfully installed and used the above version.
For a few weeks now I have been getting the following error messages when updating:

Fehler:
Problem: cannot install the best update candidate for package zammad-.7.0-1612175851.c4a237a2.centos8.x86_64

  • nothing provides elasticsearch|elasticsearch-oss needed by zammad-.7.0-1616475717.2e8415d5.centos8.x86_64
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Elasticsearch (elasticsearch-7.12.0-1.x86_64) is installed and works with the installed Zammad version!

How can I solve the problem?

Thanks for your help!

Hello Andreas,

do you have the Elasticsearch repo on your systems and is it enabled?

Best,
Martin

Hello Martin,

Elasticsearch Repo 7.x is active and provides updates without any problems.

Thanks,
Andreas

Version 3.7 has not yet been released.

Change your repo and try again:
baseurl=https://artifacts.elastic.co/packages/oss-7.x/yum

Hello!

I tested it with “baseurl = https: //artifacts.elastic.co/packages/7.x/yum” and “baseurl = https: //artifacts.elastic.co/packages/oss-7.x/yum” .
I have uninstalled Elasticsearch and installed Elasticsearch-oss,
always the same mistake …

Do you have another idea?

Thanks for your help!

It seems that this commit broke the rpm packages as rpms handle alternatives different than debs:

Requires: elasticsearch|elasticsearch-oss

should be

Requires: (elasticsearch or elasticsearch-oss)

but not sure if packager.io can handle that

2 Likes

Is there anything I can do or test to solve this problem?

Many Thanks …

Already working on it. I keep you updated folks :+1: Thanks @mafn - I think this helps. Currently evaluating the change.

Current only workaround is to break dependencies.
Your package manager already provides you hints on how to do that, if you want to.

[root@zammad ~]# yum update --skip-broken
Fehler:
Problem: cannot install the best update candidate for package zammad-3.7.0-1612175851.c4a237a2.centos8.x86_64

  • nothing provides elasticsearch|elasticsearch-oss needed by zammad-4.1.0-1616654558.c4ecbb75.centos8.x86_64
    (try to add ‘–nobest’ to use not only best candidate packages)
    [root@zammad ~]#

[root@zammad ~]# yum update --nobest
Abhängigkeiten sind aufgelöst.
Problem: cannot install the best update candidate for package zammad-3.7.0-1612175851.c4a237a2.centos8.x86_64

  • nothing provides elasticsearch|elasticsearch-oss needed by zammad-4.1.0-1616654558.c4ecbb75.centos8.x86_64
    ========================================================================================================================
    Package Architecture Version Repository Size
    ========================================================================================================================
    Pakete mit nicht auflösbaren Abhängigkeiten werden übersprungen:
    zammad x86_64 4.1.0-1616654558.c4ecbb75.centos8 zammad-dev 253 M
    Transaktionsübersicht
    ========================================================================================================================
    Überspringen 1 Paket
    Nichts zu tun.
    Fertig.

I don’t know how Elasticsearch behaves then, does anyone have any experience?

Many Thanks …

This is new :slight_smile:
zammad-4.0.0-1616674376.a2954874.centos8.x86_64
zammad-4.0.0-1616674376.a2954874.centos7.x86_64

Error: Package: zammad-4.0.0-1616674376.a2954874.centos7.x86_64 (zammad)
           Requires: elasticsearch|elasticsearch-oss

Jeep, message came for the first time today …

This issue is actually resolved in the meantime but we can’t “roll it out” because we’re now affected by Ruby off the Rails: Code library yanked over license blunder, sparks chaos for half a million projects • The Register

We’re working hard on a fix. You can expect it tomorrow, maybe today. Fingers crossed that this is the end :slight_smile:

2 Likes

OK, thank you very much for the effort …

Andreas

Everything should be resolved in about 30 minutes from now once the build pipeline for each change has passed: https://packager.io/gh/zammad/zammad/refs/stable

Docker images will get fixed tomorrow.

1 Like

Appreciate the help and transparent status updates :slight_smile:

1 Like

Test since this morning, but keep getting the following error message:

Fehler: Fehler beim Herunterladen der Pakete:
Cannot download zammad-4.0.0-1616711796.64aca6cc.centos8.x86_64.rpm: All mirrors were tried

or

Errors during downloading metadata for repository ‘zammad’:

Keep testing …
Thank you …

Unfortunately you are right. We’re facing issues with our package build and distribution service packager.io. We’re working together with them to resolve the issue ASAP.

Hopefully this will be the last issue…

As far as we are aware the issue is solved by packager.io by now.

Hello!

“zammad-.0.0-1616767503.64aca6cc.centos8.x86_64” installed and tested.
Everything works fine …

Thank you all …
Andreas