Installed package for another distro by accident, how to clean?
I am a fairly green user of Linux, but not too green that I couldn't get myself into trouble.
I think I did a big no no and put myself in a bit of a predicament. In trying to get a cinepaint full installation working I installed a package that was not intended for FC6 by accident. It will now not uninstall. Yum returns this error:
*** /var/tmp/rpm-tmp.46788: line 1: /sbin/postun_ldconfig: No such file or directory
*** error: %postun(libcinepaint-0.21.2-alt1.i586) scriptlet failed, exit status 127
This failure to remove the package prevents me from installing the correct cinepaint as I get this error:
file /usr/lib/libcinepaint.so.0.0.21 from install of cinepaint-0.21-0 conflicts with file from package libcinepaint-0.21.2-alt1
Please can someone help me clean this up?
as root 'rpm -e libcinepaint'
thank you for the suggestion but.....
[root@localhost les]# rpm -e libcinepaint
/var/tmp/rpm-tmp.22506: line 1: /sbin/postun_ldconfig: No such file or directory
error: %postun(libcinepaint-0.21.2-alt1.i586) scriptlet failed, exit status 127
I found my own answer. The file "/sbin/postun_ldconfig" did not exist and was causing the uninstall script to fail. Being a bit adventurous I figured I could do no harm in adding one that did something benign. So I made a file with one command inside that I thought would match what was expected from the name of the file, namely it just calls /sbin/ldconfig
It worked and the broken install uninstalled and I can now install the proper cinepaint from the release candidate rpm.
|All times are GMT -5. The time now is 12:07 PM.|