[CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
Sandro Bonazzola
sbonazzo at redhat.com
Tue May 15 12:48:13 UTC 2018
2018-05-15 14:39 GMT+02:00 Nerijus Baliunas <nerijus at users.sourceforge.net>:
> On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola <sbonazzo at redhat.com>
> wrote:
>
> > >> I have freshly installed CentOS 7.5 on a Dell server, and
> > >> /etc/yum/vars/contentdir
> > >> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have
> 'centos'.
> > >
> > > I see in %post:
> > > /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> > > >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
> > >
> > > can you please check
> > >
> > > /usr/bin/uname -m
> > >
> > > on your system?
>
> # /usr/bin/uname -m
> x86_64
>
> > 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
>
> Logs are at http://sat.lt/anaconda.tgz
>
> Regards,
> Nerijus
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/>
sbonazzo at redhat.com
<https://red.ht/sig>
<https://redhat.com/summit>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20180515/9119a5c6/attachment-0001.html>
More information about the CentOS-virt
mailing list