Linux RPM Hell error: “mysql-4.1.22-2.el4” specifies multiple packages
Writing by shivdev on Thursday, 22 of July , 2010 at 6:27 pm
Can’t get rid of RPMs and you’re running into errors when there are no dependencies?
For example,
error: “mysql-4.1.22-2.el4” specifies multiple packages
Thanks to Hacktux, found the reason is that the RPMs got installed for mysql.i386 and mysql.x86_64
rpm -q –queryformat “%{name}.%{arch}\n” mysql
mysql.i386
mysql.x86_64
To solve the problem just execute
rpm -qa | grep mysql | xargs rpm -e –nodeps –allmatches
You should be good to go.
Leave a comment
Category: Linux
- Add this post to
- Del.icio.us -
- Digg -
- -
- Tweet -
-
-
No comments yet.
You must be logged in to post a comment.