Created attachment 1434634[details]
dnf -vvv remove --duplicates
Description of problem:
A normal 'dnf update' had a single failure with libvirt-daemon resulting in two copies installed
libvirt-daemon-4.1.0-1.fc28.x86_64
libvirt-daemon-4.1.0-2.fc28.x86_64
Neither 'dnf remove libvirt-daemon-4.1.0-1.fc28.x86_64' nor 'dnf remove --duplicates' succeeds.
Version-Release number of selected component (if applicable):
How reproducible:
Well now that I'm stuck with two copies, always reproducible remove failure. How it got into this state in the first place is untested, 1 for 1.
Steps to Reproduce:
1. dnf remove --duplicates
2.
3.
Actual results:
[chris@f28m ~]$ sudo dnf remove --duplicates
Last metadata expiration check: 1:00:03 ago on Thu 10 May 2018 07:00:09 PM MDT.
Dependencies resolved.
=============================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================
Reinstalling:
libvirt-daemon x86_64 4.1.0-2.fc28 fedora 707 k
replacing libvirt-daemon.x86_64 4.1.0-1.fc28
Transaction Summary
=============================================================================================================================================================================
Total download size: 707 k
Is this ok [y/N]: y
Downloading Packages:
libvirt-daemon-4.1.0-2.fc28.x86_64.rpm 825 kB/s | 707 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 548 kB/s | 707 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 1/1
Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 1/3
Reinstalling : libvirt-daemon-4.1.0-2.fc28.x86_64 1/3
Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 1/3
Running scriptlet: libvirt-daemon-4.1.0-1.fc28.x86_64 2/3
/var/tmp/rpm-tmp.n0mILJ: 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
Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 3/3
error: libvirt-daemon-4.1.0-1.fc28.x86_64: erase failed
Erasing : libvirt-daemon-4.1.0-2.fc28.x86_64 3/3
Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 3/3
Verifying : libvirt-daemon-4.1.0-2.fc28.x86_64 1/3
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 2/3
Verifying : libvirt-daemon-4.1.0-2.fc28.x86_64 3/3
Failed:
libvirt-daemon.x86_64 4.1.0-2.fc28
Error: Transaction failed
Expected results:
Should remove.
Additional info:
No idea if this is a packaging or dnf bug though.
Attaching -vvv
Created attachment 1434634 [details] dnf -vvv remove --duplicates Description of problem: A normal 'dnf update' had a single failure with libvirt-daemon resulting in two copies installed libvirt-daemon-4.1.0-1.fc28.x86_64 libvirt-daemon-4.1.0-2.fc28.x86_64 Neither 'dnf remove libvirt-daemon-4.1.0-1.fc28.x86_64' nor 'dnf remove --duplicates' succeeds. Version-Release number of selected component (if applicable): How reproducible: Well now that I'm stuck with two copies, always reproducible remove failure. How it got into this state in the first place is untested, 1 for 1. Steps to Reproduce: 1. dnf remove --duplicates 2. 3. Actual results: [chris@f28m ~]$ sudo dnf remove --duplicates Last metadata expiration check: 1:00:03 ago on Thu 10 May 2018 07:00:09 PM MDT. Dependencies resolved. ============================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================= Reinstalling: libvirt-daemon x86_64 4.1.0-2.fc28 fedora 707 k replacing libvirt-daemon.x86_64 4.1.0-1.fc28 Transaction Summary ============================================================================================================================================================================= Total download size: 707 k Is this ok [y/N]: y Downloading Packages: libvirt-daemon-4.1.0-2.fc28.x86_64.rpm 825 kB/s | 707 kB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 548 kB/s | 707 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 1/1 Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 1/3 Reinstalling : libvirt-daemon-4.1.0-2.fc28.x86_64 1/3 Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 1/3 Running scriptlet: libvirt-daemon-4.1.0-1.fc28.x86_64 2/3 /var/tmp/rpm-tmp.n0mILJ: 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 Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 3/3 error: libvirt-daemon-4.1.0-1.fc28.x86_64: erase failed Erasing : libvirt-daemon-4.1.0-2.fc28.x86_64 3/3 Running scriptlet: libvirt-daemon-4.1.0-2.fc28.x86_64 3/3 Verifying : libvirt-daemon-4.1.0-2.fc28.x86_64 1/3 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 2/3 Verifying : libvirt-daemon-4.1.0-2.fc28.x86_64 3/3 Failed: libvirt-daemon.x86_64 4.1.0-2.fc28 Error: Transaction failed Expected results: Should remove. Additional info: No idea if this is a packaging or dnf bug though. Attaching -vvv