On 17/5/25 22:28, fed...@eyal.emu.id.au wrote:
Doing an upgrade, following the recommended doco.

At the step
     $ sudo dnf system-upgrade download --releasever=42 --setopt=keepcache=1
(even with --allowerasing)

I get

2025-05-17T21:13:37+1000 CRITICAL Error: Transaction test error:
   file /usr/bin/rhino conflicts between attempted installs of 
rhino-1.7.14-14.fc42.noarch and nut-2.8.3-1.fc42.x86_64

Turns out both packages contain a file with this name but not in the same 
directory.

Is this a bin vs sbin artifact?
     the nut   package includes /usr/sbin/rhino
         Driver for Brazilian Microsol RHINO UPS equipment
     the rhino package includes /usr/bin/rhino
         invokes the JavaScript shell for running scripts in batch mode or 
interactive

I decided to remove the package 'rhino' which did not remove anything else (so 
nobody needs it?).
maybe other programs need /usr/bin/rhino but fail to declare the dependency. I 
can add rhino later if required.

I need 'nut' and do not want to remove it.

What is the correct way to resolve this problem?
Can I leave rhino installed but exclude it from the upgrade?

Tomorrow I will do the upgrade reboot and hope all goes well.

It is now Tomorrow and the upgrade was done. So far it looks OK.

I raised the issue on the relevant lists and it should be resolved in due time.

I still wonder which package actually uses rhino as everything seems to work 
after I removed it.

--
Eyal at Home (fed...@eyal.emu.id.au)
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to