Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, Please tell me how to run the yum command in non-cache mode.I browed but didn't get the correct answer....
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    15

    Run Yum clean all command in Non cache mode

    Hello, Please tell me how to run the yum command in non-cache mode.I browed but didn't get the correct answer.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    You can invalidate the cache with
    Code:
    yum clean expire-cache
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    15

    Yum Non Cache Mode

    [root@system10 ~]# yum clean expire-cache
    Gathering header information file(s) from server(s)
    Server: Red Hat Linux 5Server - i386 - Base
    Error - /var/cache/yum/base/header.info cannot be found
    Please run yum in non-caching mode to correct this header.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Code:
    rm -rf /var/cache/yum
    yum makecache
    You must always face the curtain with a bow.

Posting Permissions

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