FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2005
    Location
    San Antonio, Texas
    Age
    64
    Posts
    85

    rpm error %preun() scriptlet failed?

    Hi All,

    RPM isn't removing a package for me, and I'm unsure how to get rid of the package. I've looked into forcing rpm to uninstall freenx but have yet to find a solution. I've tried yum and yumex with no improvement. Here's the focus of my problem:

    # rpm -e freenx
    error: %preun(freenx-0.4.4-2.FC5.0.noarch) scriptlet failed, exit status 1

    # rpm --rebuilddb
    didn't help anything.

    # rpm -q freenx
    freenx-0.4.4-2.FC5.0
    shows you that it's there...

    Many thanks for any help,
    Dale E. Moore

  2. #2
    Seve's Avatar
    Seve is offline Retired Community Manager
    Join Date
    Oct 2004
    Location
    The GTA, Ontario, Canada
    Age
    59
    Posts
    12,371
    Hi:
    Try # yum remove freenx

    Seve
    Registered Linux User: #384977
    .................................................. ............
    See the Links below for more Help and those much wanted extras ... :)


  3. #3
    Join Date
    Apr 2005
    Location
    San Antonio, Texas
    Age
    64
    Posts
    85

    When yum uses rpm to remove freenx it fails, too.

    When yum uses rpm to remove freenx it fails, too:

    # yum remove freenx
    Loading "installonlyn" plugin
    Setting up Remove Process
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package freenx.noarch 0:0.4.4-2.FC5.0 set to be erased
    --> Running transaction check

    Dependencies Resolved

    ================================================== ===========================
    Package Arch Version Repository Size
    ================================================== ===========================
    Removing:
    freenx noarch 0.4.4-2.FC5.0 installed 152 k

    Transaction Summary
    ================================================== ===========================
    Install 0 Package(s)
    Update 0 Package(s)
    Remove 1 Package(s)
    Is this ok [y/N]: y
    Downloading Packages:
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    error: %preun(freenx-0.4.4-2.FC5.0.noarch) scriptlet failed, exit status 1

    Removed: freenx.noarch 0:0.4.4-2.FC5.0
    Complete!

  4. #4
    Join Date
    Feb 2005
    Location
    ark n saw out in the sticks
    Posts
    2,316
    rpm -qa |grep freenx
    should tell ya if it's still installed.

  5. #5
    Join Date
    Apr 2005
    Location
    San Antonio, Texas
    Age
    64
    Posts
    85
    I'm certain it's still there.

    # rpm -qa | grep freenx
    freenx-0.4.4-2.FC5.0
    # rpm -q freenx
    freenx-0.4.4-2.FC5.0

  6. #6
    Join Date
    Apr 2005
    Location
    San Antonio, Texas
    Age
    64
    Posts
    85
    Thanks for all y'alls thoughts; I found it at https://bugzilla.redhat.com/bugzilla/query.cgi by searching for "rpm error %preun scriptlet failed". This seems to have worked:

    # rpm -e freenx --noscripts

  7. #7
    Join Date
    Sep 2005
    Posts
    18
    Quote Originally Posted by DaleEMoore
    Thanks for all y'alls thoughts; I found it at https://bugzilla.redhat.com/bugzilla/query.cgi by searching for "rpm error %preun scriptlet failed". This seems to have worked:

    # rpm -e freenx --noscripts
    Great !! and thank you.

    This worked for me too. Funny that I got the same error with freenx

  8. #8
    Join Date
    Sep 2007
    Posts
    11

    Re: rpm error %preun() scriptlet failed?

    Found this thread through a google search and wanted to say that it helped me as well.

    Hate to grave dig, but at the same time this was immensely useful in figuring out why:

    rpm -e <package_name>

    or

    yum remote <package_name>

    would continually fail.

    Hopefully other people who end up using Google to troubleshoot will also find it useful.

Similar Threads

  1. Replies: 5
    Last Post: 11th April 2006, 01:15 AM
  2. gstreamer scriptlet failed, exit status 127
    By oleanj in forum Using Fedora
    Replies: 0
    Last Post: 10th November 2005, 12:02 PM
  3. rpm error: %post scriptlet failed, exit status 255
    By micattack in forum Using Fedora
    Replies: 1
    Last Post: 31st October 2005, 04:50 PM
  4. Replies: 1
    Last Post: 27th February 2005, 11:43 PM

Tags for this Thread

Posting Permissions

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