I have a kickstart server, which I use as a repository. I created the repository, 'createrepo /opt/kickstart/mnt'.
httpd.conf configuration on kickstart server:
Allow from all
Options Indexes FollowSymLinks
Alias /mnt/ "/opt/kickstart/mnt/"
/opt/kickstart/mnt contains multiple version directories, e.g. 5.0, 5.1 etc. in which I place my RPMs. There are various dependencies with the RPMs that are fine when not installing using yum. When I install via yum however the dependencies do not work and the latest version is taken.
rpm -i <S/W>-5.5.rpm <- this installs 5.5 including all 5.5 dependencies.
yum install <S/W>-5.5.rpm <- this install 5.5 RPM but the latest 5.8 dependencies.
Client configuration, /etc/yum.repos.d/ams.repo:
I can work around by specifying all 5.5 RPMs with yum install, e.g. yum install <S/W>-5.5.rpm <S/W1>-5.5.rpm etc. but I'd like to know why yum does not perform the dependency check as with rpm -i.
Can anyone help?