Cant update Rocky 9 - missing caca-utils

I’ve been getting this:

sudo dnf update --refresh

cuda-rhel9-x86_64                                                              36 kB/s | 3.5 kB     00:00    
ELRepo.org Community Enterprise Linux Repository - el9                        8.1 kB/s | 3.0 kB     00:00    
Extra Packages for Enterprise Linux 9 - x86_64                                 89 kB/s |  21 kB     00:00    
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64          4.6 kB/s | 993  B     00:00    
google-chrome                                                                  13 kB/s | 1.3 kB     00:00    
google-earth-pro                                                               21 kB/s | 1.3 kB     00:00    
NordVPN YUM repository - x86_64                                                11 kB/s | 2.5 kB     00:00    
NordVPN YUM repository - noarch                                                16 kB/s | 2.5 kB     00:00    
Rocky Linux 9 - BaseOS                                                         15 kB/s | 4.1 kB     00:00    
Rocky Linux 9 - AppStream                                                      17 kB/s | 4.5 kB     00:00    
Rocky Linux 9 - CRB                                                            19 kB/s | 4.5 kB     00:00    
Rocky Linux 9 - Extras                                                        5.4 kB/s | 2.9 kB     00:00    
RPM Fusion for EL 9 - Free - Updates                                           12 kB/s | 3.1 kB     00:00    
RPM Fusion for EL 9 - Nonfree - Updates                                        16 kB/s | 6.0 kB     00:00    
Error: 
 Problem: cannot install the best update candidate for package caca-utils-0.99-0.60.beta20.el9.x86_64
  - nothing provides toilet needed by caca-utils-0.99-0.69.beta20.el9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Tried --skip-broken and it didn’t work either

  • You do have that package installed (or something that new caca-utils would replace).
  • The EPEL repo seems to have package caca-utils-0.99-0.69.beta20.el9.x86_64
  • The caca-utils-0.99-0.69.beta20.el9.x86_64 is built so that it depends on package toilet
  • EPEL does not seem to have toilet

However, repo epel-testing seems to have a toilet. Whoever did build caca-utils for EPEL did already have a toilet available. That seems to be bad practice, i.e. EPEL should be notified about it.

For now, you can:

dnf --enablerepo=epel-testing install caca-utils

After that the rest of updates should succeed. The toilet (if it works) probably moves from epel-testing to epel in the future.

As you said, a package in “main” repo that depends on another on testing repo is a bad pratice. I had this same problem on Almalinux 9, so I think you can enable epel-testing to resolve it, or if you dont use caca-utils, I think the best way is removing it

Yes, it was mistakenly pushed to EPEL without the maintainer realizing toilet was not there.

https://bugzilla.redhat.com/show_bug.cgi?id=2243786

It will go to Stable tomorrow – https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-e17e7a7e9f

3 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.