Issue with updating system, conflict

Hi, I thought I’d upgrade my system to F43, so began by running dnf update. There were about 6GB in updates, so I went ahead with the update. In the middle of it, my system crashed (I had a lot going on at the time, probably shouldn’t have), and ever since have had conflicts in running update again. I got rid of i686 packages using dnf remove *.i686, but still am having issues with one update.

Transaction failed: Rpm transaction failed.

  • file /usr/share/licenses/systemd/LICENSE.LGPL2.1 from install of systemd-shared-257.10-1.fc42.x86_64 conflicts with file from package systemd-libs-257.3-7.fc42.x86_64

I’ve tried updating with dnf update --allow-erasing and dnf update --skip-broken. Upon dnf update --skip-broken, I am told there is no such command. With --allow-erasing, I get the same conflict error message that I’ve put here. I’ve also tried removing both packages, with even more conflicts.
Please let me know any outputs that you need to resolve this. I’d love to be able to update, and then upgrade the system to F43. This is the first time I’ve ever had issues with updating or upgrading, and I’ve been using Fedora now, since 36, have upgraded to new version fine, up until now. Forgive me if this is a worn-out issue, but I feel I’ve tried everything to resolve this (including disabling RPMFusion repos to no avail).
Thanks so much!

There must be more message lines than this one.

The issue is that when updating to systemd-shared-257.10-1.fc42.x86_64 the package systemd-libs should be updated as well. Usually, when running dnf upgrade systemd it will update all systemd related packages.

 Try sudo dnf distro-sync

Actually, there are, but they all show no problems, other than what I put here, and it is the very last line, that the RPM transaction failed with this line:

file /usr/share/licenses/systemd/LICENSE.LGPL2.1 from install of systemd-shared-257.10-1.fc42.x86_64 conflicts with file from package systemd-libs-257.3-7.fc42.x86_64

I’ve not yet started the F43 upgrade, but I’ll try it anyway. I’m merely trying to fully update F42.

Edit: Just ran it. It shows the same error at the end:
Running transaction
Transaction failed: Rpm transaction failed.

  • file /usr/share/licenses/systemd/LICENSE.LGPL2.1 from install of systemd-shared-257.10-1.fc42.x86_64 conflicts with file from package systemd-libs-257.3-7.fc42.x86_64

I’m still merely trying to fully update the F42 system, am not on the upgrade to 43 yet.
–skip-broken option doesn’t work any more.
-I tried --allow-erasing in this, it didn’t work. I still get the same error message.
-I tried --distro-sync, with the same error:
–Transaction failed: Rpm transaction failed.

  • file /usr/share/licenses/systemd/LICENSE.LGPL2.1 from install of systemd-shared-257.10-1.fc42.x86_64 conflicts with file from package systemd-libs-257.3-7.fc42.x86_64

I just tried dnf upgrade systemdbut it came up with the same error at the end.

sudo rpm -e --justdb --nodeps systemd-libs-257.3-7.fc42.x86_64
1 Like

I was actually expecting some indication of why systemd-libs was not included in the update.

Just ran sudo rpm -e --justdb --nodeps systemd-libs-257.3-7.fc42.x86_64, but there was no reaction at all.

dedanna1029@fedora:~$ sudo rpm -e --justdb --nodeps systemd-libs-257.3-7.fc42.x86_64
dedanna1029@fedora:~$

How do I test if this was successful? Do I try to update again, or ?
Thanks!

Never mind, I tried updating again, and it worked!
Thank you so much!
Hoping it cures the audit.d bit. We’ll see when it’s done.
Thanks again!

1 Like