Bug 740073 - anaconda ignores dependencies from repository on the DVD
Summary: anaconda ignores dependencies from repository on the DVD
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-20 20:36 UTC by Vadym Chepkov
Modified: 2013-03-08 19:15 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-08 19:15:24 UTC


Attachments (Terms of Use)

Description Vadym Chepkov 2011-09-20 20:36:45 UTC
We have observed the same behavior with RHEL 5.6 and RHEL 5.7

In order to automate secure deployment , we added "updates" directory to the DVD image with the following content:

# ls -1 updates
httpd-2.2.3-53.el5_7.1.i386.rpm
kernel-headers-2.6.18-274.3.1.el5.i386.rpm
kernel-PAE-2.6.18-274.3.1.el5.i686.rpm
kernel-PAE-devel-2.6.18-274.3.1.el5.i686.rpm
kernel-xen-2.6.18-274.3.1.el5.i686.rpm
kernel-xen-devel-2.6.18-274.3.1.el5.i686.rpm
repodata

then in kickstart file we added reference to this repository:

repo --name=updates --baseurl=file:///mnt/source/updates

the updates are being installed, but they disregard any dependencies in RPM, I checked SRMS:

$ grep httpd  mod_nss.spec
Requires(pre): httpd

$ grep httpd php53.spec 
Requires(pre): httpd

but updated httpd is installed out of order, which brakes both php53 and mod_nss:

# egrep "httpd|php53|mod_nss" /root/install.log
Installing mod_nss-1.0.8-4.el5_6.1.i386
error: %post(mod_nss-1.0.8-4.el5_6.1.i386) scriptlet failed, exit status 127
Installing php53-5.3.3-1.el5_6.1.i386
Installing httpd-2.2.3-53.el5_7.1.i386


Interestingly enough, if kickstart uses  external repository (http:// or ftp://) all is installed in the proper order.

Comment 1 David Cantrell 2013-03-08 19:15:24 UTC
While Red Hat welcomes bug reports on Red Hat products here in our public
bugzilla database, please keep in mind that bugzilla is not a support tool or
means of accessing support.  If you would like technical support please visit
our support portal at access.redhat.com or call us for information on
subscription offerings to suit your needs.


Note You need to log in before you can comment on or make changes to this bug.