Red Hat Bugzilla – Bug 821733
Error in PREUN in the rpm
Last modified: 2012-06-10 19:57:00 EDT
Description of problem: I was not able to uninstall strongswan because of an error in the PREUN script within the rpm.
Version-Release number of selected component (if applicable): strongswan-4.6.2-1.fc16.x86_64
Steps to Reproduce:
1. yum install strongswan
2. yum erase strongswan
Failed to set locale, defaulting to C
Not loading "blacklist" plugin, as it is disabled
Loading "downloadonly" plugin
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Loading "presto" plugin
Loading "refresh-packagekit" plugin
Loading "tidy-cache" plugin
Not loading "whiteout" plugin, as it is disabled
Running "config" handler for "downloadonly" plugin
Running "config" handler for "langpacks" plugin
Adding en to language list
Running "config" handler for "presto" plugin
Config time: 0.022
Running "init" handler for "fastestmirror" plugin
Running "init" handler for "tidy-cache" plugin
tidy-cache.py rev1233, Copyright (c) 2008-2009 Darwin Slattery
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For details read the plugin help documentation.
Yum Version: 3.4.3
COMMAND: yum -d10 erase strongswan
Reading Local RPMDB
rpmdb time: 0.000
--> Running transaction check
---> Package strongswan.x86_64 0:4.6.2-1.fc16 will be erased
Checking deps for strongswan.x86_64 0:4.6.2-1.fc16 - e
--> Finished Dependency Resolution
Dependency Process ending
Running "postresolve" handler for "langpacks" plugin
Depsolve time: 3.248
Package Arch Version Repository Size
strongswan x86_64 4.6.2-1.fc16 @updates 2.2 M
Remove 1 Package
Installed size: 2.2 M
Is this ok [y/N]: y
Running "predownload" handler for "presto" plugin
Running "postdownload" handler for "downloadonly" plugin
Member: strongswan.x86_64 0:4.6.2-1.fc16 - e
Removing Package strongswan-4.6.2-1.fc16.x86_64
Running Transaction Check
Transaction Check time: 0.002
Running Transaction Test
Transaction Test Succeeded
Transaction Test time: 0.142
Error in PREUN scriptlet in rpm package strongswan-4.6.2-1.fc16.x86_64
Warning: scriptlet or other non-fatal errors occurred during transaction.
Running "posttrans" handler for "refresh-packagekit" plugin
Verifying : strongswan-4.6.2-1.fc16.x86_64 1/1
What is this? strongswan-4.6.2-1.fc16.x86_64
VerifyTransaction time: 0.063
Transaction time: 1.128
The result should be something like "success". Instead the package is not removed.
Problem also exists in strongswan.x86_64 0:4.6.2-2.fc17 on Fedora 17 Beta.
strongswan-4.6.3-1.fc16 has been submitted as an update for Fedora 16.
strongswan-4.6.3-1.fc17 has been submitted as an update for Fedora 17.
strongswan-4.6.3-1.el6 has been submitted as an update for Fedora EPEL 6.
Thanks for your interest in Strongswan. Please test the bugfix and vote for it in bodhi if it works for you. The upgrade path worked for me without error, no workarounds needed.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing strongswan-4.6.3-1.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
The uninstall process looks fine now. Think, this can be closed here. Thanks!
strongswan-4.6.4-1.fc17 has been submitted as an update for Fedora 17.
strongswan-4.6.4-1.fc16 has been submitted as an update for Fedora 16.
strongswan-4.6.4-1.el6 has been submitted as an update for Fedora EPEL 6.
strongswan-4.6.4-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
strongswan-4.6.4-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.