Red Hat 操作系统 rpm 卸载软件提示"error: %preun( ) scriptlet failed, exit status 1"
来源:互联网 发布:手机淘宝金币怎么抵钱 编辑:程序博客网 时间:2024/05/21 07:58
在linux里安装程序有两种方法,一种是源程序安装,按照安装包里的readme或者install文件指示,一步步地进行,通常是configure,
make, install三部曲。另一种就是rpm包,这个类似windows里常见的安装程序,既可在xwin里双击运行,也可以在终端里输入
rpm -ivh packagename开始安装。
卸装时,用源程序安装的运行make uninstall, 用rpm安装的则仍是使用rpm。
对于接触linux不久的我来说,总感觉这些过程挺麻烦的,时不时会遇到点问题。
今天卸载rpm的时候,就出了一点岔子,记录下来以为后鉴。
make, install三部曲。另一种就是rpm包,这个类似windows里常见的安装程序,既可在xwin里双击运行,也可以在终端里输入
rpm -ivh packagename开始安装。
卸装时,用源程序安装的运行make uninstall, 用rpm安装的则仍是使用rpm。
对于接触linux不久的我来说,总感觉这些过程挺麻烦的,时不时会遇到点问题。
今天卸载rpm的时候,就出了一点岔子,记录下来以为后鉴。
提示错误"error: %preun(wine-20050310-1fc1winehq) scriptlet failed, exit status 1”
经搜索,其解决方法为加 --noscripts 标记来删除RPM。 --noscripts 相当于 --nopre --nopost
--nopreun --nopostun。
即卸载命令变为:
$rpm -e --noscripts wine-20050310-1fc1winehq
若要查看与RPM关联的scripts,使用--script查询RPM包。
$rpm -q --scripts package
卸载时,若系统里有同一程序的多个安装版本要一起删除,可使用--allmatches标记,如
$ rpm -e --noscripts --allmatches vsftpd
卸载成功后,重新安装新的wine包
$rpm -ivh vsftpd-2.3.4-5.1.3.x86_64rpm.
0 0
- Red Hat 操作系统 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 error: %preun(xxx) scriptlet failed, exit status1
- error: %preun(keepalived-1.2.7-3.el6.x86_64) scriptlet failed, exit status 1 解决
- %preun(vsftpd-2.0.1-2mdk.x86_64) scriptlet failed, exit status 127 解决方案
- 在Red Hat上安装rpm包时显示error: Failed dependencies:错误
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1 解决方法
- error: command 'gcc' failed with exit status 1 的解决办法
- 【centos】 error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1 的解决办法
- centos---error: command 'gcc' failed with exit status 1
- error: command ‘gcc’ failed with exit status 1
- LAMP架构
- 八大排序算法总结
- 【ASP】相关的理论知识
- nodeJs的简单介绍
- Core Location Manager Changes in iOS 8(iOS8获取不到地理位置)
- Red Hat 操作系统 rpm 卸载软件提示"error: %preun( ) scriptlet failed, exit status 1"
- linux使用小窍门
- java file功能
- 网站空间租用
- 直角三角形(*)
- 用户引导界面
- 01背包之完全背包
- 图像处理
- web工程开发过程中,js、css文件修改提交后修改效果不起作用