[Nut-upsuser] package clash with 'rhino'
Greg Troxel
gdt at lexort.com
Sun May 18 13:07:45 BST 2025
Eyal Lebedinsky <eyal at eyal.emu.id.au> writes:
> I am upgrading to f42.
>
> I get this failure doing "dnf system-upgrade download --releasever=42"
>
> 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
>
> Both packages contain a file with the same name.
>
> Is this problem being dealt with?
By who? I am unaware of it being raised here.
> What is the recommended way of dealing with this issue? I DO need 'nut' but do not know if I need 'rhino'.
Trying my mind-reading skills, seeing "f42" and "dnf", I would guess you
are using a packaging-system/GNU/Linux distribution "Fedora" :-)
But seriously, it looks like you are running into a Fedora packaging
issue, not a nut issue. I suggest you report this to Fedora.
It doesn't make sense to have /usr/bin/rhino in a package. Looking at
the nut packages in pkgsrc, I find:
ups-nut/PLIST:libexec/nut/rhino
ups-nut/PLIST:man/man8/rhino.8
and rhino(8) says this is a driver:
NAME
rhino - Driver for Brazilian Microsol RHINO UPS equipment
as opposed to some javascript package. I think rhino is new in 2.8.3.
nut's recommended build approach puts drivers in $prefix/libexec/nut, or
at least that's how pkgsrc does it.
More information about the Nut-upsuser
mailing list