rpm -e [卸载选项1 卸载选项2...] [软件包标识1 软件包标识2...]
# rpm -e --test mktemp
error: removing these packages would break dependencies:
mktemp is needed by autoconf-2.13-5
mktemp is needed by dev-2.7.7-4BP
mktemp is needed by groff-1.11a-10BP
mktemp is needed by gzip-1.2.4-15BP
mktemp is needed by initscripts-4.16-3BP
mktemp is needed by metamail-2.7-21BP
mktemp is needed by rpm-3.0.3-4BP
mktemp is needed by autofs-3.1.3-2
/bin/mktemp is needed by apache-1.3.12-5BP
/bin/mktemp is needed by linuxconf-1.16r1.3-4BP
# rpm -e --test -vv file | nl
1 D: opening database mode 0x0 in //var/lib/rpm/
2 D: getting list of mounted filesystems
3 + echo triggeruninstall
4 triggeruninstall
5 D: will remove files test = 1
6 D:file: /usr/share/magic action: remove
7 D:file: /usr/man/man4/magic.4 action: remove
8 D:file: /usr/man/man1/file.1 action: remove
9 D:file: /usr/bin/file action: remove
10 + echo triggerpostuninstall
11 triggerpostuninstall
12 D: removing database entry
# rpm -e --test --nodeps mktemp
# rpm -e --test -vv --notriggers file | nl
1 D: opening database mode 0x0 in //var/lib/rpm/
2 D: getting list of mounted filesystems
3 D: will remove files test = 1
4 D:file: /usr/share/magic action: remove
5 D:file: /usr/man/man4/magic.4 action: remove
6 D:file: /usr/man/man1/file.1 action: remove
7 D:file: /usr/bin/file action: remove
8 D: removing database entry
# rpm -q foo
foo-6.0-1
foo-7.0-1
# rpm -e foo
error: "foo" specifies multiple packages
# rpm -e --allmatches foo
# rpm -q foo
package foo is not installed
# rpm -ql file
/usr/bin/file
/usr/man/man1/file.1
/usr/man/man4/magic.4
/usr/share/magic
# ls -l /usr/bin/file
-rwxr-xr-x 1 root root23948 Mar 23 1999 /usr/bin/file
# rpm -e --justdb file
# ls -l /usr/bin/file
-rwxr-xr-x 1 root root23948 Mar 23 1999 /usr/bin/file
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10007212/viewspace-979749/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10007212/viewspace-979749/
文章浏览阅读561次,点赞3次,收藏3次。不同浏览器使用不同的渲染引擎,如WebKit(Safari和Chrome使用)、Gecko(Firefox使用)和Blink(Opera和新版Chrome使用)。JavaScript 引擎会解释并执行 JavaScript 代码,根据 JavaScript 代码修改文档对象模型(DOM),以及更新渲染树(Render Tree)和网页的呈现。新华网藏语频道,使用的是UTF-8,保证字符集的数量。最常用的Unicode编码方案是UTF-8,它使用可变长度的编码方式,根据字符的不同而使用不同长度的字节序列。_前端页面开发教程
文章浏览阅读1.5k次。解决方案:把“使用代理服务器”关闭。_微信可以上网,浏览器不能上网
文章浏览阅读231次。四、数据库和表的相关命令1、创建一个新的数据库:sqlite3 文件名先建立一个 Db 目录,并在 Db 目录中创建一个 test.db 数据库文件,打开控制台窗口,命令如下:mkdir Dbcd Dbsqlite3 test.db2、打开一个已经存在的数据库:sqlite3 已经存在的文件名创建一个新数据库和打开一个已经存在的数据库命令是一模一样的,如果文件在当前目录下不存在,..._mysql怎么打开sqlite3
文章浏览阅读3.1k次。<?php//因为前后台都要用到,所以放在supermario文件夹下方便重用/*** 喔~可爱滴小数点~喔~可爱滴千位数~* 如果位数超过4位,则将第3位前增加,* @param int $gold* @return string*/function showGold($gold) { return number_format($gold);}..._mjcommonfuncs
文章浏览阅读1.1k次,点赞6次,收藏9次。今天继续给大家介绍Python相关知识,本文主要内容是Python字符串类型基础。一、字符串表示二、字符串使用三、字符串转义四、字符串操作符_python字符串规则
文章浏览阅读248次。思维导图、视频、代码携手揭秘shiro,干货多多,趣味多多!目录思维导图视频代码思维导图视频链接:https://pan.baidu.com/s/12IzkztIfPCBGhyiqkStvdg提取码:4sx4代码https://gitee.com/cakin24/shirodemo/tree/master/shiro-example-chapter15-clienthttps://gitee.com/cakin24/shirodemo/tree/mas..._shiro源码视频
文章浏览阅读109次。题意:定义一个串为\(super\)回文串为:\(\bullet\) 串s为主串str的一个子串,即\(s = str_lstr_{l + 1} \cdots str_r\)\(\bullet\) 串s为回文串\(\bullet\) 串\(str_lstr_{l + 1}...str_{\llcorner (l + r) / 2 \lrcorner}\)也是回文串问长度为1、2..._i love palindrome string 题解
文章浏览阅读3.7k次,点赞3次,收藏20次。目录什么是深度学习深度学习如何工作什么是深度学习神经网络?深度学习方法深度学习应用示例深度学习有什么用?局限与挑战深度学习与机器学习深度学习发展历史什么是深度学习深度学习是机器学习(ML)和人工智能(AI)的一种,它模仿人类获得某些类型的知识的方式。深度学习是数据科学的重要元素,其中包括统计和预测模型。对于负责收集,分析和解释大量数据的数据科学家而言,..._深度学习 猫狗识别 发展历史
文章浏览阅读3.9k次。Qt 使用QMovie加载gif图片实现动态等待窗口_*.gif 等待
文章浏览阅读2.1k次。https://blog.csdn.net/TskyFree/article/details/439355951、android文件系统的结构android源码编译后得到system.img,ramdisk.img,userdata.img映像文件。其中, ramdisk.img是emulator的文件系统,system.img包括了主要的包、库等文件,userdata.img包括了一些用户数..._adb 挂载 ramdisk
文章浏览阅读1k次,点赞24次,收藏27次。本文主要介绍redis数据库的持久化策略及性能管理,详细阐释了RDB持久化和AOF持久化,以及内回收策略,还有Redis缓存穿透、击穿、雪崩问题,希望对你有帮助!
文章浏览阅读596次。常见使用聚合再进行map处理,用于匹配数据。了解Collectors.collectingAndThen的用法,聚合后再进行操作。写不来,就分两步写,先完成,再优化_java8 group