First of all sorry for long email, but I have been trying out things for two days. I am setting up cobbler for kickstarting machines with our own updates yum repo and while kickstarting (centos 6.7 and also 6.5) anaconda fails at dbus-1.2.24-7 installation with error,
A fatal error occurred when installing the <rpm.hdr object at 0x7fef65f96ed0> package.
This is already been noticed and raised and workaround suggested,
questions/659252/centos-6-6- kickstart-failing-suddenly- when-including-the-updates- repo
- ... there are many more. But all are suggesting to disable updates repo (or alteast --excludepkgs glibc) as workaround, and it worked for me too but that not fix just workaround.
I further checked the apache logs (of yum) it appears that all the requests has been made to the ISO repo/source-1 (GET /cblr/links/centos6_7-x86_64/
Packages/...rpm) and not a single call is made to the updates repo mirror (I was expecting GET /cobbler/repo_mirror/our_ updates_repo/..rpm). This made me think that the updates repo is not enabled by anaconda. So I made sure to set the .treeinfo :), and with ctrl+alt+f2 I entered into cmd prompt, and started checking logs.
- yum.log: Has so many lines "marking An_rpm_in_updates_repo as install for An_rpm_in_main_repo"
- Checked history /mnt/sysimage/var/lib/yum/
history/2016-11-26/1/config- repos: shows the following repos were enabled
- ps -ef shows
- /usr/bin/python /usr/bin/anaconda --stage2 http://10.10.10.99/cblr/links/
centos6_7-x86-64/images/--kickstart /tmp/ks.cfg ..... --repo http://10.10.10.99/cblr/links/ install.img centos-6_7-x86_64
i am still not sure about updates repo enabled or not and if enabled why it isn't pulling the rpms ?
Here is a another cobbler which is working fine making requests to our_updates_repo is called during anaconda installation,
Packages/ncurses-5.7-3. 20090208.el6.x86_64.rpm HTTP/1.1" 206 24160
Packages/vim-minimal-7.2.411- 1.8.el6.x86_64.rpm HTTP/1.1" 206 6956
updates-6_5/glibc-2.12-1.166. el6_7.7.x86_64.rpm HTTP/1.1" 206 217940
Packages/shadow-utils-18.104.22.168- 13.el6.x86_64.rpm HTTP/1.1" 206 69628
updates-6_5/coreutils-8.4-37. el6_7.3.x86_64.rpm HTTP/1.1" 206 101588
updates-6_5/bash-4.1.2-15.el6_ 5.2.x86_64.rpm HTTP/1.1" 206 46364
Can someone help in understanding how the packages are installed ? Is there a way I can install by hand (I tried downloading the rpms and running rpm -ivh which is not helping). Any ideas why rpms are not pulled from the updates repo ?
anaconda version : 13.21.215
Thanks in advance
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list