Jump to content

Yum gets dirty


wildweaselmi
 Share

Recommended Posts

Sometimes you may find the need to cleanup YUM so it will install, remove and/or update your existing files.



Install package-cleanup (which is part of the yum-utils package)


# yum install yum-utils





Look for orphaned files (packages not in the repository anymore)

# package-cleanup --orphans[/code]




package-cleanup  --cleandupes


Duplicate Package Options:


--dupes Scan for duplicates in your rpmdb


--cleandupes Scan for duplicates in your rpmdb and remove older


--noscripts disable rpm scriptlets from running when cleaning duplicates


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...