yum命令安装一个软件包是会连同依赖包一起安装

但是yum remove卸载时却只卸载这个文件包本身,如果需要删除安装时附加的依赖包可以使用yum history的相关操作实现回滚

 

 

  1. [root@bogon opt]# yum history list eclipse-pde
  2. Loaded plugins: fastestmirror, presto, priorities, refresh-packagekit, security
  3. ID | Login user | Date and time | Action(s) | Altered
  4. -------------------------------------------------------------------------------
  5. 176 | user <user> | 2017-02-19 15:01 | Install | 58
  6. 73 | user <user> | 2014-03-26 23:30 | Erase | 106
  7. 1 | System <unset> | 2014-01-14 08:39 | Install | 1515
  8. history list
  9. [root@bogon opt]# yum history undo 176
  10. Loaded plugins: fastestmirror, presto, priorities, refresh-packagekit, security
  11. Undoing transaction 176, from Sun Feb 19 15:01:19 2017
  12. Dep-Install ant-1.7.1-15.el6.i686 @base
  13. Dep-Install ant-antlr-1.7.1-15.el6.i686 @base
  14. Dep-Install ant-apache-bcel-1.7.1-15.el6.i686 @base
  15. Dep-Install ant-apache-bsf-1.7.1-15.el6.i686 @base
  16. Dep-Install ant-apache-log4j-1.7.1-15.el6.i686 @base
  17. Dep-Install ant-apache-oro-1.7.1-15.el6.i686 @base
  18. Dep-Install ant-apache-regexp-1.7.1-15.el6.i686 @base
  19. Dep-Install ant-apache-resolver-1.7.1-15.el6.i686 @base
  20. Dep-Install ant-commons-logging-1.7.1-15.el6.i686 @base
  21. Dep-Install ant-commons-net-1.7.1-15.el6.i686 @base
  22. Dep-Install ant-javamail-1.7.1-15.el6.i686 @base
  23. Dep-Install ant-jdepend-1.7.1-15.el6.i686 @base
  24. Dep-Install ant-jsch-1.7.1-15.el6.i686 @base
  25. Dep-Install ant-junit-1.7.1-15.el6.i686 @base
  26. Dep-Install ant-nodeps-1.7.1-15.el6.i686 @base
  27. Dep-Install ant-swing-1.7.1-15.el6.i686 @base
  28. Dep-Install ant-trax-1.7.1-15.el6.i686 @base
  29. Dep-Install apache-jasper-5.5.28-3.el6.noarch @base
  30. Dep-Install axis-1.2.1-7.5.el6_5.noarch @base
  31. Dep-Install bcel-5.2-7.2.el6.i686 @base
  32. Dep-Install bsf-2.4.0-4.1.el6.noarch @base
  33. Dep-Install classpathx-jaf-1.0-15.4.el6.i686 @base
  34. Dep-Install classpathx-mail-1.1.1-9.4.el6.noarch @base
  35. Dep-Install ecj-1:3.4.2-6.el6.i686 @base
  36. Dep-Install eclipse-jdt-1:3.6.1-6.13.el6.i686 @base
  37. Install eclipse-pde-1:3.6.1-6.13.el6.i686 @base
  38. Dep-Install eclipse-platform-1:3.6.1-6.13.el6.i686 @base
  39. Dep-Install eclipse-rcp-1:3.6.1-6.13.el6.i686 @base
  40. Dep-Install geronimo-specs-1.0-3.5.M2.el6.noarch @base
  41. Dep-Install geronimo-specs-compat-1.0-3.5.M2.el6.noarch @base
  42. Dep-Install hamcrest-1.1-9.5.el6.i686 @base
  43. Dep-Install jakarta-commons-codec-1.3-11.7.el6.i686 @base
  44. Dep-Install jakarta-commons-httpclient-1:3.1-0.9.el6_5.i686 @base
  45. Dep-Install jakarta-commons-net-2.0-2.1.el6.noarch @base
  46. Dep-Install jakarta-oro-2.0.8-6.6.el6.i686 @base
  47. Dep-Install java-1.5.0-gcj-1.5.0.0-29.1.el6.i686 @base
  48. Dep-Install java-1.6.0-openjdk-1:1.6.0.41-1.13.13.1.el6_8.i686 @updates
  49. Dep-Install java-1.6.0-openjdk-devel-1:1.6.0.41-1.13.13.1.el6_8.i686 @updates
  50. Dep-Install java-1.7.0-openjdk-devel-1:1.7.0.131-2.6.9.0.el6_8.i686 @updates
  51. Dep-Install java_cup-1:0.10k-5.el6.i686 @base
  52. Dep-Install jetty-eclipse-6.1.24-2.el6.noarch @base
  53. Dep-Install jsch-0.1.41-2.2.el6.noarch @base
  54. Dep-Install junit-3.8.2-6.5.el6.i686 @base
  55. Dep-Install junit4-4.5-5.4.el6.noarch @base
  56. Dep-Install jzlib-1.0.7-7.5.el6.i686 @base
  57. Dep-Install log4j-1.2.14-6.4.el6.i686 @base
  58. Dep-Install mx4j-1:3.0.1-9.13.el6.noarch @base
  59. Dep-Install objectweb-asm-3.2-2.1.el6.noarch @base
  60. Dep-Install qdox-1.9.2-2.el6.noarch @base
  61. Dep-Install regexp-1.5-4.4.el6.i686 @base
  62. Dep-Install sat4j-2.2.0-4.0.el6.noarch @base
  63. Dep-Install sinjdoc-0.5-9.1.el6.i686 @base
  64. Dep-Install slf4j-1.5.8-8.el6.noarch @base
  65. Dep-Install wsdl4j-1.5.2-7.8.el6.noarch @base
  66. Dep-Install xalan-j2-2.7.0-9.9.el6_5.noarch @base
  67. Dep-Install xerces-j2-2.7.1-12.7.el6_5.i686 @base
  68. Dep-Install xml-commons-apis-1.3.04-3.6.el6.i686 @base
  69. Dep-Install xml-commons-resolver-1.1-4.18.el6.i686 @base
  70. Resolving Dependencies
  71. --> Running transaction check
  72. ---> Package ant.i686 0:1.7.1-15.el6 will be erased
  73. ---> Package ant-antlr.i686 0:1.7.1-15.el6 will be erased
  74. ---> Package ant-apache-bcel.i686 0:1.7.1-15.el6 will be erased
  75. ---> Package ant-apache-bsf.i686 0:1.7.1-15.el6 will be erased
  76. ---> Package ant-apache-log4j.i686 0:1.7.1-15.el6 will be erased
  77. ---> Package ant-apache-oro.i686 0:1.7.1-15.el6 will be erased
  78. ---> Package ant-apache-regexp.i686 0:1.7.1-15.el6 will be erased
  79. ---> Package ant-apache-resolver.i686 0:1.7.1-15.el6 will be erased
  80. ---> Package ant-commons-logging.i686 0:1.7.1-15.el6 will be erased
  81. ---> Package ant-commons-net.i686 0:1.7.1-15.el6 will be erased
  82. ---> Package ant-javamail.i686 0:1.7.1-15.el6 will be erased
  83. ---> Package ant-jdepend.i686 0:1.7.1-15.el6 will be erased
  84. ---> Package ant-jsch.i686 0:1.7.1-15.el6 will be erased
  85. ---> Package ant-junit.i686 0:1.7.1-15.el6 will be erased
  86. ---> Package ant-nodeps.i686 0:1.7.1-15.el6 will be erased
  87. ---> Package ant-swing.i686 0:1.7.1-15.el6 will be erased
  88. ---> Package ant-trax.i686 0:1.7.1-15.el6 will be erased
  89. ---> Package apache-jasper.noarch 0:5.5.28-3.el6 will be erased
  90. ---> Package axis.noarch 0:1.2.1-7.5.el6_5 will be erased
  91. ---> Package bcel.i686 0:5.2-7.2.el6 will be erased
  92. ---> Package bsf.noarch 0:2.4.0-4.1.el6 will be erased
  93. ---> Package classpathx-jaf.i686 0:1.0-15.4.el6 will be erased
  94. ---> Package classpathx-mail.noarch 0:1.1.1-9.4.el6 will be erased
  95. ---> Package ecj.i686 1:3.4.2-6.el6 will be erased
  96. ---> Package eclipse-jdt.i686 1:3.6.1-6.13.el6 will be erased
  97. ---> Package eclipse-pde.i686 1:3.6.1-6.13.el6 will be erased
  98. ---> Package eclipse-platform.i686 1:3.6.1-6.13.el6 will be erased
  99. ---> Package eclipse-rcp.i686 1:3.6.1-6.13.el6 will be erased
  100. ---> Package geronimo-specs.noarch 0:1.0-3.5.M2.el6 will be erased
  101. ---> Package geronimo-specs-compat.noarch 0:1.0-3.5.M2.el6 will be erased
  102. ---> Package hamcrest.i686 0:1.1-9.5.el6 will be erased
  103. ---> Package jakarta-commons-codec.i686 0:1.3-11.7.el6 will be erased
  104. ---> Package jakarta-commons-httpclient.i686 1:3.1-0.9.el6_5 will be erased
  105. ---> Package jakarta-commons-net.noarch 0:2.0-2.1.el6 will be erased
  106. ---> Package jakarta-oro.i686 0:2.0.8-6.6.el6 will be erased
  107. ---> Package java-1.5.0-gcj.i686 0:1.5.0.0-29.1.el6 will be erased
  108. ---> Package java-1.6.0-openjdk.i686 1:1.6.0.41-1.13.13.1.el6_8 will be erased
  109. ---> Package java-1.6.0-openjdk-devel.i686 1:1.6.0.41-1.13.13.1.el6_8 will be erased
  110. ---> Package java-1.7.0-openjdk-devel.i686 1:1.7.0.131-2.6.9.0.el6_8 will be erased
  111. ---> Package java_cup.i686 1:0.10k-5.el6 will be erased
  112. ---> Package jetty-eclipse.noarch 0:6.1.24-2.el6 will be erased
  113. ---> Package jsch.noarch 0:0.1.41-2.2.el6 will be erased
  114. ---> Package junit.i686 0:3.8.2-6.5.el6 will be erased
  115. ---> Package junit4.noarch 0:4.5-5.4.el6 will be erased
  116. ---> Package jzlib.i686 0:1.0.7-7.5.el6 will be erased
  117. ---> Package log4j.i686 0:1.2.14-6.4.el6 will be erased
  118. ---> Package mx4j.noarch 1:3.0.1-9.13.el6 will be erased
  119. ---> Package objectweb-asm.noarch 0:3.2-2.1.el6 will be erased
  120. ---> Package qdox.noarch 0:1.9.2-2.el6 will be erased
  121. ---> Package regexp.i686 0:1.5-4.4.el6 will be erased
  122. ---> Package sat4j.noarch 0:2.2.0-4.0.el6 will be erased
  123. ---> Package sinjdoc.i686 0:0.5-9.1.el6 will be erased
  124. ---> Package slf4j.noarch 0:1.5.8-8.el6 will be erased
  125. ---> Package wsdl4j.noarch 0:1.5.2-7.8.el6 will be erased
  126. ---> Package xalan-j2.noarch 0:2.7.0-9.9.el6_5 will be erased
  127. ---> Package xerces-j2.i686 0:2.7.1-12.7.el6_5 will be erased
  128. ---> Package xml-commons-apis.i686 0:1.3.04-3.6.el6 will be erased
  129. ---> Package xml-commons-resolver.i686 0:1.1-4.18.el6 will be erased
  130. --> Finished Dependency Resolution
  131. Dependencies Resolved
  132. ================================================================================
  133. Package Arch Version Repository
  134. Size
  135. ================================================================================
  136. Removing:
  137. ant i686 1.7.1-15.el6 @base 5.4 M
  138. ant-antlr i686 1.7.1-15.el6 @base 34 k
  139. ant-apache-bcel i686 1.7.1-15.el6 @base 34 k
  140. ant-apache-bsf i686 1.7.1-15.el6 @base 23 k
  141. ant-apache-log4j i686 1.7.1-15.el6 @base 19 k
  142. ant-apache-oro i686 1.7.1-15.el6 @base 168 k
  143. ant-apache-regexp i686 1.7.1-15.el6 @base 19 k
  144. ant-apache-resolver i686 1.7.1-15.el6 @base 21 k
  145. ant-commons-logging i686 1.7.1-15.el6 @base 23 k
  146. ant-commons-net i686 1.7.1-15.el6 @base 194 k
  147. ant-javamail i686 1.7.1-15.el6 @base 33 k
  148. ant-jdepend i686 1.7.1-15.el6 @base 72 k
  149. ant-jsch i686 1.7.1-15.el6 @base 123 k
  150. ant-junit i686 1.7.1-15.el6 @base 387 k
  151. ant-nodeps i686 1.7.1-15.el6 @base 1.6 M
  152. ant-swing i686 1.7.1-15.el6 @base 35 k
  153. ant-trax i686 1.7.1-15.el6 @base 94 k
  154. apache-jasper noarch 5.5.28-3.el6 @base 1.9 M
  155. axis noarch 1.2.1-7.5.el6_5 @base 1.6 M
  156. bcel i686 5.2-7.2.el6 @base 15 M
  157. bsf noarch 2.4.0-4.1.el6 @base 121 k
  158. classpathx-jaf i686 1.0-15.4.el6 @base 182 k
  159. classpathx-mail noarch 1.1.1-9.4.el6 @base 822 k
  160. ecj i686 1:3.4.2-6.el6 @base 5.7 M
  161. eclipse-jdt i686 1:3.6.1-6.13.el6 @base 26 M
  162. eclipse-pde i686 1:3.6.1-6.13.el6 @base 93 M
  163. eclipse-platform i686 1:3.6.1-6.13.el6 @base 33 M
  164. eclipse-rcp i686 1:3.6.1-6.13.el6 @base 9.4 M
  165. geronimo-specs noarch 1.0-3.5.M2.el6 @base 174 k
  166. geronimo-specs-compat noarch 1.0-3.5.M2.el6 @base 0.0
  167. hamcrest i686 1.1-9.5.el6 @base 541 k
  168. jakarta-commons-codec i686 1.3-11.7.el6 @base 185 k
  169. jakarta-commons-httpclient i686 1:3.1-0.9.el6_5 @base 1.3 M
  170. jakarta-commons-net noarch 2.0-2.1.el6 @base 211 k
  171. jakarta-oro i686 2.0.8-6.6.el6 @base 367 k
  172. java-1.5.0-gcj i686 1.5.0.0-29.1.el6 @base 140 k
  173. java-1.6.0-openjdk i686 1:1.6.0.41-1.13.13.1.el6_8 @updates 73 M
  174. java-1.6.0-openjdk-devel i686 1:1.6.0.41-1.13.13.1.el6_8 @updates 20 M
  175. java-1.7.0-openjdk-devel i686 1:1.7.0.131-2.6.9.0.el6_8 @updates 36 M
  176. java_cup i686 1:0.10k-5.el6 @base 426 k
  177. jetty-eclipse noarch 6.1.24-2.el6 @base 857 k
  178. jsch noarch 0.1.41-2.2.el6 @base 209 k
  179. junit i686 3.8.2-6.5.el6 @base 552 k
  180. junit4 noarch 4.5-5.4.el6 @base 237 k
  181. jzlib i686 1.0.7-7.5.el6 @base 263 k
  182. log4j i686 1.2.14-6.4.el6 @base 1.4 M
  183. mx4j noarch 1:3.0.1-9.13.el6 @base 1.7 M
  184. objectweb-asm noarch 3.2-2.1.el6 @base 423 k
  185. qdox noarch 1.9.2-2.el6 @base 183 k
  186. regexp i686 1.5-4.4.el6 @base 190 k
  187. sat4j noarch 2.2.0-4.0.el6 @base 357 k
  188. sinjdoc i686 0.5-9.1.el6 @base 2.0 M
  189. slf4j noarch 1.5.8-8.el6 @base 143 k
  190. wsdl4j noarch 1.5.2-7.8.el6 @base 339 k
  191. xalan-j2 noarch 2.7.0-9.9.el6_5 @base 1.9 M
  192. xerces-j2 i686 2.7.1-12.7.el6_5 @base 6.0 M
  193. xml-commons-apis i686 1.3.04-3.6.el6 @base 1.1 M
  194. xml-commons-resolver i686 1.1-4.18.el6 @base 311 k
  195. Transaction Summary
  196. ================================================================================
  197. Remove 58 Package(s)
  198. Installed size: 344 M
  199. Is this ok [y/N]: y
  200. Downloading Packages:
  201. Running rpm_check_debug
  202. Running Transaction Test
  203. Transaction Test Succeeded
  204. Running Transaction
  205. Erasing : 1:eclipse-pde-3.6.1-6.13.el6.i686 1/58
  206. Erasing : 1:eclipse-jdt-3.6.1-6.13.el6.i686 2/58
  207. Erasing : 1:eclipse-platform-3.6.1-6.13.el6.i686 3/58
  208. Erasing : jetty-eclipse-6.1.24-2.el6.noarch 4/58
  209. Erasing : ant-javamail-1.7.1-15.el6.i686 5/58
  210. Erasing : ant-apache-bcel-1.7.1-15.el6.i686 6/58
  211. Erasing : ant-apache-bsf-1.7.1-15.el6.i686 7/58
  212. Erasing : ant-apache-log4j-1.7.1-15.el6.i686 8/58
  213. Erasing : ant-apache-oro-1.7.1-15.el6.i686 9/58
  214. Erasing : ant-apache-regexp-1.7.1-15.el6.i686 10/58
  215. Erasing : ant-apache-resolver-1.7.1-15.el6.i686 11/58
  216. Erasing : ant-commons-net-1.7.1-15.el6.i686 12/58
  217. Erasing : ant-jsch-1.7.1-15.el6.i686 13/58
  218. Erasing : ant-junit-1.7.1-15.el6.i686 14/58
  219. Erasing : ant-trax-1.7.1-15.el6.i686 15/58
  220. Erasing : jakarta-commons-net-2.0-2.1.el6.noarch 16/58
  221. Erasing : apache-jasper-5.5.28-3.el6.noarch 17/58
  222. Erasing : ant-antlr-1.7.1-15.el6.i686 18/58
  223. Erasing : ant-commons-logging-1.7.1-15.el6.i686 19/58
  224. Erasing : ant-jdepend-1.7.1-15.el6.i686 20/58
  225. Erasing : junit4-4.5-5.4.el6.noarch 21/58
  226. Erasing : hamcrest-1.1-9.5.el6.i686 22/58
  227. Erasing : qdox-1.9.2-2.el6.noarch 23/58
  228. Erasing : ant-nodeps-1.7.1-15.el6.i686 24/58
  229. Erasing : 1:ecj-3.4.2-6.el6.i686 25/58
  230. Erasing : jakarta-oro-2.0.8-6.6.el6.i686 26/58
  231. Erasing : junit-3.8.2-6.5.el6.i686 27/58
  232. Erasing : jsch-0.1.41-2.2.el6.noarch 28/58
  233. Erasing : jzlib-1.0.7-7.5.el6.i686 29/58
  234. Erasing : bsf-2.4.0-4.1.el6.noarch 30/58
  235. Erasing : xalan-j2-2.7.0-9.9.el6_5.noarch 31/58
  236. Erasing : geronimo-specs-compat-1.0-3.5.M2.el6.noarch 32/58
  237. Erasing : geronimo-specs-1.0-3.5.M2.el6.noarch 33/58
  238. Erasing : 1:mx4j-3.0.1-9.13.el6.noarch 34/58
  239. Erasing : axis-1.2.1-7.5.el6_5.noarch 35/58
  240. Erasing : classpathx-mail-1.1.1-9.4.el6.noarch 36/58
  241. Erasing : log4j-1.2.14-6.4.el6.i686 37/58
  242. Erasing : wsdl4j-1.5.2-7.8.el6.noarch 38/58
  243. Erasing : bcel-5.2-7.2.el6.i686 39/58
  244. Erasing : regexp-1.5-4.4.el6.i686 40/58
  245. Erasing : classpathx-jaf-1.0-15.4.el6.i686 41/58
  246. Erasing : 1:jakarta-commons-httpclient-3.1-0.9.el6_5.i686 42/58
  247. Erasing : slf4j-1.5.8-8.el6.noarch 43/58
  248. Erasing : ant-swing-1.7.1-15.el6.i686 44/58
  249. Erasing : ant-1.7.1-15.el6.i686 45/58
  250. Erasing : xerces-j2-2.7.1-12.7.el6_5.i686 46/58
  251. Erasing : xml-commons-resolver-1.1-4.18.el6.i686 47/58
  252. Erasing : 1:eclipse-rcp-3.6.1-6.13.el6.i686 48/58
  253. Erasing : jakarta-commons-codec-1.3-11.7.el6.i686 49/58
  254. Erasing : sat4j-2.2.0-4.0.el6.noarch 50/58
  255. Erasing : objectweb-asm-3.2-2.1.el6.noarch 51/58
  256. Erasing : xml-commons-apis-1.3.04-3.6.el6.i686 52/58
  257. Erasing : 1:java_cup-0.10k-5.el6.i686 53/58
  258. Erasing : sinjdoc-0.5-9.1.el6.i686 54/58
  259. Erasing : java-1.5.0-gcj-1.5.0.0-29.1.el6.i686 55/58
  260. Erasing : 1:java-1.7.0-openjdk-devel-1.7.0.131-2.6.9.0.el6_8.i686 56/58
  261. Erasing : 1:java-1.6.0-openjdk-devel-1.6.0.41-1.13.13.1.el6_8.i686 57/58
  262. Erasing : 1:java-1.6.0-openjdk-1.6.0.41-1.13.13.1.el6_8.i686 58/58
  263. Verifying : geronimo-specs-1.0-3.5.M2.el6.noarch 1/58
  264. Verifying : apache-jasper-5.5.28-3.el6.noarch 2/58
  265. Verifying : axis-1.2.1-7.5.el6_5.noarch 3/58
  266. Verifying : classpathx-mail-1.1.1-9.4.el6.noarch 4/58
  267. Verifying : ant-apache-resolver-1.7.1-15.el6.i686 5/58
  268. Verifying : ant-swing-1.7.1-15.el6.i686 6/58
  269. Verifying : bsf-2.4.0-4.1.el6.noarch 7/58
  270. Verifying : 1:jakarta-commons-httpclient-3.1-0.9.el6_5.i686 8/58
  271. Verifying : objectweb-asm-3.2-2.1.el6.noarch 9/58
  272. Verifying : sinjdoc-0.5-9.1.el6.i686 10/58
  273. Verifying : ant-apache-bcel-1.7.1-15.el6.i686 11/58
  274. Verifying : xml-commons-resolver-1.1-4.18.el6.i686 12/58
  275. Verifying : 1:java_cup-0.10k-5.el6.i686 13/58
  276. Verifying : junit-3.8.2-6.5.el6.i686 14/58
  277. Verifying : 1:java-1.6.0-openjdk-devel-1.6.0.41-1.13.13.1.el6_8.i686 15/58
  278. Verifying : ant-apache-oro-1.7.1-15.el6.i686 16/58
  279. Verifying : jakarta-commons-codec-1.3-11.7.el6.i686 17/58
  280. Verifying : qdox-1.9.2-2.el6.noarch 18/58
  281. Verifying : wsdl4j-1.5.2-7.8.el6.noarch 19/58
  282. Verifying : ant-1.7.1-15.el6.i686 20/58
  283. Verifying : 1:mx4j-3.0.1-9.13.el6.noarch 21/58
  284. Verifying : ant-apache-log4j-1.7.1-15.el6.i686 22/58
  285. Verifying : bcel-5.2-7.2.el6.i686 23/58
  286. Verifying : 1:eclipse-jdt-3.6.1-6.13.el6.i686 24/58
  287. Verifying : ant-apache-regexp-1.7.1-15.el6.i686 25/58
  288. Verifying : xml-commons-apis-1.3.04-3.6.el6.i686 26/58
  289. Verifying : junit4-4.5-5.4.el6.noarch 27/58
  290. Verifying : jakarta-oro-2.0.8-6.6.el6.i686 28/58
  291. Verifying : regexp-1.5-4.4.el6.i686 29/58
  292. Verifying : 1:ecj-3.4.2-6.el6.i686 30/58
  293. Verifying : xalan-j2-2.7.0-9.9.el6_5.noarch 31/58
  294. Verifying : log4j-1.2.14-6.4.el6.i686 32/58
  295. Verifying : jzlib-1.0.7-7.5.el6.i686 33/58
  296. Verifying : ant-jsch-1.7.1-15.el6.i686 34/58
  297. Verifying : 1:java-1.6.0-openjdk-1.6.0.41-1.13.13.1.el6_8.i686 35/58
  298. Verifying : java-1.5.0-gcj-1.5.0.0-29.1.el6.i686 36/58
  299. Verifying : jsch-0.1.41-2.2.el6.noarch 37/58
  300. Verifying : ant-antlr-1.7.1-15.el6.i686 38/58
  301. Verifying : ant-trax-1.7.1-15.el6.i686 39/58
  302. Verifying : ant-apache-bsf-1.7.1-15.el6.i686 40/58
  303. Verifying : ant-junit-1.7.1-15.el6.i686 41/58
  304. Verifying : hamcrest-1.1-9.5.el6.i686 42/58
  305. Verifying : geronimo-specs-compat-1.0-3.5.M2.el6.noarch 43/58
  306. Verifying : ant-commons-net-1.7.1-15.el6.i686 44/58
  307. Verifying : ant-javamail-1.7.1-15.el6.i686 45/58
  308. Verifying : ant-commons-logging-1.7.1-15.el6.i686 46/58
  309. Verifying : sat4j-2.2.0-4.0.el6.noarch 47/58
  310. Verifying : classpathx-jaf-1.0-15.4.el6.i686 48/58
  311. Verifying : ant-nodeps-1.7.1-15.el6.i686 49/58
  312. Verifying : 1:eclipse-pde-3.6.1-6.13.el6.i686 50/58
  313. Verifying : jetty-eclipse-6.1.24-2.el6.noarch 51/58
  314. Verifying : 1:java-1.7.0-openjdk-devel-1.7.0.131-2.6.9.0.el6_8.i686 52/58
  315. Verifying : 1:eclipse-platform-3.6.1-6.13.el6.i686 53/58
  316. Verifying : jakarta-commons-net-2.0-2.1.el6.noarch 54/58
  317. Verifying : ant-jdepend-1.7.1-15.el6.i686 55/58
  318. Verifying : slf4j-1.5.8-8.el6.noarch 56/58
  319. Verifying : xerces-j2-2.7.1-12.7.el6_5.i686 57/58
  320. Verifying : 1:eclipse-rcp-3.6.1-6.13.el6.i686 58/58
  321. Removed:
  322. ant.i686 0:1.7.1-15.el6
  323. ant-antlr.i686 0:1.7.1-15.el6
  324. ant-apache-bcel.i686 0:1.7.1-15.el6
  325. ant-apache-bsf.i686 0:1.7.1-15.el6
  326. ant-apache-log4j.i686 0:1.7.1-15.el6
  327. ant-apache-oro.i686 0:1.7.1-15.el6
  328. ant-apache-regexp.i686 0:1.7.1-15.el6
  329. ant-apache-resolver.i686 0:1.7.1-15.el6
  330. ant-commons-logging.i686 0:1.7.1-15.el6
  331. ant-commons-net.i686 0:1.7.1-15.el6
  332. ant-javamail.i686 0:1.7.1-15.el6
  333. ant-jdepend.i686 0:1.7.1-15.el6
  334. ant-jsch.i686 0:1.7.1-15.el6
  335. ant-junit.i686 0:1.7.1-15.el6
  336. ant-nodeps.i686 0:1.7.1-15.el6
  337. ant-swing.i686 0:1.7.1-15.el6
  338. ant-trax.i686 0:1.7.1-15.el6
  339. apache-jasper.noarch 0:5.5.28-3.el6
  340. axis.noarch 0:1.2.1-7.5.el6_5
  341. bcel.i686 0:5.2-7.2.el6
  342. bsf.noarch 0:2.4.0-4.1.el6
  343. classpathx-jaf.i686 0:1.0-15.4.el6
  344. classpathx-mail.noarch 0:1.1.1-9.4.el6
  345. ecj.i686 1:3.4.2-6.el6
  346. eclipse-jdt.i686 1:3.6.1-6.13.el6
  347. eclipse-pde.i686 1:3.6.1-6.13.el6
  348. eclipse-platform.i686 1:3.6.1-6.13.el6
  349. eclipse-rcp.i686 1:3.6.1-6.13.el6
  350. geronimo-specs.noarch 0:1.0-3.5.M2.el6
  351. geronimo-specs-compat.noarch 0:1.0-3.5.M2.el6
  352. hamcrest.i686 0:1.1-9.5.el6
  353. jakarta-commons-codec.i686 0:1.3-11.7.el6
  354. jakarta-commons-httpclient.i686 1:3.1-0.9.el6_5
  355. jakarta-commons-net.noarch 0:2.0-2.1.el6
  356. jakarta-oro.i686 0:2.0.8-6.6.el6
  357. java-1.5.0-gcj.i686 0:1.5.0.0-29.1.el6
  358. java-1.6.0-openjdk.i686 1:1.6.0.41-1.13.13.1.el6_8
  359. java-1.6.0-openjdk-devel.i686 1:1.6.0.41-1.13.13.1.el6_8
  360. java-1.7.0-openjdk-devel.i686 1:1.7.0.131-2.6.9.0.el6_8
  361. java_cup.i686 1:0.10k-5.el6
  362. jetty-eclipse.noarch 0:6.1.24-2.el6
  363. jsch.noarch 0:0.1.41-2.2.el6
  364. junit.i686 0:3.8.2-6.5.el6
  365. junit4.noarch 0:4.5-5.4.el6
  366. jzlib.i686 0:1.0.7-7.5.el6
  367. log4j.i686 0:1.2.14-6.4.el6
  368. mx4j.noarch 1:3.0.1-9.13.el6
  369. objectweb-asm.noarch 0:3.2-2.1.el6
  370. qdox.noarch 0:1.9.2-2.el6
  371. regexp.i686 0:1.5-4.4.el6
  372. sat4j.noarch 0:2.2.0-4.0.el6
  373. sinjdoc.i686 0:0.5-9.1.el6
  374. slf4j.noarch 0:1.5.8-8.el6
  375. wsdl4j.noarch 0:1.5.2-7.8.el6
  376. xalan-j2.noarch 0:2.7.0-9.9.el6_5
  377. xerces-j2.i686 0:2.7.1-12.7.el6_5
  378. xml-commons-apis.i686 0:1.3.04-3.6.el6
  379. xml-commons-resolver.i686 0:1.1-4.18.el6
  380. Complete!
  381. [root@bogon opt]#

假如安装了ecliipse-pde现在后悔了想恢复到安装前的状态

yum history list eclipse-pde

 

可以看到操作历史的安装操作ID如176

然后

 

yum history undo 176

发表评论

邮箱地址不会被公开。 必填项已用*标注