{"id":70,"date":"2010-07-22T18:27:40","date_gmt":"2010-07-23T01:27:40","guid":{"rendered":"http:\/\/shivdev.com\/blog\/2010\/07\/22\/linux-rpm-hell-error-mysql-4122-2el4-specifies-multiple-packages\/"},"modified":"2010-07-22T18:27:40","modified_gmt":"2010-07-23T01:27:40","slug":"linux-rpm-hell-error-mysql-4122-2el4-specifies-multiple-packages","status":"publish","type":"post","link":"http:\/\/shivdev.com\/blog\/2010\/07\/22\/linux-rpm-hell-error-mysql-4122-2el4-specifies-multiple-packages\/","title":{"rendered":"Linux RPM Hell error: &#8220;mysql-4.1.22-2.el4&#8221; specifies multiple packages"},"content":{"rendered":"<p>Can&#8217;t get rid of RPMs and you&#8217;re running into errors when there are no dependencies?<\/p>\n<p>For example,<\/p>\n<blockquote><p>\nerror: &#8220;mysql-4.1.22-2.el4&#8221; specifies multiple packages\n<\/p><\/blockquote>\n<p>Thanks to <a href=\"http:\/\/hacktux.com\/rpm\/error\/specifies\/multiple\/packages\">Hacktux<\/a>, found the reason is that the RPMs got installed for mysql.i386 and mysql.x86_64<\/p>\n<blockquote><p>\nrpm -q &#8211;queryformat &#8220;%{name}.%{arch}\\n&#8221; mysql<\/p>\n<p>mysql.i386<br \/>\nmysql.x86_64\n<\/p><\/blockquote>\n<p>To solve the problem just execute<\/p>\n<blockquote><p>\nrpm -qa | grep mysql | xargs rpm -e &#8211;nodeps &#8211;allmatches\n<\/p><\/blockquote>\n<p>You should be good to go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can&#8217;t get rid of RPMs and you&#8217;re running into errors when there are no dependencies? For example, error: &#8220;mysql-4.1.22-2.el4&#8221; specifies multiple packages Thanks to Hacktux, found the reason is that the RPMs got installed for mysql.i386 and mysql.x86_64 rpm -q &#8211;queryformat &#8220;%{name}.%{arch}\\n&#8221; mysql mysql.i386 mysql.x86_64 To solve the problem just execute rpm -qa | grep [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/70"}],"collection":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":0,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"wp:attachment":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}