Bug 1593185 - Recommends doesn't affect installation tsort enough
Summary: Recommends doesn't affect installation tsort enough
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-20 08:58 UTC by Pavel Raiskup
Modified: 2018-09-07 16:14 UTC (History)
6 users (show)

Fixed In Version: rpm-4.14.2-1.fc28
Clone Of:
Environment:
Last Closed: 2018-09-07 16:14:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2018-06-20 08:58:12 UTC
Steps to reproduce:

   # dnf copr enable praiskup/test-copr-selinux
   # dnf install copr-frontend

Results:

The copr-frontend-1.133.git.5.c97f58bd.wtree.zkwc5c-1.fc28.noarch package
is installed before
copr-selinux-1.48.git.183.173b2667.wtree.zkwc5c-1.fc28.noarch
even though `copr-frontend` recommends `copr-selinux` and even though
there is no dependency cycle.

Comment 1 Pavel Raiskup 2018-06-20 10:38:54 UTC
Btw., `Requires:` helps.  I rebuilt the `copr-frontend` with that Requires:
into `praiskup/test-copr-selinux-2`, so with:

   # dnf copr enable praiskup/test-copr-selinux
   # dnf copr enable praiskup/test-copr-selinux-2
   # dnf install copr-frontend

The `copr-selinux` is installed before `copr-frontend` package.

Comment 2 Igor Raits 2018-08-10 15:02:25 UTC
Can you describe what packages you have there and which deps?

Comment 3 Panu Matilainen 2018-08-16 13:29:46 UTC
Fixed upstream now: https://github.com/rpm-software-management/rpm/commit/b7ab1d1d6f2f1adc6ddfae51773d70b9ba08b883 and should make it to F28 via updates sooner or later.

Thanks for the report.

Comment 4 Pavel Raiskup 2018-08-16 14:13:07 UTC
(In reply to Igor Gnatenko from comment #2)
> Can you describe what packages you have there and which deps?

Sorry, clime removed those projects.  I haven't had time to re-create
them.

(In reply to Panu Matilainen from comment #3)
> Thanks for the report.

Thanks for the fix.

Comment 5 Panu Matilainen 2018-08-21 12:29:56 UTC
FWIW, fixed in rawhide now.

Comment 6 Fedora Update System 2018-08-22 13:10:30 UTC
rpm-4.14.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-16c78b3d92

Comment 7 Fedora Update System 2018-08-23 11:02:25 UTC
rpm-4.14.2-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-16c78b3d92

Comment 8 Fedora Update System 2018-09-07 16:14:48 UTC
rpm-4.14.2-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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