{"id":1083,"date":"2014-05-23T17:39:53","date_gmt":"2014-05-24T00:39:53","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1083"},"modified":"2014-05-23T17:39:53","modified_gmt":"2014-05-24T00:39:53","slug":"fixing-yum","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1083","title":{"rendered":"Fixing yum"},"content":{"rendered":"<p>OS: CentOS6<\/p>\n<p>I was getting a bunch of duplicate package messages when I tried to update one of my servers.  It had been a while and I didn&#8217;t remember what I might have done, but I suspect that I stopped a yum update in the middle to cause all the duplicates.  <\/p>\n<p>Here are a list of commands that I used in the past to get yum working again:<\/p>\n<p>Complete any unfinished transactions, if it was stopped in the middle at some point:<\/p>\n<blockquote><p># yum-complete-transaction<\/p><\/blockquote>\n<p>Will clean all cached data:<\/p>\n<blockquote><p># yum clean all<\/p><\/blockquote>\n<p>List duplicate packages:<\/p>\n<blockquote><p># package-cleanup &#8211;dupes<\/p><\/blockquote>\n<p>Remove duplicate packages:<\/p>\n<blockquote><p># package-cleanup &#8211;cleandupes<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>OS: CentOS6 I was getting a bunch of duplicate package messages when I tried to update one of my servers. It had been a while and I didn&#8217;t remember what I might have done, but I suspect that I stopped a yum update in the middle to cause all the duplicates. Here are a list [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[40,215],"class_list":["post-1083","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-centos","tag-yum"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1083"}],"version-history":[{"count":2,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1083\/revisions"}],"predecessor-version":[{"id":1085,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1083\/revisions\/1085"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}