安装/卸载 Realplayer RPM 包时提示 scriptlet failed, exit status 1
2010-09-18 00:29
525 查看
今天安装了Realplay 装的时候提示
rpm -e realplay
prerm called with unknown argument `0′
error: %preun(realplay-11.0.2.1744-1.i386) scriptlet
failed, exit status 1
卸载的时候卸载不掉,解决方案:需要加参数
–noscripts
rpm -e –noscripts realplay
关于安装的时候也会提示同样的错误
解决方案:
[root@mycomputer downloads]# rpm -ivh
RealPlayer11GOLD.rpm
Preparing… ########################################### [100%]
1:realplay ########################################### [100%]
postinst called with unknown argument `1′
warning: %post(realplay-11.0.2.1744-1.i386) scriptlet failed, exit
status 1
不理之,到/opt/real/RealPlayer/Bin目录下有个可执行文件setup,运行./setup
[root@mycomputer Bin]# ./setup
Welcome to the RealPlayer (11.0.2.1744) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue…
Enter the complete path to the directory where you want
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/opt/real/RealPlayer]:
You have selected the following RealPlayer configuration:
Destination: /opt/real/RealPlayer
Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:
Copying RealPlayer files…Path setup done.
.Succeeded.
installing application icons resource…
installing document icons resource…
……………………Succeeded.
Configuring Mozilla…
Installing .mo locale files…
Setting selinux context…
Succeeded.
RealPlayer installation is complete.
Cleaning up installation files…
Done.
然后搞定,在应用程序-影音 里也出现了快捷方式。设置之后正常。
到此,问题已经全部解决。
但是我在网上逛,又发现一个问题,有的人会提示:
正在安装 :
realplay-11.0.2.1744-1.i386 1/1
Non-fatal POSTIN scriptlet failure in rpm
package realplay-11.0.2.1744-1.i386
postinst
called with unknown argument `2′
warning:
%post(realplay-11.0.2.1744-1.i386) scriptlet failed, exit status 1
解决方案:
sudo
/opt/real/RealPlayer/postinst/postuninst.sh
之后我们再把安装的文件夹删除就OK了
sudo rm -fr
/opt/real
卸载完成
不过,需要提示的是,虽然这样可以把它安装的文件都删除了,但是
在包管理中仍然存在这个软件的安装记录,如何删除暂时我不知道.(我想可以
用上边的方法,即添加参数解决。具体我没试过)
rpm -e realplay
prerm called with unknown argument `0′
error: %preun(realplay-11.0.2.1744-1.i386) scriptlet
failed, exit status 1
卸载的时候卸载不掉,解决方案:需要加参数
–noscripts
rpm -e –noscripts realplay
关于安装的时候也会提示同样的错误
解决方案:
[root@mycomputer downloads]# rpm -ivh
RealPlayer11GOLD.rpm
Preparing… ########################################### [100%]
1:realplay ########################################### [100%]
postinst called with unknown argument `1′
warning: %post(realplay-11.0.2.1744-1.i386) scriptlet failed, exit
status 1
不理之,到/opt/real/RealPlayer/Bin目录下有个可执行文件setup,运行./setup
[root@mycomputer Bin]# ./setup
Welcome to the RealPlayer (11.0.2.1744) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue…
Enter the complete path to the directory where you want
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/opt/real/RealPlayer]:
You have selected the following RealPlayer configuration:
Destination: /opt/real/RealPlayer
Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:
Copying RealPlayer files…Path setup done.
.Succeeded.
installing application icons resource…
installing document icons resource…
……………………Succeeded.
Configuring Mozilla…
Installing .mo locale files…
Setting selinux context…
Succeeded.
RealPlayer installation is complete.
Cleaning up installation files…
Done.
然后搞定,在应用程序-影音 里也出现了快捷方式。设置之后正常。
到此,问题已经全部解决。
但是我在网上逛,又发现一个问题,有的人会提示:
正在安装 :
realplay-11.0.2.1744-1.i386 1/1
Non-fatal POSTIN scriptlet failure in rpm
package realplay-11.0.2.1744-1.i386
postinst
called with unknown argument `2′
warning:
%post(realplay-11.0.2.1744-1.i386) scriptlet failed, exit status 1
解决方案:
sudo
/opt/real/RealPlayer/postinst/postuninst.sh
之后我们再把安装的文件夹删除就OK了
sudo rm -fr
/opt/real
卸载完成
不过,需要提示的是,虽然这样可以把它安装的文件都删除了,但是
在包管理中仍然存在这个软件的安装记录,如何删除暂时我不知道.(我想可以
用上边的方法,即添加参数解决。具体我没试过)
相关文章推荐
- Red Hat 操作系统 rpm 卸载软件提示"error: %preun( ) scriptlet failed, exit status 1"
- 解决yum/rpm安装时出现的“error: install: %pre scriptlet failed”类似错误
- yum 卸载 error: %preun(tengine-2.1.0-1.el6.x86_64) scriptlet failed, exit status 6
- 解决yum/rpm安装时出现的“error: install: %pre scriptlet failed”类似错误
- rpm出现"error: %preun( ) scriptlet failed, exit status 1问题
- rpm删除出现”error: %preun( ) scriptlet failed, exit status 1解决方法
- rpm出现"error: %preun( ) scriptlet failed, exit status 1问题
- 安装rpm文件时提示rpmReadSignature failed 错误
- rpm error: %preun(xxx) scriptlet failed, exit status1
- yum卸载失败Error in PREUN scriptlet in rpm package postgresql-server
- 安装rpm文件时提示rpmReadSignature failed 错误
- RPM包显示安装成功,但是卸载时提示包未安装
- 关于在虚拟设备上运行项目的时候遇到INSTALL_FAILED_NO_MATCHING_ABIS,提示卸载以前安装的版本
- %preun(vsftpd-2.0.1-2mdk.x86_64) scriptlet failed, exit status 127 解决方案
- RPM软件包的安装及卸载
- [置顶] 【Linux】 安装VMware Workstation提示the msi failed的解决办法
- 安装realplayer for linux
- linux软件安装与卸载rpm
- Linux(centos)下安装卸载命令rpm,make install使用方法【转】