upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
baroth
Posts: 2
Joined: Wed Feb 05, 2025 11:32 am
Location: Poland, Tarnow

upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by baroth »

hello

Can I ask someone for help ?

I am performing an upgrade from Zimbra 10.1.9 to 10.1.11 using https://github.com/ianw1974/zimbra-build-scripts

The build process completes successfully, but I encounter an issue during the installation process. Can someone help me?

cat /tmp/install.log
ERROR: Unable to install required packages
WARNING: REMOTE PACKAGE INSTALLATION FAILED.
zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required by zimbra-store-10.1.11_GA_0425.RHEL8_64-20251029124621.x86_64

i have Rocky Linux release 8.10

[root@serv ~]# dnf info zimbra-jetty-distribution
Ostatnio sprawdzono ważność metadanych: 0:28:19 temu w dniu śro, 29 paź 2025, 13:33:52.
Zainstalowane pakiety
Nazwa : zimbra-jetty-distribution
Wersja : 9.4.46.v20220331
Wydanie : 2.r8
Architektura : x86_64
Rozmiar : 21 M
Źródło : zimbra-jetty-distribution-9.4.46.v20220331-2.r8.src.rpm
Repozytorium : @System
Z repoz. : zimbra-1000-oss
Podsumowanie : Zimbra's jetty-distribution build
Adres URL : https://www.eclipse.org/jetty/
Licencja : Apache-2.0
Opis : The Zimbra jetty-distribution build

now i have zimbra-1000-oss disabled

[root@serv ~]# dnf repolist all | grep zimbra
zimbra Zimbra RPM Repository disabled
zimbra-1000-oss Zimbra New RPM Repository disabled
zimbra-1010-oss Zimbra 1010 OSS RPM Repository enabled

best regards
liverpoolfcfan
Elite member
Elite member
Posts: 1217
Joined: Sat Sep 13, 2014 12:47 am

Re: upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by liverpoolfcfan »

I believe you should not have disabled the 2 "old" zimbra repositories. Many packages are still pulled from them.

This is our repolist after running an upgrade

$ dnf repolist all | grep zimbra
zimbra Zimbra RPM Repository enabled
zimbra-1000-oss Zimbra New RPM Repository enabled
zimbra-1010-oss Zimbra 1010 OSS RPM Repository enabled

In our case the zimbra-jetty-distribution version shows a different version than you quoted but, you can see it is sourced from the @zimbra-1000-oss repo even though this is zimbra 10.1.10

zimbra-jetty-distribution.x86_64 9.4.46.v20220331-2.r8 @zimbra-1000-oss
liverpoolfcfan
Elite member
Elite member
Posts: 1217
Joined: Sat Sep 13, 2014 12:47 am

Re: upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by liverpoolfcfan »

If you check this page https://github.com/Zimbra/zm-mailbox/tags you will see that the latest TAG for the FOSS repo is 10.1.10

Ian's build scripts pull from the github develop branch which means they are pulling code that has not been formally released yet. It is likely the required jetty will not be posted to the repo until the new build is tagged in github. That jetty version is likely for the next release.
baroth
Posts: 2
Joined: Wed Feb 05, 2025 11:32 am
Location: Poland, Tarnow

Re: upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by baroth »

Thank you for helping me

I enabled the “old” Zimbra repositories, but the issue is still the same.
I also tried compiling and installing Zimbra 10.1.10, since you’re right — those sources are available.

[root@serv tmp]# dnf repolist enabled |grep zimbra
zimbra Zimbra RPM Repository
zimbra-1000-oss Zimbra New RPM Repository
zimbra-1010-oss Zimbra 1010 OSS RPM Repository

cat /tmp/install.log
...
zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 jest wymagane przez zimbra-store-10.1.10_GA_0425.RHEL8_64-20251030091735.x86_64


best regards
User avatar
adrian.gibanel.btactic
Outstanding Member
Outstanding Member
Posts: 506
Joined: Thu Jan 30, 2014 11:13 am
Contact:

Re: upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by adrian.gibanel.btactic »

baroth wrote: Thu Oct 30, 2025 9:40 am I also tried compiling and installing Zimbra 10.1.10, since you’re right — those sources are available.
If you use ianw1974 build scripts to try to build 10.1.10 you are going to get your already built "10.1.11" but with another label. Not actually a big difference on what's going to be inside of the tgz (unless new commits are pushed to develop branch, that is).

I recommend you to use a build script based on tags. You can find some of them at ZimbraFossBuildersList wiki page.
User avatar
jered
Advanced member
Advanced member
Posts: 112
Joined: Sat Sep 13, 2014 12:35 am
Location: Somerville, MA

Re: upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by jered »

The issue you are running into is that Ian's scripts do not build a specific release from the GitHub repos but rather the "develop" branch for the various repos. So you are pulling in this commit from October 9 that changes the format of jetty.xml.in because of a breaking change in the config file between 9.4.46 and 9.4.57. (https://github.com/Zimbra/zm-jetty-conf ... 34dbeba4bb)

There is a similar commit so that the develop branch requires the compatible version of zimbra-jetty-distribution, but it was not published until 10.1.13 was released today.

As of today, you should now be able to build from "develop" and have the necessary dependencies. This is a risk with building from develop -- you may find your build is not in a consistent state across repo pieces or upstream FOSS components.
User avatar
jered
Advanced member
Advanced member
Posts: 112
Joined: Sat Sep 13, 2014 12:35 am
Location: Somerville, MA

Re: upgrade from 10.1.9 -> 10.1.11 error zimbra-jetty-distribution >= 9.4.57.v20241219-2.r8 is required

Post by jered »

Here was the corresponding commit to zm-build: https://github.com/Zimbra/zm-build/comm ... 1c334fb315

The problem you've run into is that zm-build (as used) does not build the components from the Zimbra FOSS repos, so you may have a dependency on a version not yet published.
Post Reply