On Thu, 2017-06-22 at 17:15 +0200, Petr Ĺ abata wrote:
While playing with Base Runtime container base images we noticed
that some packages couldn't be installed with coreutils-single
due to their /bin file dependencies. Unlike the original
coreutils package, coreutils-single doesn't provide the
pre-UsrMove paths.
Now there are at least two ways to resolve this. We either
a) change all the packages that depend on /bin/* coreutils
paths, or
b) we add the respective /bin provides to coreutils-single.
Reading the packaging guidelines[0], I'd lean towards "fixing"
the coreutils subpackage, while the coreutils maintainers
believe we should change packages that depend on obsolete paths.
For the record, there appear to be only 25 binary packages that
depend on /bin coreutils paths[1];
I just took a quick look at the systemtap package. It has:
# On RHEL[45], /bin/mktemp comes from the 'mktemp' package. On newer
# distributions, /bin/mktemp comes from the 'coreutils' package. To
# avoid a specific RHEL[45] Requires, we'll do a file-based require.
Requires: /bin/mktemp
On RHEL5 the mktemp package only provides a /bin/mktemp and
no /usr/bin/mktemp. Now RHEL5 is fairly old and this Requires can be
changed for Fedora of course. But it might be that there are other
packages that share a spec file between RHEL and Fedora and have a /bin
instead of /usr/bin Requires for this reason.
Cheers,
Mark
> [1]
https://paste.fedoraproject.org/paste/v-SDa5byzWT93OKPWZ~XKQ/