Dnf upgrade problem with libx86emu

Hi, in the last two days, when I run the daily “sudo dnf upgrade” I get this messagge:
Error:
Problem: cannot install both libx86emu-3.5-1.el8.x86_64 and libx86emu-1.11-10.el8.x86_64

  • package hwinfo-21.80-2.el8.x86_64 requires libx86emu.so.1()(64bit), but none of the providers can be installed
  • cannot install the best update candidate for package libx86emu-1.11-10.el8.x86_64
  • cannot install the best update candidate for package hwinfo-21.47-9.el8.x86_64
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Is it safe to work around this by adding one of the suggested parameters?

What do you get with sudo dnf list libx86emu?

Installed Packages
libx86emu.x86_64 1.11-10.el8 @epel
Available Packages
libx86emu.x86_64 3.5-1.el8 epel

I’m seeing the identical problem. A bit more information:

# repoquery -l libx86emu-3.5-1.el8.x86_64
Last metadata expiration check: 1:07:32 ago on Sat 02 Apr 2022 16:41:08 BST.
/usr/lib/.build-id
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/0a33d005a07c95f07cf51d138ad05c53c1e91e
/usr/lib64/libx86emu.so.3
/usr/lib64/libx86emu.so.3.5
/usr/share/doc/libx86emu
/usr/share/doc/libx86emu/README.md
/usr/share/licenses/libx86emu
/usr/share/licenses/libx86emu/LICENSE
# repoquery -l libx86emu-1.11-10.el8.x86_64
Last metadata expiration check: 1:08:14 ago on Sat 02 Apr 2022 16:41:08 BST.
# ls -l /usr/lib64/libx86emu.so*
lrwxrwxrwx 1 root root     17 Oct 11  2019 /usr/lib64/libx86emu.so.1 -> libx86emu.so.1.11
-rwxr-xr-x 1 root root 152496 Oct 11  2019 /usr/lib64/libx86emu.so.1.11
# dnf clean all
76 files removed
# dnf list libx86emu
... (repos listed)
Installed Packages
libx86emu.x86_64                                               1.11-10.el8                                               @epel
Available Packages
libx86emu.x86_64                                               3.5-1.el8                                                 epel 

Dad’s Taxi is required, I’ll be getting back to this later.

The problem is in the hwinfo package. First I ran dnf remove libx86emu.x86_64 and the only dependency reported was hwinfo, so I went ahead and removed both. Next I tried installing hwinfo:

# dnf install hwinfo
Last metadata expiration check: 0:28:59 ago on Sat 02 Apr 2022 17:52:59 BST.
Error: 
 Problem: conflicting requests
  - nothing provides libx86emu.so.1()(64bit) needed by hwinfo-21.80-2.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Note that it’s still asking for libx86emu.so.1. I installed libx86emu.x86_64 which went fine. I then retried installing hwinfo with the same result. Finally I did todays dnf update which ran through happily.

Hi MartinR, thanks for you quick response.
I’ve followed your steps, but when I’ve tried to install hwinfo (after dis-installed it and installed libx86emu-3.5-1), I get the same message (“conflicting requests - nothing provides libx86emu.so.1() …”).
Nevertheless, now the upgrade runs nicely.
Have you some suggests that allows me to reinstall hwinfo?

No. It’s a problem with the packaging of hwinfo. You’ll need to contact the maintainer for the package in EPEL. I can live without it so I’ve not pursued it further.

Ok MartinR, thank you again for your support. Have a nice day

UPDATE: The bug has been raised and acknowledged in RH Bugzilla. I’ve added myself to the CC list. The fix is currently in EPEL-testing, I’ll report back once it goes live.

1 Like

Hi Martin, thanks again. I’ll wait your feedback.

You reminded me to check back. It’s been pushed to EPEL stable and is now available, I’ve just installed it again.

I’ve also installed it, just after viewing your response. Good work Martin