Find the answer to your Linux question:
Results 1 to 10 of 10
I've tried everything I can think of or find but I have 3 firefox entries in Yast Software Management database although I only have 1 I'm using (the others don't ...
  1. #1
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337

    Remove Software Entry from Yast

    I've tried everything I can think of or find but I have 3 firefox entries in Yast Software Management database although I only have 1 I'm using (the others don't exist except in Yast).
    Does anyone know how to remove these entries. Every time I try to uninstal and reinstal, I get an error message and an extra package entry. If i try again I'll just keep building up versions in Yast.
    Firefox works fine and it's the right package version.
    Pete

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Did you try

    sudo rpm --rebuilddb

    ??

  3. #3
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by gogalthorp View Post
    Did you try

    sudo rpm --rebuilddb

    ??
    Yes - tried that a few times.

    And 'rpm --initdb'
    Pete

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    What happens when you run
    Code:
    #rpm -qa | grep -i firefox
    One option would be to download the Firefox rpm from here, uninstall the old version and then use RPM to install the version you downloaded. Does that still create multiple entries in your menu?

  5. #5
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by daark.child View Post
    What happens when you run
    Code:
    #rpm -qa | grep -i firefox
    One option would be to download the Firefox rpm from here, uninstall the old version and then use RPM to install the version you downloaded. Does that still create multiple entries in your menu?
    Running your code gives me:
    root pete > rpm -qa |grep -i firefox
    firefox-2.9.93-11.1
    MozillaFirefox-2.0.0.12-5.1
    firefox-translations-2.9.93-11.1
    MozillaFirefox-2.9.93-9.3

    You can see the order but 2.0.0.12 only stuck when I downgraded to it. Now I can't remove 2.0.0.12 or 2.9.93-9.3. 2.9.93-11.1 works fine and shows as the version with firefox running. The other 2 I can't get rid of.
    Pete

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Try doing
    Code:
    #rpm -e firefox-2.9.93-11.1 MozillaFirefox-2.0.0.12-5.1 firefox-translations-2.9.93-11.1 MozillaFirefox-2.9.93-9.3
    After that install the latest version using YAST or manually using rpm.

  7. #7
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by daark.child View Post
    After that install the latest version using YAST or manually using rpm.
    I've tried that - it doesn't work either. It removes 2.9.93.11.1 but leaves the other 2 entries (no actual firefox). I get this error for each of the 2 remaining entries:
    Code:
    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.9.93-9.3.i586) scriptlet failed, exit status 1
    Pete

  8. #8
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Use the --noscripts option e.g.
    Code:
    #rpm -e --noscripts somepackage

  9. #9
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Quote Originally Posted by daark.child View Post
    Use the --noscripts option e.g.
    Code:
    #rpm -e --noscripts somepackage
    That one did it.

    Thanks daark.child. I knew, if I could get your attention you would have the answer.

    I had read man rpm but couldn't work out what they all did.

    Thanks again.
    Pete

  10. #10
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Quote Originally Posted by peteh View Post
    That one did it.

    Thanks daark.child. I knew, if I could get your attention you would have the answer.

    I had read man rpm but couldn't work out what they all did.

    Thanks again.
    Glad you got things sorted. The RPM Guide is a very good resource for learning about RPM, so whenever you have time, its worth taking a look at it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...