2018-05-15 15:08 GMT+02:00 Nerijus Baliunas <nerijus@users.sourceforge.net>:
On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola <sbonazzo@redhat.com> wrote:

> > > Also, can you share your anaconda logs?
> > > Maybe some package installation order issue prevents /usr/bin/uname -m |
> > > grep -q 'x86_64' to properly execute.
> >
> > In packaging.log:
> > 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> > (43/296)
> > 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> > /usr/bin/uname: No such file or directory
>
> So this is a requirements error in the spec file.
>
> centos-release should have:
>
> Requires(post): coreutils

rpm -q --requires centos-release
/bin/sh
config(centos-release) = 7-5.1804.el7.centos
coreutils

I assume it is not enough?

Correct, that's not enough. It should have:
Requires(post): coreutils


 

Regards,
Nerijus



--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA

sbonazzo@redhat.com