Description of problem: [rbarlow@ohm ~]$ sudo dnf distro-sync Last metadata expiration check: 4:33:55 ago on Sat 12 May 2018 01:16:53 PM EDT. Dependencies resolved. ====================================================================================================================== Package Arch Version Repository Size ====================================================================================================================== Removing dependent packages: libvirt-daemon x86_64 4.1.0-1.fc28 @fedora 2.8 M Transaction Summary ====================================================================================================================== Remove 1 Package Freed space: 2.8 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: libvirt-daemon-4.1.0-1.fc28.x86_64 1/1 /var/tmp/rpm-tmp.mb9Qc7: line 6: virtlogd.socket: command not found error: %preun(libvirt-daemon-4.1.0-1.fc28.x86_64) scriptlet failed, exit status 127 Error in PREUN scriptlet in rpm package libvirt-daemon Error in PREUN scriptlet in rpm package libvirt-daemon libvirt-daemon-4.1.0-1.fc28.x86_64 was supposed to be removed but is not! Verifying : libvirt-daemon-4.1.0-1.fc28.x86_64 1/1 Failed: libvirt-daemon.x86_64 4.1.0-1.fc28 Error: Transaction failed
Per https://bugzilla.redhat.com/show_bug.cgi?id=1558648#c5 the package with the broken script needs to be removed manually: rpm -e --noscripts libvirt-daemon-4.1.0-1.fc28 *** This bug has been marked as a duplicate of bug 1558648 ***