Results 1 to 5 of 5
Dear Friend,
I have a question regarding yum.
I have rhel5.4 test server. There is no yum configured in this system nor any repo path is defind in /etc/yum.conf or ...
- 02-26-2010 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 12
yum confuguration????
Dear Friend,
I have a question regarding yum.
I have rhel5.4 test server. There is no yum configured in this system nor any repo path is defind in /etc/yum.conf or in /etc/yum.reps.d/---.repo(bydefault file). I have cleaned the yum but still its installing the packages also I have commented in the /etc/yum.repos.d/--.repo file but no luck. This system is not registered with redhat.
I have also chaned the "plugins=0" to /etc/yum.conf and .repo extn to some other extn and its not working.
So by default from where it is picking the packages and how can we identify the repo server.
Rgds,
Shankar
- 02-26-2010 #2
Have you disabled all repositories?
Code:yum repolist
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-26-2010 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 29
that won't help him, devils casper!
Even yum -v repolist doesn't show where it finds the configuration for yum.
What you could do, Jata01, is an strace over yum repolist like:
$ strace yum repolist > /tmp/strace.out
and check what files it is reading.
I bet it is looking somewhere in /var/cache/yum for some stuff and finds repos from there.
Just my $0.02,
Guus
- 02-26-2010 #4
If Thread starter has cleared yum cache then there won't be any reason for that.
Code:yum clean all
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-26-2010 #5Just Joined!
- Join Date
- Nov 2008
- Posts
- 29
true, devils casper. I just tested it on a VSystem that I have here, and after yum clean all, it still keeps references in /var/lib/yum/yumdb.
From there it can find repo definitions too, I would suspect.


Reply With Quote