LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gpar2, installed wrong package help please (https://www.linuxquestions.org/questions/linux-software-2/gpar2-installed-wrong-package-help-please-496656/)

lizard_king825 10-29-2006 01:01 PM

gpar2, installed wrong package help please
 
Hi all running Fedora 6 on x86_64.
I installed the wrong package for gpar2
I installed the .i386 version, I cannt remove it yet, I need to remove to install the 64bit version of gpar2.
here are the errors I am getting and info on my problem:

[root@localhost /]# rpm -qa gpar2
gpar2-0.3-2
[root@localhost /]#rpm -e gpar2-0.3-2
postrm called with unknown argument `0'
error: %postun(gpar2-0.3-2.i386) scriptlet failed, exit status 1


Any suggestions?
Thanks

b0uncer 10-29-2006 01:17 PM

Did you try just with
Code:

rpm -e gpar2
without the version number? Or with "force" switch,
Code:

rpm --force -e gpar2
would it help? It's also possible that the package is broken, that the script which is to be run after the actual removal process, is somehow messed up and can't be run, in which case the package itself might not be removed the usual way. In this case you'd need to either fix the post-rm script, if that's the problem, or just find another way to force rpm to remove the package's files.

lizard_king825 10-29-2006 06:59 PM

reply
 
hi
thanks for your reply
I tryed your commands here is what I got:

#rpm -e --force gpar2-0.3-2.i686
rpm: only installation, upgrading, rmsource and rmspec may be forced

so I thought that meant I had to try and force the new 64 bit rpm install, I prolly just made things 110% worse now I have both the 32bit and 64 bit installed. neither works yet.


rpm -qa | grep gpar2
gpar2-0.3-2
gpar2-0.3-2
I also try to yum -y remove
either package.

gpar2 x86_64 0.3-2 installed 107 k
gpar2 i386 0.3-2 installed 96 k

What do you think?
thanks


All times are GMT -5. The time now is 05:14 PM.