On 17/5/25 22:49, Jeffrey Walton wrote:
On Sat, May 17, 2025 at 8:28 AM <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.

Related, see <https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin>.
Unfortunately, the document does not provide troubleshooting or
workaround steps.

Yes, I referred to this above as "bin vs sbin artifact".
I checked and this is the only file present in both directories where neither 
is a symlink.

I added a comment in the redhat bugzilla
        https://bugzilla.redhat.com/show_bug.cgi?id=2267022#c17

Jeff

--
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