Bug 1534697

Summary: xorgxrdp requires old version of xorg-x11-server-Xorg (1.19.5)
Product: [Fedora] Fedora Reporter: Dusty Mabe <dustymabe>
Component: xorgxrdpAssignee: Pavel Roskin <plroskin>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: alan.dennis, bojan, itamar, plroskin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-15 20:46:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dusty Mabe 2018-01-15 18:10:05 UTC
Description of problem:

Installing xorgxrdp requires xorg-x11-server-Xorg to get picked up from the release day repo (version 1.19.5-1.fc27) rather than from the updates repo (1.19.6-1.fc27.x86_64). It looks like the rpm has a specific requires on 1.19.5:

```
$ rpm -qp --requires xorgxrdp-0.2.5-1.fc27.x86_64.rpm 2>/dev/null  | tail -n 1
xorg-x11-server-Xorg(x86-64) = 1.19.5
```

And thus downgrades the rpm when installing xorgxrdp.

```
$ sudo dnf install xorgxrdp --assumeno | cat
Last metadata expiration check: 0:01:49 ago on Mon 15 Jan 2018 12:56:28 PM EST.
Dependencies resolved.
================================================================================
 Package                   Arch        Version               Repository    Size
================================================================================
Installing:
 xorgxrdp                  x86_64      0.2.5-1.fc27          updates       66 k
Downgrading:
 xorg-x11-server-Xorg      x86_64      1.19.5-1.fc27         fedora       1.5 M

Transaction Summary
================================================================================
Install    1 Package
Downgrade  1 Package

Total download size: 1.5 M
Operation aborted.
```

This needs to be fixed.

We also see problems when people try to package layer on Atomic Workstation, which
is where this bug was first reported:

```
[dm@localhost dm]$ rpm-ostree install xorgxrdp | cat
Checking out tree 06ba142... done
Enabled rpm-md repositories: fedora updates
rpm-md repo 'fedora' (cached); generated: 2017-11-05 05:51:47

rpm-md repo 'updates' (cached); generated: 2018-01-13 23:00:56

Importing metadata 2%
Importing metadata 50%
Importing metadata 52%
Importing metadata 100%
Resolving dependencies... Forbidden base package replacements:
  xorg-x11-server-Xorg 1.19.6-1.fc27 -> 1.19.5-1.fc27 (fedora)
failed
error: Some base packages would be replaced
```



Version-Release number of selected component (if applicable):
xorgxrdp-0.2.5-1.fc27.x86_64.rpm

How reproducible:
Always


Steps to Reproduce:
1. dnf install xorgxrdp


Actual results:
xorg-x11-server-Xorg gets downgraded

Expected results:
use xorg-x11-server-Xorg from updates repo

Additional info:

Comment 1 Bojan Smojver 2018-01-15 20:46:11 UTC

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

Comment 2 Dusty Mabe 2018-01-15 20:50:58 UTC
(In reply to Bojan Smojver from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 1533122 ***

to be fair others could easily open this issue same as I did because the dup bug is under the xorg-x11-server component so no bugs show up under: https://apps.fedoraproject.org/packages/xorgxrdp/bugs

Comment 3 Bojan Smojver 2018-01-15 20:53:43 UTC
It's just temporarily assigned to X11 folks, so that we can figure out what's the best way to fix this.

Comment 4 Dusty Mabe 2018-01-15 20:54:57 UTC
(In reply to Bojan Smojver from comment #3)
> It's just temporarily assigned to X11 folks, so that we can figure out
> what's the best way to fix this.

sure, i'm just saying you're probably going to get more dups while we wait. This is the 2nd one in a few days.

Comment 5 Bojan Smojver 2018-01-15 20:56:17 UTC
Or not, because -2 of the package was just pushed to stable.

Comment 6 Dusty Mabe 2018-01-15 21:10:13 UTC
(In reply to Bojan Smojver from comment #5)
> Or not, because -2 of the package was just pushed to stable.

well that was timely... thanks!

Comment 7 alan.dennis 2018-12-06 09:38:55 UTC
There's been some over-zealous closing/duplicating of bugs going on here. Although the immediate problem has been solved, there is still an underlying problem that versions of these things are too tightly bound such that EVERY TIME RHEL releases a new version it breaks the EPEL rpm, then when that gets fixed, it wont work with CentOS until they update to complete the cycle.

A long term solution is needed, rather than just working around it by recompiling stuff and living with broken dependencies for a few weeks.

See bug 1644659, bug 1533122, bug 1534145, bug 1534697, bug 1533122. At lest one of them needs to remain open...