Bug 1646864 - rtkit-0.11-19.fc29 can not be updated / scriptlet failed
Summary: rtkit-0.11-19.fc29 can not be updated / scriptlet failed
Keywords:
Status: CLOSED DUPLICATE of bug 1637496
Alias: None
Product: Fedora
Classification: Fedora
Component: rtkit
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-06 08:03 UTC by Klaus Pedersen
Modified: 2018-11-06 08:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-06 08:06:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Klaus Pedersen 2018-11-06 08:03:04 UTC
Description of problem:

Upgrading from beta to Fedora 29 fails on rtkit:

dnf distro-sync
[...]
Erase: rtkit-0.11-19.fc29.x86_64
  Running scriptlet: rtkit-0.11-19.fc29.x86_64                          851/853 
/var/tmp/rpm-tmp.Qq9XqO: line 1: fg: no job control
error: %preun(rtkit-0.11-19.fc29.x86_64) scriptlet failed, exit status 1

Error in PREUN scriptlet in rpm package rtkit
[...]
Downgraded:
  pdfshuffler-0.6.0-14.fc29.noarch           sudo-1.8.23-3.fc29.x86_64          

Failed:
  rtkit-0.11-19.fc29.x86_64                                                     

Error: Transaction failed
-------

# dnf erase rtkit
Dependencies resolved.
================================================================================
 Package                           Arch   Version        Repository        Size
================================================================================
Removing:
 rtkit                             x86_64 0.11-19.fc29   @@System         152 k
 rtkit                             x86_64 0.11-20.fc29   @updates-testing 153 k
Removing dependent packages:
[... much ...]

# dnf erase rtkit-0.11-19.fc29.x86_64
Dependencies resolved.
[...]
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: rtkit-0.11-19.fc29.x86_64                              1/1 
Erase: rtkit-0.11-19.fc29.x86_64
/var/tmp/rpm-tmp.l7MJYU: line 1: fg: no job control
error: %preun(rtkit-0.11-19.fc29.x86_64) scriptlet failed, exit status 1

Error in PREUN scriptlet in rpm package rtkit
  Verifying        : rtkit-0.11-19.fc29.x86_64                              1/1 

Failed:
  rtkit-0.11-19.fc29.x86_64                                                     

Error: Transaction failed
-------


# dnf reinstall rtkit
Last metadata expiration check: 0:22:49 ago on 2018-11-06T10:56:59 CST.
Dependencies resolved.
================================================================================
 Package         Arch             Version                Repository        Size
================================================================================
Reinstalling:
 rtkit           x86_64           0.11-20.fc29           fedora            54 k
     replacing  rtkit.x86_64 0.11-20.fc29

Transaction Summary
================================================================================

Total size: 54 k
Is this ok [y/N]: y
[...]
Error: Transaction check error:
  file /usr/libexec/rtkit-daemon from install of rtkit-0.11-20.fc29.x86_64 conflicts with file from package rtkit-0.11-19.fc29.x86_64
  file /usr/sbin/rtkitctl from install of rtkit-0.11-20.fc29.x86_64 conflicts with file from package rtkit-0.11-19.fc29.x86_64



I am out of ideas (distro-sync, downgrade, reinstall, etc)



Version-Release number of selected component (if applicable):
rtkit-0.11-19.fc29.x86_64 -> rtkit-0.11-20.fc29.x86_64 

How reproducible:
Every time

Steps to Reproduce:

For me that have two versions of rtkit:
1. dnf  erase rtkit-0.11-20.fc29.x86_64  # success

2. dnf -y upgrade rtkit # scriplet failed on 'rtkit-0.11.19'
(probably downgrade/upgrade also reproduce)


3. dnf list rtkit # show two versions of rtkit

Actual results:
Two conflicting versions of rtkit installed

Expected results:
rtkit upgrade without failures.


Additional info:

I am not sure if my system is corrupt. For example, running:

dnf list --showduplicates

I found lots of stuff like :

xorg-x11-server-Xorg.x86_64            1.20.1-4.fc29   fedora           
xorg-x11-server-Xorg.x86_64            1.20.3-1.fc29   @updates         
xorg-x11-server-Xorg.x86_64            1.20.3-1.fc29   updates          

xorg-x11-server-Xvfb.x86_64            1.20.1-4.fc29   fedora           
xorg-x11-server-Xvfb.x86_64            1.20.3-1.fc29   updates          

xorg-x11-server-Xwayland.x86_64        1.20.1-4.fc29   fedora           
xorg-x11-server-Xwayland.x86_64        1.20.3-1.fc29   @updates         
xorg-x11-server-Xwayland.x86_64        1.20.3-1.fc29   updates          

xorg-x11-server-common.x86_64          1.20.1-4.fc29   fedora           
xorg-x11-server-common.x86_64          1.20.3-1.fc29   @updates         
xorg-x11-server-common.x86_64          1.20.3-1.fc29   updates

Comment 1 Zbigniew Jędrzejewski-Szmek 2018-11-06 08:06:25 UTC
See https://fedoraproject.org/wiki/Common_F29_bugs#rtkit-update for a work-around.

*** This bug has been marked as a duplicate of bug 1637496 ***


Note You need to log in before you can comment on or make changes to this bug.