I do not see any RealPlayer in the standard repos. From where did you install? From a repository? Just installed an RPM? Using YaST > Software manager?
And the deinstall: you use YaST > software manager? It is there in the llist and you clicked for Removal? When not then how?
But the player was not upto the mark.hence tried to uninstall using the software package manager ( YaST > Software manager).When it reies to uninstall,it fails and says
“Subprocess failed. Error: RPM failed: prerm called with unknown argument `0’
error: %preun(realplay-11.0.2.1744-1.i386) scriptlet failed, exit status 1”
Same for me a long time ago, go to yast -> software management and
search for realplayer, then delete manually all the files the rpm
contains, and then install vlc or mplayer intead of realplayer
VampirD
Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
>
> When i try to uninstall realplayer user softwre management module
>
> It says that it cannot do so due to following reasons
>
> "Subprocess failed. Error: RPM failed: prerm called with unknown
> argument `0’
error: %preun(realplay-11.0.2.1744-1.i386) scriptlet failed, exit
status 1"
The rpm package is bad, it contains a script to be run before
installation and another before uninstall, that fails, and aborts the
process.
The 1st thing is to find that script, then find out why it failed, then
run it or modify it in a way that it succeeds, manually, and finally
run the rpm command in a way that it ignores the script (ie, the
–noscript option).
The “PREUN” script is
#!/bin/sh
# prerm script for Helix and RealPlayer
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package>
<new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
echo "prerm..."
if -x /opt/real/RealPlayer/postinst/postuninst.sh ] ; then
/opt/real/RealPlayer/postinst/postuninst.sh
fi
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0
Do you recognize the error message above?
So you have to run the script
“/opt/real/RealPlayer/postinst/postuninst.sh”, then uninstall the rpm
with --noscripts.
Warning: I have not tested this. But I had the same problem installing
it, and solved it this way thanks to David Haller on the mail list.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))
I do use gnome mplayer,guess both gnome mplayer and smplayer use mplayer engine.
But i installed realplayer thinking that it would support real media better
My gnome-mplayer plays .rm files but with .rmvb it throws a wobbly a bit, but it still plays (some error about ‘Failed to open VDPAU backend libvdpau_nvidia.so’
Thanks. The suggestion of “–noscripts” worked. But I did it in a long noob way, I deleted all the RealPlayer directories manually and then ran RPM --noscripts to remove the package.
>
> Thanks. The suggestion of “–noscripts” worked. But I did it in a long
> noob way, I deleted all the RealPlayer directories manually and then
> ran RPM --noscripts to remove the package.
Ugh!
I assume you first run the script at
“/opt/real/RealPlayer/postinst/postuninst.sh”? This one is supossed to
remove start links and associations.
Next time, first run the rpm command, then see if there are files to
remove manually. Saves time and effort
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
I wasn’t able to fix the install of Real but I did install Helix and grabbed the codecs from /opt/real/RealPlayer and can play my Nokia created .3gp files with Helix now. Cheating I know but arf!