Sandro Bonazzola
2018-May-15 12:48 UTC
[CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
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-0002.html>
Nerijus Baliunas
2018-May-15 13:08 UTC
[CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola <sbonazzo at 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): coreutilsrpm -q --requires centos-release /bin/sh config(centos-release) = 7-5.1804.el7.centos coreutils I assume it is not enough? Regards, Nerijus
Sandro Bonazzola
2018-May-15 13:14 UTC
[CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
2018-05-15 15:08 GMT+02:00 Nerijus Baliunas <nerijus at users.sourceforge.net>:> On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola <sbonazzo at 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 <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/06d83cd4/attachment-0002.html>
Possibly Parallel Threads
- centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
- centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
- centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
- centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5
- centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5