[CentOS] Problem: cannot install the best update candidate for package pki-servlet-engine-1:9.0.30-3.module_el8.5.0+854+e1c92b81.noarch

Sun Oct 1 06:56:02 UTC 2023
Fabian Arrotin <arrfab at centos.org>

On 30/09/2023 21:03, Jelle de Jong wrote:
> Hello everybody,
> 
> On 9/30/23 17:37, Fabian Arrotin wrote:
>> On 30/09/2023 16:08, Jelle de Jong wrote:
>>> Hello everybody,
>>>
>>> It has been almost a full month now and the issue with tomcat is 
>>> still present. How should I report this issue and what is going on 
>>> with the qa?
>>>
>>> # yum upgrade --refresh
>>> CentOS Stream 8 - AppStream
>>>                                                               8.4 
>>> kB/s | 4.4 kB     00:00
>>> CentOS Stream 8 - AppStream
>>>                                                               6.9 
>>> MB/s |   33 MB     00:04
>>> CentOS Stream 8 - BaseOS
>>>                                                                71 
>>> kB/s | 3.9 kB     00:00
>>> CentOS Stream 8 - BaseOS
>>>                                                                13 
>>> MB/s |   48 MB     00:03
>>> CentOS Stream 8 - Extras
>>>                                                                56 
>>> kB/s | 2.9 kB     00:00
>>> CentOS Stream 8 - Extras common packages
>>>                                                                13 
>>> kB/s | 3.0 kB     00:00
>>> CentOS Stream 8 - PowerTools
>>>                                                                63 
>>> kB/s | 4.4 kB     00:00
>>> CentOS Stream 8 - PowerTools
>>>                                                               5.7 
>>> MB/s | 6.5 MB     00:01
>>> Extra Packages for Enterprise Linux 8 - x86_64
>>>                                                                37 
>>> kB/s |   14 kB     00:00
>>> Extra Packages for Enterprise Linux 8 - x86_64
>>>                                                               5.6 
>>> MB/s |   16 MB     00:02
>>> Extra Packages for Enterprise Linux 8 - Next - x86_64
>>>                                                               460 
>>> kB/s |   33 kB     00:00
>>> Error:
>>>   Problem: cannot install the best update candidate for package 
>>> pki-servlet-engine-1:9.0.30-3.module_el8.5.0+854+e1c92b81.noarch
>>>    - both package tomcat-el-3.0-api-1:9.0.62-12.el8.noarch and 
>>> tomcat-lib-1:9.0.62-12.el8.noarch obsolete pki-servlet-engine
>>>    - package tomcat-jsp-2.3-api-1:9.0.62-12.el8.noarch requires 
>>> tomcat-servlet-4.0-api = 1:9.0.62-12.el8, but none of the providers 
>>> can be installed
>>>    - package tomcat-lib-1:9.0.62-12.el8.noarch requires 
>>> tomcat-servlet-4.0-api = 1:9.0.62-12.el8, but none of the providers 
>>> can be installed
>>>    - package tomcat-servlet-4.0-api-1:9.0.62-12.el8.noarch is 
>>> filtered out by modular filtering
>>> (try to add '--skip-broken' to skip uninstallable packages or 
>>> '--nobest' to use not only best candidate packages)
>>>
>>> Kind regards,
>>>
>>> Jelle de Jong
>>>
>>
>> Tried to install on a stream8 container and it seems to work ;
>>
>> sudo dnf install tomcat-servlet-4.0-api
>> Last metadata expiration check: 0:01:26 ago on Sat Sep 30 17:32:34 2023.
>> Dependencies resolved.
>> =======================================================================================================================================
>>   Package                                  Architecture 
>> Version                           Repository                   Size
>> =======================================================================================================================================
>> Installing:
>>   tomcat-servlet-4.0-api                   noarch 
>> 1:9.0.62-14.el8                   appstream                   286 k
>>
>> Transaction Summary
>> =======================================================================================================================================
>> Install  1 Package
>>
>> Total download size: 286 k
>> Installed size: 609 k
>>
>> But what I see in your output is this :
>>   package tomcat-servlet-4.0-api-1:9.0.62-12.el8.noarch is filtered 
>> out by modular filtering
>>
>> So it seems you don't use plain/vanilla yum/dnf config for your 
>> repositories or modules ?
> 
> The package seems to be conflicting with ipa-server packages.
> 
> 
> # yum update --refresh --nobest
> CentOS Stream 8 - AppStream
>                                                                17 kB/s | 
> 4.4 kB     00:00
> CentOS Stream 8 - BaseOS
>                                                                17 kB/s | 
> 3.9 kB     00:00
> CentOS Stream 8 - Extras
>                                                                16 kB/s | 
> 2.9 kB     00:00
> CentOS Stream 8 - Extras common packages
>                                                                13 kB/s | 
> 3.0 kB     00:00
> CentOS Stream 8 - PowerTools
>                                                                67 kB/s | 
> 4.4 kB     00:00
> Extra Packages for Enterprise Linux 8 - x86_64
>                                                                52 kB/s | 
>   28 kB     00:00
> Extra Packages for Enterprise Linux 8 - Next - x86_64
>                                                               394 kB/s | 
>   33 kB     00:00
> Dependencies resolved.
> 
>   Problem: cannot install the best update candidate for package 
> pki-servlet-engine-1:9.0.30-3.module_el8.5.0+854+e1c92b81.noarch
>    - both package tomcat-el-3.0-api-1:9.0.62-12.el8.noarch from 
> appstream and tomcat-lib-1:9.0.62-12.el8.noarch from appstream obsolete 
> pki-servlet-engine
>    - package tomcat-jsp-2.3-api-1:9.0.62-12.el8.noarch from appstream 
> requires tomcat-servlet-4.0-api = 1:9.0.62-12.el8, but none of the 
> providers can be installed
>    - package tomcat-lib-1:9.0.62-12.el8.noarch from appstream requires 
> tomcat-servlet-4.0-api = 1:9.0.62-12.el8, but none of the providers can 
> be installed
>    - package tomcat-servlet-4.0-api-1:9.0.62-12.el8.noarch from 
> appstream is filtered out by modular filtering
> ==============================================================================================================================================================================================================================================
>   Package Architecture                                       Version 
>                                           Repository 
>                          Size
> ==============================================================================================================================================================================================================================================
> Skipping packages with broken dependencies:
>   tomcat-jsp-2.3-api                                             noarch 
>                                             1:9.0.62-12.el8 
>                                    appstream                  65 k
>   tomcat-lib                                                     noarch 
>                                             1:9.0.62-12.el8 
>                                    appstream                 5.9 M
> 
> Transaction Summary
> ==============================================================================================================================================================================================================================================
> Skip  2 Packages
> 
> Nothing to do.
> Complete!
> # sudo dnf install tomcat-servlet-4.0-api  --allowerasing
> Last metadata expiration check: 0:00:07 ago on Sat Sep 30 21:02:08 2023.
> Dependencies resolved.
> ==============================================================================================================================================================================================================================================
>   Package Architecture                                Version 
>                                                    Repository 
>                             Size
> ==============================================================================================================================================================================================================================================
> Installing:
>   tomcat-servlet-4.0-api                                      noarch 
>                                   1:9.0.62-14.el8 
>                                          appstream                 286 k
> Removing dependent packages:
>   ipa-server                                                  x86_64 
>                                   4.9.12-8.module_el8+672+ba1cd518 
>                                          @appstream                 1.1 M
>   ipa-server-trust-ad                                         x86_64 
>                                   4.9.12-8.module_el8+672+ba1cd518 
>                                          @appstream                 340 k
>   pki-acme                                                    noarch 
>                                   10.12.0-3.module_el8.7.0+1172+b9bb9c8d 
>                                          @appstream                 2.8 M
>   pki-base-java                                               noarch 
>                                   10.12.0-3.module_el8.7.0+1172+b9bb9c8d 
>                                          @appstream                 767 k
>   pki-ca                                                      noarch 
>                                   10.12.0-3.module_el8.7.0+1172+b9bb9c8d 
>                                          @appstream                 3.3 M
>   pki-kra                                                     noarch 
>                                   10.12.0-3.module_el8.7.0+1172+b9bb9c8d 
>                                          @appstream                 617 k
>   pki-server                                                  noarch 
>                                   10.12.0-3.module_el8.7.0+1172+b9bb9c8d 
>                                          @appstream                 6.0 M
>   pki-servlet-4.0-api                                         noarch 
>                                   1:9.0.30-3.module_el8.5.0+854+e1c92b81 
>                                          @appstream                 332 k
>   pki-servlet-engine                                          noarch 
>                                   1:9.0.30-3.module_el8.5.0+854+e1c92b81 
>                                          @appstream                 6.4 M
>   pki-tools                                                   x86_64 
>                                   10.12.0-3.module_el8.7.0+1172+b9bb9c8d 
>                                          @appstream                 1.4 M
>   resteasy                                                    noarch 
>                                   3.0.26-6.module_el8.4.0+595+e59c9af2 
>                                          @appstream                 1.2 M
>   tomcatjss                                                   noarch 
>                                   7.7.1-1.module_el8.6.0+1038+e795ee4b 
>                                          @appstream                  76 k
> 
> Transaction Summary
> ==============================================================================================================================================================================================================================================
> Install   1 Package
> Remove   12 Packages
> 
> Total download size: 286 k
> Is this ok [y/N]: n
> Operation aborted.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Then a ticket on issues.redhat.com would be the way to go :)
See https://wiki.centos.org/ReportBugs.html and so that would mean 
https://issues.redhat.com/secure/CreateIssueDetails!init.jspa?pid=12332745&issuetype=1&versions=12410187 
for the correct link for Stream 8


-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | @arrfab[@fosstodon.org]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20231001/1ccede06/attachment.sig>