Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    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

  3. #3
    Just 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

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    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

  5. #5
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...