On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola sbonazzo@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
Logs are at http://sat.lt/anaconda.tgz
Regards, Nerijus