Find the answer to your Linux question:
Results 1 to 6 of 6
wat does this $ yum clean all do??? does it wipe away the yum repositories??...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    21

    Arrow yum clean all

    wat does this
    $ yum clean all
    do???

    does it wipe away the yum repositories??

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Posts
    21
    no reply?????

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    You can get lots of info on using YUM from the manual:

    Fedora Project, sponsored by Red Hat

    See more about your command above here:

    Fedora Project, sponsored by Red Hat

    If I remember correctly, the command you gave clears both, packages and headers.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Just Joined!
    Join Date
    Jul 2009
    Posts
    21
    thank u so much...

  5. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,945
    From the yum manual:

    "CLEAN OPTIONS
    The following are the ways which you can invoke yum in clean mode.

    yum clean packages
    Eliminate any cached packages from the system. Note that pack-
    ages are not automatically deleted after they are downloaded.

    yum clean headers
    Eliminate all of the files which yum uses to determine the
    remote availability of packages. Using this option will force
    yum to download all the headers the next time it is run.

    yum clean all
    Runs yum clean packages and yum clean headers as above."

    The "yum clean all" command will not only remove cached packages, but also any headers. i do it occasionally to totally flush out everything in case there are obsolete headers - which can also take up space, albeit not very much. The reason it takes a little longer next time you run "yum update" is because that cache of headers needs to be replenished. Run "yum clean packages" next time, and you can avoid this extra wait, because the headers will still be cached on your box.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

  6. #6
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    You might also try running man yum from the command line to see if it gives you some other information that you can use.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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