{"id":147,"date":"2016-02-08T07:00:06","date_gmt":"2016-02-08T15:00:06","guid":{"rendered":"http:\/\/andrewwippler.com\/?p=147"},"modified":"2016-02-03T18:27:09","modified_gmt":"2016-02-04T02:27:09","slug":"how-to-fix-error-transaction-check-error-with-dnfyum","status":"publish","type":"post","link":"https:\/\/andrewwippler.com\/2016\/02\/08\/how-to-fix-error-transaction-check-error-with-dnfyum\/","title":{"rendered":"How to fix Error: Transaction check error with dnf\/yum"},"content":{"rendered":"

When a dnf<\/code> or yum<\/code> process gets interrupted, you may get the below error:<\/p>\n

Running transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nThe downloaded packages were saved in cache until the next successful transaction.\r\nYou can remove cached packages by executing 'dnf clean packages'.\r\nError: Transaction check error:\r\nfile \/usr\/share\/doc\/avahi-libs\/README from install of avahi-libs-0.6.32-0.4.rc.fc23.i686 conflicts\r\nwith file from package avahi-libs-0.6.31-43.fc23.x86_64<\/code><\/pre>\n

When presented with Error: Transaction check error<\/code>, you are unable to install, update, or upgrade your system. The solution is to attempt to install the program (or download the files), locate them on your system, and manually update them using rpm. In other words, do the following:<\/p>\n

find \/var\/cache\/dnf\/ -iname avahi-libs-0.6.32* -type f\r\nrpm -Uvh --replacefiles \/path\/to\/avahi-libs-0.6.32-0.4.rc.fc23.i686.rpm<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

When a dnf or yum process gets interrupted, you may get the below error: Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing ‘dnf clean packages’. Error: Transaction check error: file \/usr\/share\/doc\/avahi-libs\/README from install of avahi-libs-0.6.32-0.4.rc.fc23.i686 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/147"}],"collection":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":2,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":149,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/147\/revisions\/149"}],"wp:attachment":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}