We help IT Professionals succeed at work.
Get Started

yum install is not reconciling correct dependencies

mickt
mickt asked
on
87 Views
Last Modified: 2015-07-25
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:

DocumentRoot "/opt/kickstart"

<Directory "/opt/kickstart">
     Order allow,deny
     Allow from all
     Options Indexes FollowSymLinks
</Directory>

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.

E.g.

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:

[kickstart]
name=Kickstart mnt
gpgcheck=0
enabled=1
baseurl=http://10.10.12.254/mnt

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?
Comment
Watch Question
Top Expert 2015
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE