Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1444802 - coreutils shouldn't obsolete coreutils-single
Summary: coreutils shouldn't obsolete coreutils-single
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-24 11:04 UTC by Petr Šabata
Modified: 2017-05-01 18:17 UTC (History)
10 users (show)

Fixed In Version: coreutils-8.27-3.fc27 coreutils-8.27-5.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-01 18:17:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Šabata 2017-04-24 11:04:40 UTC
Description of problem:
With DNF2 it's no longer possible to install coreutils-single as it's obsoleted by the main package, "to give priority" to it, according to a comment in the SPEC file.

The reason this ever worked is, according to Igor, a bug in the old DNF which the new release fixed.  That makes sense to me.

Which variant is installed shouldn't be decided by the packager but by the deployment tools, e.g. Anaconda or mock configuration.

Please, revert c553cab787c2499ffaa36748a2de7c0e08fe31d5.

Version-Release number of selected component (if applicable):
8.24-105 and newer.

How reproducible:
Always.

Steps to Reproduce:
1. Attempt to install coreutils-single with DNF2.

Actual results:
coreutils is installed.

Expected results:
coreutils-single is installed.

Comment 1 Petr Šabata 2017-04-24 11:08:38 UTC
That said, I'm aware coreutils-single provides coreutils (and it should probably provide all the /bin/* tools as well) and I'm not sure which one the depsolver would choose if you simply install "coreutils".  I don't have an advice here; I just know the current implementation is wrong :)

Comment 2 Kamil Dudka 2017-04-25 11:54:42 UTC
Confirmed.  I can reproduce the issue with dnf-2.3.0-1.fc27.  Even though Igor calls it a bug fix, it is at least a backward incompatible change to dnf, which should be avoided.

I am not against dropping the Obsoletes tag from coreutils but please consider also the compatibility aspect of the dnf change that is causing it.  I am pretty sure that coreutils is not the only package affected by the change (and not all affected packages are under our control).

Comment 3 Stephen Gallagher 2017-04-25 12:14:36 UTC
Kamil: What if we were to rename the other coreutils package to `coreutils-standard` and have them both `Provides: coreutils` (for compatibility with things that `Require: coreutils` and then we can add `Suggests: coreutils-standard` to the fedora-release package, which will trigger DNF to prefer coreutils-standard if neither of them is currently on the system, but otherwise leave it alone.

Comment 4 Fedora Update System 2017-04-25 12:26:12 UTC
coreutils-8.27-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-db1b943779

Comment 5 Kamil Dudka 2017-04-25 12:38:17 UTC
(In reply to Stephen Gallagher from comment #3)
> Kamil: What if we were to rename the other coreutils package to
> `coreutils-standard` [...]

Sounds like a bad idea to me.  We should not rename such fundamental packages to work around limitations of the package manager.

Both the packages provide "coreutils = %{version}-%{release}" already.  If there is no way to tell the package manager to require a package _named_ coreutils, we can introduce an additional Provides for the "full" package that can be used for bootstrapping.

Comment 6 Fedora Update System 2017-04-26 03:52:36 UTC
coreutils-8.27-3.fc26 has been pushed to the Fedora 26 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-2017-db1b943779

Comment 7 Fedora Update System 2017-04-28 00:23:06 UTC
coreutils-8.27-4.fc26 has been pushed to the Fedora 26 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-2017-54c2e9124e

Comment 8 Fedora Update System 2017-04-28 12:25:54 UTC
coreutils-8.27-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b17d54561b

Comment 9 Fedora Update System 2017-04-30 03:51:52 UTC
coreutils-8.27-5.fc26 has been pushed to the Fedora 26 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-2017-b17d54561b

Comment 10 Fedora Update System 2017-05-01 18:17:02 UTC
coreutils-8.27-5.fc26 has been pushed to the Fedora 26 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.