Packagemanagement

I have the following problem:

With Suse 11.0 the Updater shows 2 updates for firefox. I do have Firefox 3.0 installed but the Updater thinks I have 3.0-0.2 AND 2.0.0.12-5.1 installed. That’s not true.

If I choose to update the packages I get the following Error:

“Removal of (55309)MozillaFirefox-2.0.0.12-5.1.i586(@System) failed:
Error: Subprocess failed. Error: RPM failed: Usage: usr/bin/update-mime-database -hvV] MIME-DIR No directories in update-desktop-database search path coult be processed and updated. error:
search path could be processed and updated. error:
%postun(MozillaFirefox-2.0.0.12-5.1.i586) scriptlet failed, exit status 1”

I think there is something corrupt in the rpm databases. Does anybody know how to fix this?

I tried to delete firefox which yast, but this does not work either.

Thank you
cduck

Moving thread from Install/Boot to Applications Forum.

Move complete.

I believe deleting firefox is the correct approach.

I’m not 100% certain as to the correct command to delete it in a case like this (I have it written down at home, but I’m not at home). I think maybe something like typing in an xterm/konsole with root permissions:

rpm -e --noscripts yourFirefoxVersion
where “yourFirefoxVersion” is the exact name of the rpm you are trying to remove. It may require more than just that < not sure >

Reference for the above recommendation:
firefox upgrade fails - NOVELL FORUMS

That’s the problem. I can not delete the package anymore. When I try rpm -e --noscript MozillaFirefox-2.0.0.12-5.1 I get an error message:
**
Usage: usr/bin/update-mime-database -hvV] MIME-DIR
No directories in update-desktop-database search path could be processed and updated.
error: %postun(MozillaFirefox-2.0.0.12-5.1.i586) scriptlet failed, exit status 1
**

then as a last resort try:
rpm --erase --allmatches --nodeps --noscripts MozillaFirefox-2.0.0.12-5.1

Yes, this helped. Thanks a lot.
cduck